MyBB Community Forums

Full Version: footer is gone in my forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Yesterday I was trying to put some ads in my site in the footer by editing the footer template.
At the very end of the footer template I added Somewhat like this:
<br><a href="http://www.p.......com/vote/?id=.........."><img src="http://www.p.......com/t100.gif" border="0" alt="Click here to Vote!"></a>..............................next ad........................next ad...............</br> 

This code put all the image ads on the same line. For putting the ad in the next line I used this:
<br> .........ad...........</br>

I don't know if this is the right process or not, as i am a noob.

But after adding 3 of them, when i tried to added the 4th one, the editing page became blank & i cannot see or edit anything.

Then i noticed that my whole footer has dissappeared from my forum page.
No mybb copyright, no time, no ads, etc...

Can u guys tell me what's the problem & help me out?
A wise move would be to remove the bit of code that you added just before it broke and see if it all comes back. You probably haven't closed a tag or something but for now, removing the offending code will probably get the footer back.
but how can i remove it? i cannot even edit it from admin cp. the footer is completely blank.
is there any way to edit it from the actual uploaded files? if it is, then which file is it?
Oh, I see, no just revert it to default and the default footer template will come back.
Also another note, the correc t break line tag is '<br />' without the quotes. It's not a tag that requires closing.
So remove the bit at the beginning that says '<br>' and change the '</br>''s to '<br />''s.

Hope I helped,

Jlong1
thanks mattr & jlong1. As mattr said i reverted the footer template to default & then placed my ads in a proper way as suggested by jlong1.

But now i have another problem !!

my footer looked like this before :
[Image: Screenshot-footer_before.png]

but now it looks like this :
[Image: screenshot_footer_after.jpg]

i.e., no "TIME" being shown, no theme author's name, etc....

What is the way to solve this problem?
Thanks for all your help & suggestions.....
(2009-02-14, 06:31 PM)rockon Wrote: [ -> ]thanks mattr & jlong1. As mattr said i reverted the footer template to default & then placed my ads in a proper way as suggested by jlong1.

But now i have another problem !!

my footer looked like this before :
[Image: Screenshot-footer_before.png]

but now it looks like this :
[Image: screenshot_footer_after.jpg]

i.e., no "TIME" being shown, no theme author's name, etc....

What is the way to solve this problem?
Thanks for all your help & suggestions.....

Can you paste in your 'footer' template?
<br />
			<center>{$banner}</center><div class="bottommenu">
				<div class="float_right">{$lang_select}</div>
				<div>
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<div id="debug"><debugstuff></div>
				<!-- You may NOT remove, modify or hinder the visibility of the MyBB copyright at any time.
				     It must contain the links to the MyBB website and be formatted appropriately.

					 Failure to comply with the above will result in prosecution to the full extent of the law.
					 This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.<br />
				<!-- End copyright -->
				<br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
		</div>
		</div>

at the end of this i have put the ads like this :

<a.....ad...................</a>
<a............ad...............</a>
<br/>
(2009-02-14, 06:43 PM)rockon Wrote: [ -> ]
<br />
			<center>{$banner}</center><div class="bottommenu">
				<div class="float_right">{$lang_select}</div>
				<div>
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<div id="debug"><debugstuff></div>
				<!-- You may NOT remove, modify or hinder the visibility of the MyBB copyright at any time.
				     It must contain the links to the MyBB website and be formatted appropriately.

					 Failure to comply with the above will result in prosecution to the full extent of the law.
					 This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.<br />
				<!-- End copyright -->
				<br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
		</div>
		</div>

at the end of this i have put the ads like this :

<a.....ad...................</a>
<a............ad...............</a>
<br/>

That's why. I'd advise you to put the ads before:
<hr class="hidden" />

If you put them right at the end, it's not in the container.
Ah, I just realised that reverting it to default will revert it to the MyBB Default, not the Afresh default. Put this code in the footer template to get the actual default for that Afresh theme back:

<div style="overflow:hidden;">
		<div id="debug"><debugstuff></div>
	</div>
	</div>
			<div class="bottommenu">
				<div class="float_right" style="margin-top: -4px;">{$lang_select}</div>
				<div>
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a><a href="#top">{$lang->bottomlinks_returntop}</a><a href="#content">{$lang->bottomlinks_returncontent}</a><a href="<archive_url>">{$lang->bottomlinks_litemode}</a><a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
				</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<span class="float_right">{$lang->welcome_current_time}</span>
				<!-- You may NOT remove, modify or hinder the visibility of the MyBB copyright at any time.
				     It must contain the links to the MyBB website and be formatted appropriately.

					 Failure to comply with the above will result in prosecution to the full extent of the law.
					 This is free software, support us and we'll support you. -->
				<span>{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.<!-- End copyright -->
				<!-- You may not remove, modify, or hinder the visibility of the following copyright.
				     Doing so will void your right to use the theme -->
				Theme created by <a href="http://community.mybboard.net/user-1830.html"><strong>Justin S.</strong></a>
				<!-- End theme copyright -->
				</span>
			</div>
		</div> 
	<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
Pages: 1 2