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

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

Category: End-User Options - Version: 3.7.x Rating:
Released: 06-26-2008 Last Update: 07-28-2008 Installs: 67
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).

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


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

Your own vBulletin Boss Key, is displayed in the postbit of each post, so you can quickly click yourself to the safety of legitimate url when the boss turns up, while you are at work.

I have created a custom button for this hack, you can use another button if you like, just remember to rename it panic.gif. You can have a different button for each style, as long as each one is named panic.gif.

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.


Installation Instructions

The Panic Button Installation Instructions 3.7.xxx.pdf instructions file is included in attached .zip (includes instructions and pictures)

Uninstall Instructions
  1. In the AdminCP, go to User Profile Fields -> User Profile Field Manager.
    • Delete the Panic Button - ON/OFF Switch profile field.
    • Delete the Panic Button - URL Jump profile field.
  2. Uninstall the product using the AdminCP Product Manager.


Version History

v3.7.004 - Tuesday 29th July 2008
-- Final Release
-- Changed: Now a full product
-- Changed: Instructions altered, there are no more template edits needed

v3.7.003 - Thursday 24th July 2008
-- New: Partially converted to a product

v3.7.002 - Friday 27th June 2008
-- Fixed: Link to this Support thread fixed in the instructions
-- Changed: Highlighted instructions for clearer understanding

v3.7.001 - Friday 27th June 2008
-- Initial Release


Show Your Appreciation

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.

Show Your Support

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

Comments
  #22  
Old 07-27-2008, 11:10 AM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I installed this but I can't see the panic button no where. I uploaded the image to all styles and did the template edits properly (I think).

Do you mind taking a look in my adminCP? I'll PM you the details.
Reply With Quote
  #23  
Old 07-27-2008, 08:10 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 Megatr0n View Post
Hello,

I installed this but I can't see the panic button no where. I uploaded the image to all styles and did the template edits properly (I think).

Do you mind taking a look in my adminCP? I'll PM you the details.
No, I don't mind. [s]What I will need is for you to PM me your site address, temp ftp details, a temp admin user (with admin permissions - Can Administer Settings for editing options and Can Administer Plugins for editing products and plugins, Can Administer Users for editing User Profile Fields and Can Administer Styles for editing templates) without this I can not help you. I will look when I have time, I can not guarantee that I will be able to fix it, but I will have a look at it.

You can revoke the temp details once I am done.[/s]
Reply With Quote
  #24  
Old 07-29-2008, 03:48 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.004 - Tuesday 29th July 2008
-- Changed: Now a full product
-- Changed: Instructions altered, there are no more template edits needed

The only thing that manually needs to be done now is adding 2 User Profile Fields.
Reply With Quote
  #25  
Old 07-29-2008, 09:13 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 Megatr0n View Post
Hello,

I installed this but I can't see the panic button no where. I uploaded the image to all styles and did the template edits properly (I think).

Do you mind taking a look in my adminCP? I'll PM you the details.
I have noticed you installed the latest version. Does it work for you? Or do you still need me to take a look?
Reply With Quote
  #26  
Old 07-29-2008, 09:25 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working now.

For this update do I just import the product file?
Reply With Quote
  #27  
Old 07-29-2008, 09:37 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 Megatr0n View Post
I got it working now.

For this update do I just import the product file?
Yes that is all, but you have to remember that you need to revert the template changes you made, as hack now does it all automatically, and you will end up with 2 panic buttons in each post if you do not remove the manual edit you performed with the previous version.
Reply With Quote
  #28  
Old 07-29-2008, 10:24 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone installed it for me so I'm a bit iffy with reverting the template edits. Mind helping me out?

Or can I just leave it assuming there won't be anymore significant features added to this hack?
Reply With Quote
  #29  
Old 07-29-2008, 11:22 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 Megatr0n View Post
Someone installed it for me so I'm a bit iffy with reverting the template edits. Mind helping me out?

Or can I just leave it assuming there won't be anymore significant features added to this hack?
All you need to do is edit the postbit (and/or postbit_legacy) template (in each style you have).

Find:

HTML Code:
<!-- Panic Button v3.7.003. Copyright Mosh Shigdar 2008 -->
<if condition="$show['panicbutton']"><a href="$show[panic_button_url]"><img
src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of Panic Button Hack -->
Delete it !!!

Save the template. That is it

Or you can just leave it on the previous version if it works. Just remember if you do so, and Jelsoft issues a version of vBulletin that requires you to do a template revert to add extra functionality or fix a security issue, then you will need to re-do the template edits anyway. So I would recommend updating to this version, and not stick with the previous version, but the choice is up to you.
Reply With Quote
  #30  
Old 08-03-2008, 02:30 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should we upgrade to your latest version for the product release?
Reply With Quote
  #31  
Old 08-03-2008, 08:02 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 GoTTi View Post
should we upgrade to your latest version for the product release?
I would, it will be a lot easier when upgrade vBulletin, as there will be no need to worry about doing the template edit again, if templates need to be reverted as part of the upgrade.
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 08:12 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.06000 seconds
  • Memory Usage 2,316KB
  • 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
  • (1)bbcode_html
  • (5)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
  • (4)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
  • (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
  • 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