Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 12-16-2005, 07:42 AM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first Install clicked
Reply With Quote
  #3  
Old 12-16-2005, 08:57 AM
portalimiz's Avatar
portalimiz portalimiz is offline
 
Join Date: Oct 2005
Location: Turkey
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

congrats
i installed
Reply With Quote
  #4  
Old 12-16-2005, 09:12 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Decent idea, thanks for sharing.
Reply With Quote
  #5  
Old 12-16-2005, 09:36 AM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good but can you use BB format for your code instead of just regular text?
Reply With Quote
  #6  
Old 12-16-2005, 10:01 AM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is There A Way I Can Add This To A Table Instead?
Reply With Quote
  #7  
Old 12-16-2005, 06:23 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By default, this hack allows staff to contact other staff.. wouldn't it be more useful to allow OTHER groups to contact staff?
Reply With Quote
  #8  
Old 12-16-2005, 07:07 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be more suitable if it used the sendmessage.php

Why? Because not everyone has an email program installed. IE: Cybercafes, etc
Reply With Quote
  #9  
Old 12-16-2005, 09:34 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
By default, this hack allows staff to contact other staff.. wouldn't it be more useful to allow OTHER groups to contact staff?
You can customize it however you want, add usergroups, change usergroups howeva you want.

I intitally was going in that direction, but changed my mind.

Quote:
Originally Posted by COBRAws
It would be more suitable if it used the sendmessage.php

Why? Because not everyone has an email program installed. IE: Cybercafes, etc
If you use hotmail, msn, yahoo, which ever you use as your default email reader/fetcher/client.

I didn't use sendmessage.php because I didn't want to go the site.
Reply With Quote
  #10  
Old 12-17-2005, 06:29 PM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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 02:10 PM.


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.04864 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (8)bbcode_code
  • (2)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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