MyBB Community Forums

Full Version: How to install default templates?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My old webhost generates an freaky banner by changing a template of MyBB default templates. How can I install MyBB default themes and templates?
how did your host access your template section in ACP?
simply they force this ads on the output html inside your account..
so installing the defualt theme well not help you. it'll still show the banner..
the best way is to contact your host for that
here is a sampe of my MyBB default template, at index.

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$forums}
{$boardstats}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1">
			<table width="100%">
				<tr>
					<td>
						<img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->new_posts}</span><br />
						<img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->no_new_posts}</span><br />
						<img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span>
					</td>
					<td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></span>
						{$loginform}
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
{$footer}
</body>
</noscript>
<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
<p>Hosted for free by www.koolfirehost.co.cc</p>
 <script type="text/javascript"><!--
 google_ad_client = "pub-9412582037569184";
 /* 728x90, created 5/27/08 */
 google_ad_slot = "2798819919";
 google_ad_width = 728;
 google_ad_height = 90;
 //-->
 </script>
 <script type="text/javascript"
 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script>
</div></div>
</html>

see that hosted for free by koolfirehost.co.cc, and google ad. I don't know how they can put such things there. So I need to reinstall default templates. Anyway, this thing doesn't happen to my old blog (I already changed host without ads).

And when I try to edit them and save, it says "this tempate with this name already exists"
Well you can get the default template files from the mybb download. But if your host injects it in there it won't matter anyway.

Plus I would never host with even a free host that uses .co.css I mean how can they afford servers if they can't afford a domain? So I would recommend maybe looking for an alternative host as there are a lot that don't force ads on you now a days.Wink
I already did. A post to host server, completely without ads.

Anyway, I don't find any default template downloads. Can you link it please?
The .xml file is in the install directory Wink. http://www.mybboard.net/downloads

I've never used it on an installed forum already but you can give it a try. Although it may cause a conflict I don't know.

You can always look through it for the templates you want to replace as it's all layed out in the .xml fileWink.
OK, done, I've downloaded it and found "mybb_theme.xml" file. Then after that, what should I do? Where do I need to upload it?
(2008-07-27, 05:31 AM)ivantoar Wrote: [ -> ]OK, done, I've downloaded it and found "mybb_theme.xml" file. Then after that, what should I do? Where do I need to upload it?

Admin CP -> Themes -> Import -> Browse and find that file
"A theme with the same name already exists".
That's what I get. Even when I already delete MyBB default theme! Now I cannot recover it back
Well that tries to install the master mybb theme(what's above the default theme. Which I didn't even think about Blush.
Pages: 1 2