MyBB Community Forums

Full Version: I removed something by mistake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I was trying to edit some links and now I've noticed I removed the stats of members/posts and who's online at the bottom of the forum.

Where do I edit this?

Thanks
Open your 'index' template and confirm this variable is there:
{$boardstats}

If this is present in your index template then try reverting back your 'index_boardstats' template to original.
I can't find the index_boardstats file...
Go to ACP>Templates & Styles>Templates>YOUR THEME>Index Templates>index_boardstats
Thank you very much Smile

Just one more question, not to open a new topic.

I want to add the link to the memberlist to the bottom, where we can mark forums read, see the stats, etc. How can I do this?
Sure. Within the same template (index_boardstats), add your hyperlink right after the following code:

{$logoutlink}

To add a link, you may use the following code:

<a href="LINK">TEXT</a>
Thanks Smile

Couple more questions:

1) I removed the forum logo but the link to the homepage is still there, how can I remove also the link?

2) How can I change the text in the "advanced search" link?
1. Go to ACP>Templates & Styles>Templates>YOUR THEME>Header

Find and remove

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

2. In the same template above, find the following:

Quote:<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>

Change the bold part to the text of your choice.
I can't see that code, in the header I only have this:

Quote:<a name="top" id="top"></a>
<div id="header">
{$welcomeblock}
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
I think you might have deleted the logo and top links part. Here is how the default mybb header looks like:

	<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="{$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']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$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}
			{$pending_joinrequests}
			<navigation>
			<br />

And now remove the following from above code to remove logo
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
Pages: 1 2