Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
megalocker's Avatar
megalocker : Newbie +
megalocker will become famous soon enough
offline Joined: Sep 2007 Posts: 18 Thanked: 4
  #1  
Thread Starter Unread 10-06-07
Admin & Mod CP links at the top of the page

This is a super-simple template mod to add Admin CP and Mod CP links to the top right corner of the page. The links are only shown if the user has the appropriate mod or admin permissions.


To install, simply paste the following code at the bottom of your footer template.


<if condition="$show['admincplink'] || $show['modcplink']">
<div style="position:absolute;top:2px;right:8px;font-size:x-small;">
<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>
</div>
</if>
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
top, page, mod, links, admin
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021