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 - Postbit Details »»
Panic Button - Postbit
Version: 4.0.5, 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: 11-25-2009 Last Update: 08-12-2011 Installs: 90
Uses Plugins Auto-Templates
Re-useable Code 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 an update to my 3.8.x version of this hack, designed to work with vBulletin v4.0.x.

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 of the postbit in each post (and each PM), 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: Any Panic Button you see in a thread is tied to your profile, even if it is in someone else's postbit (to prove it, disable the Panic Button in the your UserCP)

This hack was created because of a requested here.

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.1.11.

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 Installation Instructions 4.0.x.pdf instructions file is included in attached .zip (includes instructions and pictures)


Version History[hr]Silver[/hr]
v4.0.5 - Saturday 13th August 2011
-- Fixed: panic button image, as "report.gif" was removed from versions of vBulletin starting at v4.0.8

v4.0.4 - Sunday 24th April 2011
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting

v4.0.003 - Saturday 9th January 2010
-- Fixed: 1 plugin (compatibility with "Post Thanks" hack, and stops "Blog This Post" issue)

v4.0.002 - Saturday 26th December 2009
-- Now works in vBulletin 4.0.0 Gold
-- Fixed: 1 plugin (to stop incremental display of panic buttons in the postbit)

v4.0.001 - Friday 27th November 2009
-- 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. Thanks also goes to Boofo for pointing out the removal of "report.gif" from the vBulletin installation base.


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_panic_button_40.zip (387.1 KB, 152 views)

Screenshots

File Type: png screenshot1.png (37.6 KB, 0 views)
File Type: png screenshot2.png (11.7 KB, 0 views)
File Type: png screenshot3.png (17.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
vicking74

Comments
  #22  
Old 01-09-2010, 08:43 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v4.0.003 - Saturday 9th January 2010
-- Fixed: 1 plugin (compatibility with "Post Thanks" hack, and stops "Blog This Post" issue)

This update was released on Wolfshead Solutions on Sunday 3rd January 2010 and there has been no negative feedback.
Reply With Quote
  #23  
Old 01-09-2010, 01:14 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Update: v4.0.003 - Saturday 9th January 2010
-- Fixed: 1 plugin (compatibility with "Post Thanks" hack, and stops "Blog This Post" issue)

This update was released on Wolfshead Solutions on Sunday 3rd January 2010 and there has been no negative feedback.

Really nice job.

Question: Can I force all users to use a panic url "www.cnn.com" so they dont have to add one on their profile? If so, where would I hard code that?

Thanks!
Reply With Quote
  #24  
Old 01-28-2010, 07:05 PM
abqtj abqtj is offline
 
Join Date: Nov 2008
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and works great...thanks!
Reply With Quote
  #25  
Old 02-26-2010, 09:55 AM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i align total right is the postbit? After multi quote button.
Reply With Quote
  #26  
Old 03-07-2010, 11:47 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have found:

That if a member doe not choose a PANIC BUTTON choice ( ie leaves default radio button at OFF )
Then they are prompted that they have not filled required fields.
Reply With Quote
  #27  
Old 03-11-2010, 12:15 AM
DeviantFlash DeviantFlash is offline
 
Join Date: Mar 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The coloring is off on dark themes.

Where in the css would I be able to change the coloring?
Reply With Quote
  #28  
Old 03-13-2010, 12:15 AM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thank you! My users are liking this version much more than the floating javascript version.

Quote:
Originally Posted by elenh View Post
How do i align total right is the postbit? After multi quote button.
Search in Postbit for this:

</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class='multiquote' href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}">
<img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />
&nbsp;
</a>
</vb:if>

and add this after it:

<vb:if condition="$show['panicbutton']">
<a href="{vb:raw show.panic_button_url}"><img src="{vb:stylevar imgdir_button}/report.gif" border="0" alt="{vb:rawphrase ms_bosskey}" />&nbsp;{vb:rawphrase ms_panic}
</a><span class="seperator">&nbsp;</span>
</vb:if>

Quote:
Originally Posted by DeviantFlash View Post
Where in the css would I be able to change the coloring?
I have no idea how to modify the css but what i did was use a different image that I liked better than the report gif. Just replace 'report.gif' with whatever you choose and upload the image to the buttons directory.
Reply With Quote
  #29  
Old 03-13-2010, 09:07 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I have now released my Panic Button - Global hack at Wolfshead Solutions, and is now available to download for all vBulletin.org Hacks Support subscribers.

This hack will be released here at vBulletin.org on Saturday 20th March 2010.

Panic Button - Global is a variation to this hack (which only displays the Panic Button in the postbit).

Panic Button - Global gives your members their own vBulletin Boss Key (i.e. Panic button), which when enabled 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 will always float at the bottom right, even when you scroll down the page.

Panic Button - Global has been tested on Firefox 3.6, Chrome 4.0.249.89, Internet Explorer 8.0.7600.16385, Safari 4.04 and Opera 10.50. This should work with most other browsers and versions, but is not guaranteed, as the positioning is controlled by CSS.

Panic Button - Global was created because I was inspired by the following two hacks:
Panic Button - Global is installed at Wolfshead Solutions. To see a demonstration of this hack in action, all you need to do is be registered at Wolfshead Solutionsand logged in, then click on Settings in the header, then click General Settings on the left. At the bottom are the settings to turn this hack on.

Regards,

Mosh Shigdar, Wolfshead Solutions.
Attached Images
File Type: jpg screenshot.jpg (82.9 KB, 0 views)
Reply With Quote
  #30  
Old 03-13-2010, 09:34 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 TimberFloorAu View Post
We have found:

That if a member doe not choose a PANIC BUTTON choice ( ie leaves default radio button at OFF )
Then they are prompted that they have not filled required fields.
This look like a bug in vBulletin 4.0.2's registration form (I am not sure if this issue was occurring before v4.0.2, as I have not been able to test in earlier versions).

I have been able to replicate this bug, and as it is a vBulletin bug, there is nothing I can do about it.

The registration form should automatically fill in the field with http://www.google.com or whatever url you entered in the AdminCP as default for the user profile field.

You will want to report this bug at vBulletin.com, as this will affect any custom user profile fields that are supposed to be automatically filled in when completing the registration form.

EDIT: The bug has already been reported and confirmed at vBulletin.com (it is not exactly the same, but will probably fix this also), see here for more info - http://www.vbulletin.com/forum/proje...?issueid=35425
Reply With Quote
  #31  
Old 03-18-2010, 02:34 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my panic button disapeard.
Could he conflict with this modification? https://vborg.vbsupport.ru/showthread.php?t=233135
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 01:29 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.04625 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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