View Full Version : Add links to forumleader bar

13 Feb 2006, 19:54
Just a simple mod I was playing around with that adds more links to the forum leaders bar. I've added a few for demonstration. However its very easy to remove links and add others if you so wish. :)

This is my 2nd mod, so please be nice. :smoke:

Go to: Admin CP > Styles & Templates > Edit Templates > Forum Home Templates > FORUMHOME

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>

Change With:
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a> -
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> - </if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> - </if><if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> - </if>
<if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>

Simple, but might be useful. If you have any questions about removing a link or adding another link, let me know. So you know, I'll post screenshots of what it looks like when logged in as Admin, a Mod, a Member, and when not logged in.


13 Feb 2006, 21:24
Nice 1...installed thank you :)

13 Feb 2006, 22:19
Glad you like it. Hope its useful to others :paranoid:

13 Feb 2006, 23:29
Nice one :)

14 Feb 2006, 08:10
I've had mods ask why they dont get the modcp link and smods do in the past, so this will solve that issue.


14 Feb 2006, 10:42
Thank you!

12 May 2006, 01:59
I saw the code to restrict the search to 1 forum. How can I restrict the search to multiple forums?