MyBB Community Forums

Full Version: adding link to footer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running mybb 1.6.9

Site is located at www.morethantrivia.com/mybb

I created a privacy policy using page manager. I am trying to add this to the footer. I have added the following line to the footer template but I can't get it to show up: | <a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a>

What am I doing wrong?
Can you post your whole footer template?
Go to the footer template and find the mybb powered by code and post your html code just below that

E.g.
{$copy_year}
<a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a>
{myadvertisements[zone_2]} <br />
<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> | <a href="{$mybb->settings['bburl']}/misc.php?action=karmastars">{$lang->karmastars}</a> | <a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a></span>
</div>
</div>
</div>
<hr class="hidden" />
<div id="copyright">

I tried the suggestion about placing the code under the powered by mybb and it still didn't show up.
(2013-09-12, 04:35 PM)jimsho Wrote: [ -> ]{myadvertisements[zone_2]} <br />
<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> | <a href="{$mybb->settings['bburl']}/misc.php?action=karmastars">{$lang->karmastars}</a> | <a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a></span>
</div>
</div>
</div>
<hr class="hidden" />
<div id="copyright">

Oh you want it on the bottommenu. Well, that above code should work usually. Weird.

Try this:

{myadvertisements[zone_2]}			<br />
			<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> | <a href="{$mybb->settings['bburl']}/misc.php?action=karmastars">{$lang->karmastars}</a> | <a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">

Its a small difference but it could work.
Nope. No luck with that change either. It has to be something silly and I have looked at it so many times, it could probably bite me and I still wouldn't see it.
You have to remove this "Help support this site" it scares users away!
I have no idea then. Might be more tricky as it seem to. You may look for the mybb staff or a expert.
(2013-09-12, 04:35 PM)jimsho Wrote: [ -> ]<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> | <a href="{$mybb->settings['bburl']}/misc.php?action=karmastars">{$lang->karmastars}</a> | <a href="http://www.morethantrivia.com/mybb/misc.php?page=privacy">Privacy Policy</a></span>

this should work fine actually. the code is right. is it added to the footer now. because i dont even see it in the source code.

i hope you added it to the current theme you are using Big Grin
Yes, I put it in the global footer and I checked the theme that I am using and the code is there. Just not showing up on the page.

Is it possible that the server is caching this page? I just went in and removed the Karma Stars line trying to see if it was a length issue. I have checked all the footers and that line is gone, but when I look at the page, the Karma Stars is still there and the Privacy Statement still doesn't show up.

I just went into cache manager and rebuilt all the caches and now everything is showing up correctly.