Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved How do I add Admin & Mod to Footer?
Not Solved
Hello, I can't get my head round this but how can I add the Admin and Mod links to the footer of the page for the users that are only Admin and Mods?

I want to be able to put it down the bottom with this code:

		<div class="bottommenu">
					<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>

Not Solved
Bumping within 24 hours doesn't make sense because these messages are merged with the previous without changing the post time.

You mention the Administrator and the Moderator. But there can be more of those, how to choose which one must be displayed?

You can already show moderators in the index and forumdisplay pages through the AdminCP -> Configuration (settings) -> Forum Home Options.
Regards, Ad Bakker (NL)
Not Solved
The moderator and admin links are output as part of the welcome_block. If you want to take them out of that block you will need a plugin or you can use Template Conditionals Plugin to hide the links based on usergroups.
Random Fish and Sims Maniac
Help MyBBSupport help you - remember to mark your threads as solved

Not Solved
Yeah but I don't know the coding for it to be put in the footer but I know where it goes if you know what I mean because the Mod and Admin links aren't anywhere on the Forum
Not Solved
$admincplink and $modcplink are evaluated in lines 456 and 461 of glopal.php, respectively.

When you put these in de footer template like this:

			<ul class="menu bottom_links">
				<li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
				<li><a href="#top">{$lang->bottomlinks_returntop}</a></li>
				<li><a href="<archive_url>">{$lang->bottomlinks_litemode}</a></li>
				<li><a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></li>

Then the links show up in the footer. But only as text, how to get them formatted like in the header must be found out.
Regards, Ad Bakker (NL)

Forum Jump:

Users browsing this thread: 1 Guest(s)