Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Staff Messenger Details »»
Staff Messenger
Version: 1.00, by Dean C Dean C is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-22-2003 Last Update: 03-22-2003 Installs: 38
 
No support by the author.

Staff Messenger
by Mist


Description:

This hack allows you to display a message to your staff at the top of every page. Therefore it is made clear to them

Features:
  • Add staff usergroups to the accepted list
  • Easily edit whether you wish the message to be displayed or not
  • HTML customizable messages


Installation:
  • Simply follow the instruction in the attachment

Credits:
  • Xenon for explaining the explode and in_array functions
  • PPN for clarifying how to use them


To Do:
  • Add ACP option to select title for the staff message

Show Your Support

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

Comments
  #52  
Old 11-09-2003, 04:42 PM
ronb ronb is offline
 
Join Date: Jun 2003
Location: fl
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack and have one question. WHere it says 'enter the usergroups id' how do i know the user group id of the mods?

One more thing. I cannot seem to get the message to come out at all.
Reply With Quote
  #53  
Old 11-10-2003, 01:15 AM
ronb ronb is offline
 
Join Date: Jun 2003
Location: fl
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got htis to work. I like it! One question though. It would be nice to be able to use the VB codes such as RED etc in the body of the message. I can't seem to get that to work. Also being able to show multiple messages and have this self scroll would really be nice.
Reply With Quote
  #54  
Old 12-01-2003, 06:33 PM
Lost Lost is offline
 
Join Date: Oct 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack but i have vbulletin 2.3.2 would it work on there becuase i couldn't find some code
Reply With Quote
  #55  
Old 12-01-2003, 06:38 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What code can't you find?
Reply With Quote
  #56  
Old 01-10-2004, 10:13 PM
Josh Combs's Avatar
Josh Combs Josh Combs is offline
 
Join Date: Oct 2002
Location: Cincinnati Ohio
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I accidently ran the query one to many times. How can I remove these from my db? Thanks

Code:
INSERT INTO settinggroup VALUES (40, 'Staff Messaging System', 40);
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,40,'Display Staff Messages','displaystaffmessages','1','Do you wish the message to be displayed to all staff to be displayed on all pages?','yesno','1');
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,40,'Staff Usergroups','staffusergroups','5,6,7','Enter the usergroup id\'s of your staff in here. (Seperate with commas WITH NO SPACES!)','','2');
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,40,'Message','themessage','','Here you put the message that you want to be displayed on all pages to your staff.<br>(You may use html as as &lt;br&gt tags are needed to go to a new line','textarea','3');
that is what I ran. Your help would be apreaciated!

Josh
Reply With Quote
  #57  
Old 03-30-2004, 09:06 AM
SmartGnome's Avatar
SmartGnome SmartGnome is offline
 
Join Date: Mar 2003
Location: Amsterdam
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mist,

Any change you will update this one to vb3 Gold ?

I hope you do :banana:
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 06:49 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.03905 seconds
  • Memory Usage 2,260KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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