Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Staff Contact Details »»
Staff Contact
Version: 1.00, by Mastar Mastar is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-15-2005 Last Update: 12-15-2005 Installs: 19
 
No support by the author.

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'">
Or add Usergroups by adding:
Code:
OR $bbuserinfo['usergroupid'] == '#'
(change '#' with your usergroup number)

To add more staff Cateogries add:
Code:
<tr><td class="thead">Contact Admins</td></tr>
(change 'Contact Admins' to your staff's Title)

To add more staff add:
Code:
<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:

***********************

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-18-2005, 11:13 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JsnakeJ
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.
You can change:

Code:
<tr><td class="vbmenu_option"><a href="mailto:ME@YOU.com">MASTAR</a></tr></td>
Into This:

Code:
<tr><td class="vbmenu_option"><a href="www.yoursite.com/sendmessage.php">Email Staff</a></tr></td>
so you would only have that one line in the second edit.
Reply With Quote
  #13  
Old 12-21-2005, 11:24 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks!
Reply With Quote
  #14  
Old 03-08-2006, 10:50 PM
Treak Treak is offline
 
Join Date: Oct 2005
Location: Gurnee Illinois
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet mod!
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05889 seconds
  • Memory Usage 2,238KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete