View Full Version : End-User Options - Panic Button
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
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.
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.
tafreeh
06-27-2008, 02:53 AM
what does this button do :( ????????
what does this button do :( ????????
you can quickly click yourself to the safety of legitimate url when the boss turns up, while you are at work.
This is from the first post, screenshots shows the rest.
dreads
06-27-2008, 04:26 AM
thanks i sure will see it later :P
Boofo
06-27-2008, 04:38 AM
Is this different from the other version?
Is this different from the other version?
Template hack, based on v3.6.x version. Instructions are now in .pdf with visual screenshots.
l3it3r
07-05-2008, 01:51 PM
ALT-TAB? I'm sorry, I'm sure that this great for some, but I see no use for it.
enginethatcan't
07-10-2008, 10:15 PM
Enabled it through my user options - VB Message "A required field called Panic Button - URL Jump is missing or has an invalid value."
Enabled it through my user options - VB Message "A required field called Panic Button - URL Jump is missing or has an invalid value."
Is that the Panic Button - URL Jump box is empty ?
If not post a screenshot of the page with the error here.
enginethatcan't
07-11-2008, 12:08 AM
...........
enginethatcan't
07-11-2008, 12:14 AM
got it working now, I'm dumb lol
got it working now, I'm dumb lol
Thats OK, it happens to the best of us sometimes :)
Emmmmrz
07-14-2008, 02:08 AM
I laffed; won't be using it; but it tickled my funny bone.
Digital Jedi
07-14-2008, 04:02 AM
ALT-TAB? I'm sorry, I'm sure that this great for some, but I see no use for it.
Alt/Tab doesn't navigate you away from the page your on. Whatever you were looking at is still showing in the lower toolbar.
Update: v3.7.003 - Thursday 24th July 2008
-- New: Partially converted to a product
Now a lot easier to install, and no need to remember to change field numbers in each template edit.
Alfa1
07-25-2008, 10:16 PM
Please add usergroup permissions. I only want my donating members to be able to use this.
Please add usergroup permissions. I only want my donating members to be able to use this.
This is a very simple hack, and restricting User Profile Fields (any profile fields including the standard ones that come with vBulletin) is not controlled by Usergroup Permissions as far as I am aware, either everyone sees them or everyone does not (via AdminCP Options).
I will have a quick look into it and see if it is easy enough to add (i.e if it does not take more than an hour to research).
If it is not easy to do, then it will not be added to this hack, as I am not going to overly complicate this hack.
If it is easy enough, then it will possibly be added.
Alfa1
07-26-2008, 05:27 PM
The most simple way seems to me to put an conditional around the display of the panic button so that it is only shown to usergroup X. X is a variable that can be defined in the adminCP. Or even more simple: let admins define the usergroup by editing the plugin.
The most simple way seems to me to put an conditional around the display of the panic button so that it is only shown to usergroup X. X is a variable that can be defined in the adminCP. Or even more simple: let admins define the usergroup by editing the plugin.
Yes, but the User Profile Field will still be visible to all. The usergroup permissions part is very easy (most of my hacks have permissions), the seeing the profile field only if you have permission is the hard bit, what is the point is it being visible, if it does not work because you do not have permission?
Alfa1
07-27-2008, 12:25 AM
You've got a point there.
Megatr0n
07-27-2008, 11:10 AM
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.
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. 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.
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.
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?
Megatr0n
07-29-2008, 09:25 PM
I got it working now.
For this update do I just import the product file?
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.
Megatr0n
07-29-2008, 10:24 PM
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?
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:
<!-- 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.
GoTTi
08-03-2008, 02:30 PM
should we upgrade to your latest version for the product release?
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.
gag girl
09-05-2008, 11:55 AM
I did everything I was suppose to and it doesn't show up for me.
gag girl
09-05-2008, 01:56 PM
Can anyone help? I have all options there for user options, but it's just not showing up within the thread. The icon/image isn't there for the users to click on. Why not?
shotkey
09-06-2008, 12:34 AM
Installed and for me worked correctly. Thanks!
Digital Jedi
09-07-2008, 05:53 PM
Can anyone help? I have all options there for user options, but it's just not showing up within the thread. The icon/image isn't there for the users to click on. Why not?
Not without knowing what you did exactly. Or if you have heavily customized templates. When all else fails, uninstall and start over.
gag girl
09-07-2008, 10:56 PM
All I did was create the templates and upload the images. Then I uploaded the product.
The options are there for me to use the panic button (in my edit options field), but nothing shows up within the thread...
I'll uninstall and reinstall and see if that does anything
gag girl
09-07-2008, 11:11 PM
and that did nothing. the option is still showing on my User CP under edit options - everything is turned ON yet there is no panic button within the threads.
gag girl
09-07-2008, 11:31 PM
ARGH! I'm frustrated. It's a tease to my members, LOL! They have discovered it in the userCP area, but wonder why they can't use it yet.
gag girl
09-08-2008, 10:05 AM
Well slap me nakkid! I figured it out. I went back and looked at the older version of this and saw that that one needed a postbit add on. I gave it a shot and added that code and there it is!!
realmr
09-08-2008, 11:44 AM
what does this hack do ? What does this panic button serve for ??? Is it similar to post thanks ? raising post count ?
gag girl
09-08-2008, 01:25 PM
It gives your members a button within the posts to click on - it redirects them to whatever website they have input in their options.
Digital Jedi
09-08-2008, 10:35 PM
what does this hack do ? What does this panic button serve for ??? Is it similar to post thanks ? raising post count ?
It's described in the first post.
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.
PossumX
09-08-2008, 11:16 PM
Dang nifty mod. Thanks.
PossumX clicks >>Installed<<
GoTTi
09-09-2008, 07:26 AM
is this mod suppose to automatically have google.com in the options area of a users profile? reason im asking is when a user updates their options, other options, they get a error saying something like the panic link isnt set, and there isnt a address in that field automatically. i thought there was suppose to be. lemme know, probably causing confusion amongst alot of my members, i just found out about this.
Infopro
09-09-2008, 08:56 AM
Edit the settings where you set it up and check the "Field Required" option. Yes or no.
is this mod suppose to automatically have google.com in the options area of a users profile? reason im asking is when a user updates their options, other options, they get a error saying something like the panic link isnt set, and there isnt a address in that field automatically. i thought there was suppose to be. lemme know, probably causing confusion amongst alot of my members, i just found out about this.
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.
It seems that existing members do not get this automatically, I think I know why (but am not 100% sure yet), which is why the above quote is in the first post. But saying that, as this should be disabled, when they first turn it on, they can fill the field when they do so.
This does not happen when members sign up after this is installed, just existing members.
Once I find a solution for this (the easiest fix I can think of, off the top of my head, is to run a manual query from the admincp), it will be incorporated into the next version of this hack :)
titodj
09-25-2008, 06:51 PM
Nice thanks !!! is there a way to heve it on by default ?
Nice thanks !!! is there a way to heve it on by default ?
Yes, change the Options when setting up the Panic Button - ON/OFF Switch User Profile Field from:
Off
On
To:
On
Off
Bulldog Stang
10-02-2008, 05:36 AM
I have installed this as well and it is not showing up ... I followed the instructions to a T .. is there anything else that I need to do ????
I also checked the posbit and posbit_legacy and it was not there ... I edited it and added the script from the previous version ...
Still not working ...
Bulldog Stang
10-02-2008, 05:55 AM
DOH!!! Nevermind .. I had the wrong field # entered ... It works now ..
Thanks ..
SciExposed
10-11-2008, 02:26 AM
i installed it as per instructions and the button does not show up
what did i do wrong?
i installed it as per instructions and the button does not show up
what did i do wrong?
You did steps 1 (if more than 1 style part) and 5 (you input the correct ids) correctly?
Did you set you panic button url in your UserCP?
As following the instructions exactly to the letter, will show the panic button.
SciExposed
10-12-2008, 04:02 AM
You did steps 1 (if more than 1 style part) and 5 (you input the correct ids) correctly?
Did you set you panic button url in your UserCP?
As following the instructions exactly to the letter, will show the panic button.
i have done these things
the on/off options show up in the user cp but the panic button does not
i have done these things
the on/off options show up in the user cp but the panic button does not
In that case, I will need to look at your installation to see what is going wrong.
What I will need to do so, 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 definitely have a look at it.
You can revoke the temp details once I am done.
If you do not want me to look at your installation, then there is nothing I can do to help further.
richTV
10-20-2008, 05:42 AM
very nice. :)
i'd also like to say that i'm impressed at the .pdf instruction file....very thorough!
thank you for the add-on.
very nice. :)
i'd also like to say that i'm impressed at the .pdf instruction file....very thorough!
thank you for the add-on.
Thank you for the compliment, I am glad you like the hack :)
richTV
10-20-2008, 07:18 PM
Mosh, out of curiousity, is there a way to make all of my members use google?
i know current members would have to enter the url into the box and google is a default for newly registering members but was wondering if google could be made as mandatory.
my site uses Dismounted's vbAnonymizer because we want to prevent the referrer information from being sent so my only worry is if someone entered a certain url which we wouldn't want.
cheers. :)
Mosh, out of curiousity, is there a way to make all of my members use google?
i know current members would have to enter the url into the box and google is a default for newly registering members but was wondering if google could be made as mandatory.
my site uses Dismounted's vbAnonymizer because we want to prevent the referrer information from being sent so my only worry is if someone entered a certain url which we wouldn't want.
cheers. :)
Yes, it is possible, but not the way this hack is at the moment, you would have to do some alterations.
You would probably have to alter Step 3, setting Field Required to Yes, Always and Field Editable by User to No
You would also probably have to run some form of SQL query to set everyone's Panic Button - URL Jump to the url you want them to use.
So, the only thing they would have control over is turning the panic button on and off.
I have not tested this, and am not really interested in pursuing this, but that is probably the way I would do it, and so the above is just general advice.
richTV
10-21-2008, 03:05 AM
ok, tnx again. :)
richTV
10-23-2008, 10:51 PM
hello Mosh.
i couldn't find the answer in the paragraph just above the installation instructions section 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.
my question is in whether or not the actual address of http://www.google.com is supposed to show in the address bar of my browser after clicking the Panic button
when i clicked my panic button, it indeed takes me to google but my site url still shows in the address box rather than http://www.google.com
i'm using IE7 if that makes a difference.
cheers. :)
hello Mosh.
i couldn't find the answer in the paragraph just above the installation instructions section here.
my question is in whether or not the actual address of http://www.google.com is supposed to show in the address bar of my browser after clicking the Panic button
when i clicked my panic button, it indeed takes me to google but my site url still shows in the address box rather than http://www.google.com
i'm using IE7 if that makes a difference.
cheers. :)
I don't know why that is happening to you.
I have just testing the panic button in Firefox, Opera, Chrome and IE7 and can not replicate this, sorry.
richTV
10-24-2008, 03:24 AM
i'll try again in a couple days as we are currently upgrading our server.
i'll also try reinstalling it.
if i still see the same thing after reinstalling, i could create an account for you if u wanted to see first hand, depending on your freetime of course. :)
edytwinky
12-29-2008, 04:08 PM
Is there a way to make this allowable to only certain usergroups?
Is there a way to make this allowable to only certain usergroups?
Your answer is in post #17 and post #19.
E-IndiaWeb
01-08-2009, 08:50 AM
Can you provide a sql query so that all existing member get it activated & set google as default panic url
Haltech
01-08-2009, 10:25 PM
That would be nice to have a SQL query do this, esp for those of us with larger forums and more users.
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).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.