Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Panic Button - Global Details »»
Panic Button - Global
Version: 4.0.2, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 4.x.x Rating:
Released: 03-19-2010 Last Update: 02-04-2011 Installs: 66
Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]Silver[/hr]
This is a variation to my vBulletin 4.0.x Panic Button - Postbit hack. If you have that hack installed, installing this one, will uninstall that hack.

Do your members ever view your site from work when they should not be doing so? Will they get in to trouble if they do get caught by their boss? If the answer is yes to both questions, then this hack is for you.

This hack gives your members their own vBulletin Boss Key (i.e. Panic button), which is displayed at the bottom right of every page including the CMS, blog and your own custom pages (as long as the headinclude_bottom template is being called by the custom page, which it should be), so your members can quickly click themselves to the safety of legitimate url if the boss turns up, while your members are at work.

NOTE: The Panic Button always floats at the bottom right, even when you scroll down the page.

This hack has been tested and works with Firefox 3.5+, Chrome 4+, Opera 10+, Safari 4+ and Internet Explorer 7+.

This should work with most other browsers and versions, but is not guaranteed, as the positioning is controlled by CSS.

This hack was created because I was inspired by the following two hacks:
If your members report errors when clicking on the panic button, first thing to ensure is that they used the full url (including http://) when typing in the site their panic button will go to, ie http://www.google.com (will work) and not like this - www.google.com (will not work). The second thing to check for, is that the Panic Button - URL Jump box is not empty.


Limitation with this hack[hr]Silver[/hr]
People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


vBulletin Version Compatibility[hr]Silver[/hr]
This hack can be used with vBulletin versions 4.0.0 - 4.2.1.

For the v3.8.x version of this hack, which will also work with v3.7.x and v3.6.x - check here.



Hack Support/Feature Requests[hr]Silver[/hr]
IMPORTANT: This hack is no longer supported.



Install/Uninstall Instructions[hr]Silver[/hr]
The Panic Button - Global Installation Instructions 4.0.xxx.pdf instructions file is included in attached .zip


Version History[hr]Silver[/hr]
v4.0.2 - Saturday 5th February 2011
-- Changed: Version number formatting
-- Added: AdminCP exclude pages option

v4.0.001 - Saturday 20th March 2010
-- Released at Wolfshead Solutions on Saturday 13th March 2010
-- Initial v4.0.x Release


Thanks[hr]Silver[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]Silver[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip ms_pb_global_40.zip (82.3 KB, 249 views)

Screenshots

File Type: png screenshot1.png (37.6 KB, 0 views)
File Type: jpg screenshot2.jpg (61.2 KB, 0 views)
File Type: png screenshot3.png (33.0 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 04-02-2012, 01:20 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work in vBullet 4.1.11 in fact it breaks the style chooser when the product is installed.
Reply With Quote
  #33  
Old 04-08-2012, 07:39 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottct1 View Post
Does not work in vBullet 4.1.11 in fact it breaks the style chooser when the product is installed.
Sorry I did not notice this post earlier. Can you tell me if this happens with vBulletin's default style? As I can not replicate this issue, and it works fine with vBulletin 4.1.11 for me.
Reply With Quote
  #34  
Old 07-23-2012, 05:25 PM
CubicWebs CubicWebs is offline
 
Join Date: May 2012
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice would be better if you can say set the URL to go to when your in Admincp

So if they click it, they are redirected to a private forum where the user and the admin can see it.
Reply With Quote
  #35  
Old 12-11-2012, 12:07 AM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>I've got this installed , my templates edited as instructed and the gif in the forum directory but there is still no button showing up?????</i>
Reply With Quote
  #36  
Old 12-11-2012, 06:19 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by justicechick View Post
I've got this installed , my templates edited as instructed and the gif in the forum directory but there is still no button showing up?????
You may not have done Step 3 of the install instructions correctly, as it is a .png file and goes into your /images/misc folder of each style you have.
Reply With Quote
  #37  
Old 12-11-2012, 08:22 PM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
You may not have done Step 3 of the install instructions correctly, as it is a .png file and goes into your /images/misc folder of each style you have.
I have it in public_html/images/Take5/misc
Take 5 is the style I am using.
Reply With Quote
  #38  
Old 12-12-2012, 05:25 AM
da prez da prez is offline
 
Join Date: Mar 2003
Location: texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try public_html/images/Take5/images/misc
If the tree doesn't exist, try creating it and puttng the file in there and see if it helps.
Reply With Quote
  #39  
Old 12-12-2012, 12:30 PM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have placed the image but still nothing. Nice concept but apparently over this newbs head.
Reply With Quote
  #40  
Old 12-16-2012, 12:42 AM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by da prez View Post
Try public_html/images/Take5/images/misc
If the tree doesn't exist, try creating it and puttng the file in there and see if it helps.
This is the exact link I have on my server with the panic.png in it

/public_html/images/Take5/images/misc_

Still nothing. If anyone else has any suggestions or can help let me know plz.
Reply With Quote
  #41  
Old 12-16-2012, 12:54 AM
da prez da prez is offline
 
Join Date: Mar 2003
Location: texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try : /public_html/forum/images/Take5/images/misc

Where "forum" = the name of your forum folder.

Somewhere in the tree will make it work, sometimes ya gotta search
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 03:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07978 seconds
  • Memory Usage 2,343KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete