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

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

Category: End-User Options - Version: 3.8.x Rating:
Released: 03-19-2010 Last Update: Never Installs: 20
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 3.8.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 blog and your own custom pages (as long as the headinclude 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 on Firefox 3.5/3.6/4/5/6/7/8, Chrome 4/5/6/7/8/9/10/11/12/13/14/15, Opera 10/11, Safari 4/5 and Internet Explorer 7/8/9.

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 3.6.0 - 3.8.8. This hack may even work for v3.5.x (but has not been tested).

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests[hr]Silver[/hr]
I will provide support for this hack in this thread only, and only for people who have clicked on Marked as Installed. I do not provide support via Private Message, Instant Messenger or Email.

Support for this hack is in its unaltered form, and does not include supporting alterations to this hack, custom code, custom template edits and integration with other third-party hacks.

I will only add features to this hack if I find the request interesting and would find it useful to have on one of my sites.

As with all of the hacks I release for free, I code for fun and code hacks the way I like them, then release them so you can benefit. If I am not interested in adding a feature, do not take offence, it is that is a feature that does not interest me personally.


Install/Uninstall Instructions[hr]Silver[/hr]
The Panic Button - Global Installation Instructions 3.8.xxx.pdf instructions file is included in attached .zip (includes instructions and pictures)


Version History[hr]Silver[/hr]
v3.8.001 - Saturday 20th March 2010
-- Released at Wolfshead Solutions on Tuesday 16th March 2010
-- Initial v3.8.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_38.zip (60.3 KB, 107 views)

Screenshots

File Type: jpg screenshot1.jpg (74.9 KB, 0 views)
File Type: jpg screenshot2.jpg (70.3 KB, 0 views)
File Type: png screenshot3.png (28.6 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 03-28-2010, 04:09 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 Loco.M View Post
no support here?
bummer
Unfortunately it was unavoidable, but more information as to why is available here - https://vborg.vbsupport.ru/showthread.php?p=1944507
Reply With Quote
  #13  
Old 03-28-2010, 10:47 AM
xlegends xlegends is offline
 
Join Date: Aug 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it works great however for the currently registered members what would be the sql query command to MASS turn on this product so I dont have to annouce it that they should all go into their profile to turn it on.
Reply With Quote
  #14  
Old 05-13-2010, 11:55 PM
cckisses's Avatar
cckisses cckisses is offline
 
Join Date: May 2010
Location: Alabama
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the most awesome idea, my community will be relieved to have it!! Many, many thanks!

XXOO,

CC
Reply With Quote
  #15  
Old 07-20-2010, 02:08 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled. I'm sure the hack works just fine would be nice to have the code that needs to be placed NOT in a PDF file format! That does nothing for anyone.
Reply With Quote
  #16  
Old 07-26-2010, 10:52 PM
slobra slobra is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!
Reply With Quote
  #17  
Old 07-29-2010, 02:32 PM
vBarsiv vBarsiv is offline
 
Join Date: Jul 2010
Location: Turkey / Manisa
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #18  
Old 01-08-2011, 01:28 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread at Wolfshead Solutions).

Enjoy

Regards,

Mosh Shigdar - Wolfshead Solutions.
Reply With Quote
  #19  
Old 04-06-2011, 11:32 AM
JasonP38's Avatar
JasonP38 JasonP38 is offline
 
Join Date: Oct 2010
Location: Newfoundland
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Every time I try to paste

<style type="text/css" id="panic_css">
#panic {
position: fixed;
width: 60px;
bottom: 5px;
right: 5px;
z-index: 999;
}
</style>
<!-- Panic Button - Global v3.8.001. Copyright 2010. Mosh Shigdar,
Wolfshead Solutions -->
<if condition="$show['panicbutton']">
<a href="$show[panic_button_url]" id="panic"><img
src="$stylevar[imgdir_misc]/panic.png" border="0" alt="Boss Key"
/></a>
</if>
<!-- end of Panic Button - Global -->


into my headinclude template I get the following message;

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3362
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


when I hit continue I then get this message
This template was changed by someone else while you were editing it. Your changes have not been saved. Please merge your changes from the lower editor into the current version in the upper editor. When you save this page, only what is in the upper editor will be saved.

and it won't let me merge my changes.
Reply With Quote
  #20  
Old 04-07-2011, 09:06 PM
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 JasonP38 View Post
Every time I try to paste

<style type="text/css" id="panic_css">
#panic {
position: fixed;
width: 60px;
bottom: 5px;
right: 5px;
z-index: 999;
}
</style>
<!-- Panic Button - Global v3.8.001. Copyright 2010. Mosh Shigdar,
Wolfshead Solutions -->
<if condition="$show['panicbutton']">
<a href="$show[panic_button_url]" id="panic"><img
src="$stylevar[imgdir_misc]/panic.png" border="0" alt="Boss Key"
/></a>
</if>
<!-- end of Panic Button - Global -->


into my headinclude template I get the following message;

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3362
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


when I hit continue I then get this message
This template was changed by someone else while you were editing it. Your changes have not been saved. Please merge your changes from the lower editor into the current version in the upper editor. When you save this page, only what is in the upper editor will be saved.

and it won't let me merge my changes.
It is probably because your site is using vBulletin 4.x.x and this is a vBulletin 3.x.x hack.
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 07:25 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.13011 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (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
  • (4)postbit_attachment
  • (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_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