Quantcast VBulletin moderator menu mod - digitalFAQ Forum
  #1  
08-12-2009, 01:36 AM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,364
Thanked 593 Times in 440 Posts
This mod allows you to add in the navbar a dropdown menu with modcp links. This menu is (of course) only available for admins and moderators. It appears only for moderators who have mod link in the footer.

vbmodmenu.png

In the template navbar (or header if you've a customized style with navbar in the header template)

Find:

PHP Code:
<if condition="$show['member']">
<
td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if> 
Add above:

PHP Code:
<if condition="$show['modcplink']"><td id="mod" class="vbmenu_control"><a href="$modcpdir/index.php" accesskey="4" rel="nofollow">Mod</a> <script type="text/javascript"vbmenu_register("mod"); </script></td></if> 
In the template Navbar (or Header),

Find:

PHP Code:
<!-- / PAGENAV POPUP --> 
Add below:

PHP Code:
<!-- / Mod menu -->
<if 
condition="$show['modcplink']">
    <
div class="vbmenu_popup" id="mod_menu" style="display:none"
      <
table cellpadding="4" cellspacing="1" border="0">
<
tr
<
td class="thead">Announcements</td>
</
tr
<
tr
          <
td class="vbmenu_option"><a href="$modcpdir/announcement.php?do=add">Post New Announcement</a></td>
</
tr>
<
tr
          <
td class="thead">Moderation</td>
        </
tr>
        <
tr
<
td class="vbmenu_option"><a href="$modcpdir/moderate.php?do=posts">Moderate Threads</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/moderate.php?do=posts#posts">Moderate Posts</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/moderate.php?do=attachments">Moderate Attachments</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/moderate.php?do=events">Moderate Events</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/moderate.php?do=messages">Moderate Visitor Messages</a></td>
        </
tr>
<
tr
          <
td class="thead">Users</td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/user.php?do=find">Search for Users</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/banning.php?do=banuser">Ban Users</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/banning.php?do=modify">View Banned Users</a></td>
        </
tr>
        <
tr
          <
td class="vbmenu_option"><a href="$modcpdir/user.php?do=doips">Search IP Addresses</a></td>
        </
tr>
      </
table>
    </
div></if>
    <!-- / 
Mod menu --> 
found from http://www.vbulletin-fans.com/showthread.php?t=31002
Great mod!



- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Quality vBulletin themes for only $4 admin Web Design + Site Planning 1 07-25-2013 07:06 PM
Useful vBulletin Mods (Plugins and Products) admin Website and Server Troubleshooting 2 11-20-2009 08:02 PM
Snitz to vBulletin smiley conversions admin Website and Server Troubleshooting 0 06-05-2009 09:25 PM
VBulletin web streaming admin Website and Server Troubleshooting 3 04-25-2009 11:00 PM

Thread Tools



 
All times are GMT -5. The time now is 07:02 AM