Mastar
12-15-2005, 10:00 PM
This is my first mod so please be gentle!
Tested on Vb3.50 & Vb3.52
Install Time 2 mins
__________________
STAFF CONTACT For VB3.5.x
__________________
DESC: This email you staff by just a click of the dropdown menu in the forum's navbar.
Viewable be usergroups you select.
1 Template Edit: Navbar
You can change usergroups by editing: Change the # with yours
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'">
Or add Usergroups by adding:
OR $bbuserinfo['usergroupid'] == '#'
(change '#' with your usergroup number)
To add more staff Cateogries add:
<tr><td class="thead">Contact Admins</td></tr>
(change 'Contact Admins' to your staff's Title)
To add more staff add:
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
(change 'ME@YOU' to your staff's email address)
==================
+INSTALLATION +
==================
***********************
In NavBar Template
FIND:
***********************
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
***********************
ADD UNDER
***********************
<!-- Admins Menu -->
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'">
<td id="admins" class="vbmenu_control"><a href="#admins">STAFF</a> <script type="text/javascript"> vbmenu_register("admins"); </script></td> </if>
<!-- Admins Menu -->
***********************
Still In NavBar Template
FIND:
***********************
<!-- NAVBAR POPUP MENUS -->
***********************
ADD UNDER
***********************
<!-- Admins Menu -->
<div class="vbmenu_popup" id="admins_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Contact Admins</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="thead">Contact Super Mods</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="thead">Contact Mods</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
</table>
</if>
</div>
<!-- Admins Menu -->
************************************************** ************************************************** ***************
That's It!
!CLICK INSTALL!
=============
+ MASTER +
=============
Tested on Vb3.50 & Vb3.52
Install Time 2 mins
__________________
STAFF CONTACT For VB3.5.x
__________________
DESC: This email you staff by just a click of the dropdown menu in the forum's navbar.
Viewable be usergroups you select.
1 Template Edit: Navbar
You can change usergroups by editing: Change the # with yours
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'">
Or add Usergroups by adding:
OR $bbuserinfo['usergroupid'] == '#'
(change '#' with your usergroup number)
To add more staff Cateogries add:
<tr><td class="thead">Contact Admins</td></tr>
(change 'Contact Admins' to your staff's Title)
To add more staff add:
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
(change 'ME@YOU' to your staff's email address)
==================
+INSTALLATION +
==================
***********************
In NavBar Template
FIND:
***********************
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
***********************
ADD UNDER
***********************
<!-- Admins Menu -->
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'">
<td id="admins" class="vbmenu_control"><a href="#admins">STAFF</a> <script type="text/javascript"> vbmenu_register("admins"); </script></td> </if>
<!-- Admins Menu -->
***********************
Still In NavBar Template
FIND:
***********************
<!-- NAVBAR POPUP MENUS -->
***********************
ADD UNDER
***********************
<!-- Admins Menu -->
<div class="vbmenu_popup" id="admins_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Contact Admins</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="thead">Contact Super Mods</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
<tr><td class="thead">Contact Mods</td></tr>
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
</table>
</if>
</div>
<!-- Admins Menu -->
************************************************** ************************************************** ***************
That's It!
!CLICK INSTALL!
=============
+ MASTER +
=============