The Arcive of vBulletin Modifications Site. |
|
Staff Contact Details »»
|
|||||||||||||||||||||||||
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 Code:
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'"> Code:
OR $bbuserinfo['usergroupid'] == '#' To add more staff Cateogries add: Code:
<tr><td class="thead">Contact Admins</td></tr> To add more staff add: Code:
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td> ================== +INSTALLATION + ================== *********************** In NavBar Template FIND: *********************** Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
ADD UNDER *********************** Code:
<!-- 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: *********************** Code:
<!-- NAVBAR POPUP MENUS --> ADD UNDER *********************** Code:
<!-- 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 + ============= Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
The first Install clicked
|
|
#3
|
||||
|
||||
|
congrats
i installed |
|
#4
|
||||
|
||||
|
Decent idea, thanks for sharing.
|
|
#5
|
||||
|
||||
|
Looks good but can you use BB format for your code instead of just regular text?
|
|
#6
|
|||
|
|||
|
Is There A Way I Can Add This To A Table Instead?
|
|
#7
|
||||
|
||||
|
By default, this hack allows staff to contact other staff.. wouldn't it be more useful to allow OTHER groups to contact staff?
|
|
#8
|
||||
|
||||
|
It would be more suitable if it used the sendmessage.php
Why? Because not everyone has an email program installed. IE: Cybercafes, etc |
|
#9
|
||||
|
||||
|
Quote:
I intitally was going in that direction, but changed my mind. Quote:
I didn't use sendmessage.php because I didn't want to go the site. |
|
#10
|
|||
|
|||
|
Its not as 'safe' to give out their emails like that as it would be to just go through the sendmessage.php page.
Good idea but I don't think my forum needs it.
|
![]() |
|
|