MyBB Community Forums

Full Version: i cannot see my header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Friends i was trying to edit header to put adsence , that time i dont know what i did wrong that i cannot see the header portion please have a look at this link http://kandivali.co.cc/kandivaliforum . Please help me what to do to bring to normal look.
After trying things i can see my ads on top but i want to bring normal look of my forum first then will add google ads.
Home » Template Sets » Default Templates» Edit Template: header

try to replace with this

	<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</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}
			<navigation>
			<br />
ok i am trying but there seems to be some server problem , it is coming request time out , be there i will mesg u again after some time .
i cheked with what u gave and nothing is coming ... under header option only header stuff is missing

If u dont mind i can give u user id and pass , u can make chages for me...

Waiting for reply.
hello in the option where we need to select global or default , i selected default so it was not coming and i changed to golbal then it came all perfect.

Thanks for the code... can u tell me about how to place google ads now.. i want in top below header and at bottom and in posts
what plugin do you use?
only 2 which came as a default... i tried to add revenue somthing like that then some error came so i removed. but during the header problem i pasted my adsence code in the blank code area and i was able to see my 728 x 90 ad bannr in place of header.
(2009-02-11, 08:26 PM)vaibhavmeswani Wrote: [ -> ]ok i am trying but there seems to be some server problem , it is coming request time out , be there i will mesg u again after some time .
i cheked with what u gave and nothing is coming ... under header option only header stuff is missing

If u dont mind i can give u user id and pass , u can make chages for me...

Waiting for reply.
hello in the option where we need to select global or default , i selected default so it was not coming and i changed to golbal then it came all perfect.

Thanks for the code... can u tell me about how to place google ads now.. i want in top below header and at bottom and in posts

Hey,

Here's some instructions for you.

Go to: Admin CP-> Templates & Style-> Templates-> (Your template here).

For below menubar:
Go to: 'Header Templates-> header'.

Below:
{$unreadreports}
and before;
<navigation>
Put your google adsense code and click save.

For at the bottom before the contact bar:
Go to: 'Footer Templates-> footer'.

After:
<br />
and before;
<div class="bottommenu">
Put your google adsense code and click save.

And finally, for the post:

Go to: 'Postbit Templates-> postbit'.

Find (near bottom):
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>

And add:
<hr />
Press enter then put your google adsense code.
Click save.

Hope I helped,

Jlong1
hey the code u gave me for header after that i can c all things normal but in header option there is no header option which i use to see before.
(2009-02-11, 09:00 PM)vaibhavmeswani Wrote: [ -> ]hey the code u gave me for header after that i can c all things normal but in header option there is no header option which i use to see before.

Can you take a screenshot please? I think you may have accidently deleted the Header templates...
ya i deleted at the time of editing , so what to do now ??
Pages: 1 2 3 4 5