MyBB Community Forums

Full Version: I cant edit Templates.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
^ please provide asked details !!
Version 1.6
o.O I'm really not sure how you don't understand what I was asking for.

[Image: screenshot20111219at191.png]

In red is where the name of the template is. This is what I was asking for. In the blue box is the template set, which in your case was BLight Dark Templates. But the name of the template here is index.

The index template does not have any code that would cause this error though so unless you've added something non-default to it I'm not sure what you've done. Can you post the current contents of the template?? That's what's in the big box.
Sorry, I'm editing Header, here is the full code:

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
	<center>		
<div class="logo"><a href="{$->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
</center>
<div class="menu">
				<ul>


<center>

<li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/toplinks/star.gif" alt="" title="" />Index</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/donate.php"><img src="{$theme['imgdir']}/toplinks/dollar.png" alt="" title="" />Donate</a></li>
				
</center>


</ul>
			</div>



			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}{$reportedreps}
			{$pending_joinrequests}
			<navigation>
			{$board_messages}
			<br />{myadvertisements[zone_1]}

Right, OK... change {myadvertisements[zone_1]} to {$myadvertisements['zone_1']}

{myadvertisements[zone_1]} isn't valid PHP.
Ok, i'll check if it works.

EDIT:: I tried editing it, and came up with the first error picture (1st post)
^ would you like to provide temporary admin panel access to check & fix ? if so PM me ..
Yeh, I need help fast.
I tried PMing you, didn't let me

Yes please, I do want the admin panel due to the problem that I NEED to edit it.

Please PM me.

Here is the full code of template im editing:

<!-- begin wrapper -->
<div id="wrapper">

	<!-- begin logo -->
	<div id="logo">
		
<a href="{$->settings['bburl']}/"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" class="logo" /></a>
		<a name="top" id="top"></a>
		<div id="panel">
			<div id="panelcontent">{$welcomeblock}</div>
		</div>

	</div>
	<!-- end logo -->


<br/>
        <div class="clear"></div>
	<!-- begin navbar -->
	<div id="navbar">
		<ul id="nav">
			<li><a href="{$->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/toplinks/star.gif" alt="" title="" />Index</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/donate.php"><img src="{$theme['imgdir']}/toplinks/dollar.png" alt="" title="" />Donate</a></li>
<li><a href="http://.site90.com/misc.php?page=shop"><img src="{$theme['imgdir']}/toplinks/trophy.png" alt="" title="" />Shop</a></li>
				
		</ul>
	</div>
	<!-- end navbar -->

	<!-- begin content wrap -->
	<div id="contentwrap">
	<div id="container">
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
                        {myadvertisements['zone_1']}
			<navigation>
			<br />

^ hmm., do not know why you can't PM me !! I sent a test PM. you can reply that ..
{ if you had sent PM to a support team person then that might be rejected }
Now I can, and replied.
Pages: 1 2 3