View Full Version : End-User Options - Panic Button - Postbit
Please click Mark as Installed if you are using this hack.
What Does This Hack Do?Silver
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 hackSilver
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 CompatibilitySilver
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 RequestsSilver
IMPORTANT: This hack is no longer supported.
Install/Uninstall InstructionsSilver
The Panic Button Installation Instructions 4.0.x.pdf instructions file is included in attached .zip (includes instructions and pictures)
Version HistorySilver
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
ThanksSilver
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 Silver
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.
BlackJacket
11-27-2009, 12:47 AM
Thanks! Tagged for later...
SİMAR
11-27-2009, 01:36 PM
Thanks! man colaga
Brandon Sheley
11-27-2009, 02:11 PM
great idea!
Major Update: 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)
I will no longer be supporting Alpha, Beta & Release Candidates of vBulletin 4.0.0.
Any way to put another button on header or navbar so it can be used anywhere on the board???
kylek
12-26-2009, 07:56 PM
Is it me or is there no panic image in the zip?
Any way to put another button on header or navbar so it can be used anywhere on the board???
Not with this version.
Is it me or is there no panic image in the zip?
No, it does not need one, I use a pre-existing image that already exists to create the button in vBulletin 4.0.0.
chloe101
12-30-2009, 04:42 PM
Installed. Thank you! I had a little problem with getting report.gif to show at first but other than that, the installation was smooth and my users are going to love this. Nominated
chloe101
12-30-2009, 07:47 PM
HI Mosh,
After a closer look, this doesn't work correctly if you have blogs because the panic button removes the VBulletin "Blog This Post" button.
Here's with Panic Off
https://vborg.vbsupport.ru/
And now with Panic On
https://vborg.vbsupport.ru/
I really want to use this great mod. Can you look into this or point me in the right direction of where I can alter the code so it doesn't overwrite VBulletin's "Post to Blog" area?
Thanks
On edit, just noticed it it also wipe's out Abe's Post Thank You (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks) hack :(
Any help you can give me would be greatly appreciated.
I'm using VB4 Suite
Thanks
Front Range 4x4
12-30-2009, 10:59 PM
I like the idea and follwed the install closely but the panic button didn't show up...
Doctor Death
12-31-2009, 12:01 AM
I have it installed along with the POST THANK YOU mod-- using default skin for VB4 --- the Panic Button does not show up.
Any thoughts?
EDIT: Uninstalled due to conflicts.
Front Range 4x4
12-31-2009, 12:25 AM
Hey DD, it looks like a direct conflict with Abe1's TY mod and given the choice of one or the other it's a no-brainer. Hope to see this fixed to play nice with TY mod.
Doctor Death
12-31-2009, 10:32 PM
Mosh, you think you will be able to deconflict this mod with the thank you mod?
Would be a good thing, I think many folks would like to have both running.
Doc
CORSO
01-01-2010, 07:44 AM
HI Mosh,
After a closer look, this doesn't work correctly if you have blogs because the panic button removes the VBulletin "Blog This Post" button.
Here's with Panic Off
https://vborg.vbsupport.ru/
And now with Panic On
https://vborg.vbsupport.ru/
I really want to use this great mod. Can you look into this or point me in the right direction of where I can alter the code so it doesn't overwrite VBulletin's "Post to Blog" area?
Thanks
On edit, just noticed it it also wipe's out Abe's Post Thank You (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks) hack :(
Any help you can give me would be greatly appreciated.
I'm using VB4 Suite
Thanks
I too
HI Mosh,
After a closer look, this doesn't work correctly if you have blogs because the panic button removes the VBulletin "Blog This Post" button.
Here's with Panic Off
http://img96.imageshack.us/img96/4338/panicoff.jpg
And now with Panic On
http://img215.imageshack.us/img215/7604/panicon.jpg
I really want to use this great mod. Can you look into this or point me in the right direction of where I can alter the code so it doesn't overwrite VBulletin's "Post to Blog" area?
Thanks
On edit, just noticed it it also wipe's out Abe's Post Thank You (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks) hack :(
Any help you can give me would be greatly appreciated.
I'm using VB4 Suite
Thanks
I have it installed along with the POST THANK YOU mod-- using default skin for VB4 --- the Panic Button does not show up.
Any thoughts?
EDIT: Uninstalled due to conflicts.
Hey DD, it looks like a direct conflict with Abe1's TY mod and given the choice of one or the other it's a no-brainer. Hope to see this fixed to play nice with TY mod.
Mosh, you think you will be able to deconflict this mod with the thank you mod?
Would be a good thing, I think many folks would like to have both running.
Doc
I too
I will be looking into this and providing a fix as soon as I can.
Hi all,
It is with regret that after over 4 years (and thousands of hours) spent providing free support for my free hacks released here, as of today I will no longer be able to provide support for free.
This is due to being unemployed for a while, being strapped for cash and unable to rely on the virtually non-existant donations from here to help to pay the bills or put food on the table for my family. I am now providing all support for my free hacks released here over at Wolfshead Solutions (http://www.wolfshead-solutions.com) via an annual support subscription (for a small fee).
It does not mean I will be no longer release free hacks, I will, I just no longer be supporting them for free.
My free hacks have and always will remain free to download and use. And so will updates/bug fixes.
I will be releasing more free hacks, but if you require any support at all for those free hacks, you will need to purchase an annual support subscription over at Wolfshead Solutions to receive support.
I am really sorry I have to do this, but revenue generated by my programming gigs are now my only source of income, and I can no longer afford the luxury of providing free support here, when that time can be spent creating new commerial products, doing paid work requests or providing paid support to pay the bills.
Thank you for the understanding.
Regards,
Mosh.
chloe101
01-04-2010, 01:55 AM
I will be looking into this and providing a fix as soon as I can.
Thanks very much Mosh! This is one of my favorite hacks. I hope 2010 brings you prosperity.
Front Range 4x4
01-05-2010, 02:37 AM
FYI, I like this but it conflicts with the "thanks" mod as well as "selective quote"
Best wishes that 2010 is better for you than 2009.
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.
Doctor Death
01-09-2010, 01:14 PM
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!
abqtj
01-28-2010, 07:05 PM
installed and works great...thanks!
elenh
02-26-2010, 09:55 AM
How do i align total right is the postbit? After multi quote button.
TimberFloorAu
03-07-2010, 11:47 PM
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.
DeviantFlash
03-11-2010, 12:15 AM
The coloring is off on dark themes.
Where in the css would I be able to change the coloring?
Front Range 4x4
03-13-2010, 12:15 AM
Installed, thank you! My users are liking this version much more than the floating javascript version.
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}" />
</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}" /> {vb:rawphrase ms_panic}
</a><span class="seperator"> </span>
</vb:if>
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.
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 1.01 (https://vborg.vbsupport.ru/showthread.php?t=91779) for vBulletin 3.5.x by yingyang.
Panic Button 1.0.1 (https://vborg.vbsupport.ru/showthread.php?t=91852) for vBulletin 3.0.x by dsboyce8624.
Panic Button - Global is installed at Wolfshead Solutions (http://www.wolfshead-solutions.com). 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.
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/project.php?issueid=35425
Popa Andrei
03-18-2010, 02:34 AM
my panic button disapeard.
Could he conflict with this modification? https://vborg.vbsupport.ru/showthread.php?t=233135
Popa Andrei
03-18-2010, 10:28 AM
my panic button disapeard.
Could he conflict with this modification? https://vborg.vbsupport.ru/showthread.php?t=233135
problem solved.
This was crating the conflict.
https://vborg.vbsupport.ru/showthread.php?t=228673
DeviantFlash
03-22-2010, 11:53 PM
This looks great on a white forum, but stands out on my dark forum.
Does anyone know the settings to change in the CSS so I can get the coloring a little closer.
problem solved.
This was crating the conflict.
https://vborg.vbsupport.ru/showthread.php?t=228673
Use Panic Button - Global instead of this hack.... then there will be no more conflicts.
Boofo
05-15-2010, 09:48 PM
Mosh, how do we change the background color of the panic button. I have a blue skin and the background for the skin is blue but the panic button shows a gray color for the background. If I set class="report" the color is fixed but the report button icon gets messed up. Any ideas, sir?
Mosh, how do we change the background color of the panic button. I have a blue skin and the background for the skin is blue but the panic button shows a gray color for the background. If I set class="report" the color is fixed but the report button icon gets messed up. Any ideas, sir?
Bob, the button is created via CSS, so you set the class like you have done, but I would just change the icon or better yet, install my Panic Button - Global hack instead of this one as it is a lot better.
Boofo
05-17-2010, 08:32 AM
When I set a class for it, it seems to show the default class icon behind the panic button icon. I looked at the global one, but I kind of like it just in the postbit for now. Plus, you aren't supporting the global one here. Good job, though. ;)
Glad to see you are still around, my friend. ;)
fluidswork
05-17-2010, 08:47 AM
usefull ...............
docvader
05-17-2010, 06:00 PM
Boofo, when you figure it out, let us know. I have a similar problem, and I also like it in the postbit as opposed to the bottom of the page. (I hate remembering to do all these template edits, LOL)
Thunderbird8
01-02-2011, 12:08 AM
The product appears to be set to refuse installation to anything higher than 4.0.x (meaning 4.1 installations will refuse it). Are there any issues with it for 4.1.x, or is it safe to modify the XML to allow installation to that version?
Boofo
01-02-2011, 12:41 AM
It works fine on 4.1.x.
Hi all,
Free support has now been moved back to vBulletin.org.
Please see the first post for more information (and also this thread (http://www.wolfshead-solutions.com/threads/444-Our-quot-vBulletin.org-Hacks-Support-quot-subscription-has-been-scrapped) at Wolfshead Solutions).
Enjoy :)
Regards,
Mosh Shigdar - Wolfshead Solutions.
poita
01-10-2011, 11:46 AM
installed and working fine on 4.0.8
remixtay
01-15-2011, 09:16 PM
Thanks!
fluidswork
01-16-2011, 12:28 PM
Looks good ...........
TomasDR
04-23-2011, 08:13 PM
Just FYI you have maxversion="4.0.999" for the dependency in the xml. I changed it to install on 4.1.x works fine otherwise.
Just FYI you have maxversion="4.0.999" for the dependency in the xml. I changed it to install on 4.1.x works fine otherwise.
Thanks, fixed now :)
Update: v4.0.4
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting
Never thought of this! lol
titan_lyy
04-27-2011, 07:45 PM
funny mod, thanks!
Update: v4.0.5
-- Fixed: panic button image, as "report.gif" was removed from versions of vBulletin starting at v4.0.8
New Joe
01-15-2012, 12:55 PM
Installed, thank you! My users are liking this version much more than the floating javascript version.
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}" />
</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}" /> {vb:rawphrase ms_panic}
</a><span class="seperator"> </span>
</vb:if>
This doesnt' work as it gives a broken Icon on the Panic button.
1320Nation
01-16-2012, 09:37 PM
Not Working.
Install on 4.1.9 and viewing with firefox no Panic Button Displaying in thread display. Also notice button in Usercp/General Settings/Panic Button - ON/OFF Switch: the button stays enabled all the time. Clicking the button does not seem to enable/disable the mod from usercp.
Not Working.
Install on 4.1.9 and viewing with firefox no Panic Button Displaying in thread display. Also notice button in Usercp/General Settings/Panic Button - ON/OFF Switch: the button stays enabled all the time. Clicking the button does not seem to enable/disable the mod from usercp.
You have not done Step 4 of the installation instructions yet (and if you have, then have not done so correctly.... remember the fieldids shown in my instructions are examples only, your numbers may be different).
1320Nation
01-16-2012, 10:06 PM
You have not done Step 4 of the installation instructions yet (and if you have, then have not done so correctly.... remember the fieldids shown in my instructions are examples only, your numbers may be different).
Yes sir I believe I did do them correctly. My field numbers were 49 & 50. I currently have the mod disabled in hopes that I can find a solution here.
I also noticed in step1 you say "Also ensure that the Options are Off and On (not off and on), as they are case sensitive.". I noticed my options area after saving show "Required,Editable,Hidden". So either something on my end is not set right, or, I have misunderstood your instructions. Btw, your instructions on this are awesome!
1320Nation
02-26-2012, 06:39 AM
As you can see there was no response to my last post. Both images show the mod is not working on our site which is now version 4.1.10. Also not showing up on default style.
https://vborg.vbsupport.ru/external/2012/03/39.jpg
https://vborg.vbsupport.ru/external/2012/03/40.jpg
As you can see there was no response to my last post. Both images show the mod is not working on our site which is now version 4.1.10. Also not showing up on default style.
https://vborg.vbsupport.ru/external/2012/03/39.jpg
https://vborg.vbsupport.ru/external/2012/03/40.jpg
The reason it is not working is because you just copied and pasted the Options field in Step 1 from the installation manual instead of following the instruction (see the screenshot on page 2 of the installation manual).
So, instead of being:
Off (press Enter followed by) On
It should be:
Off
On
New Joe
03-02-2012, 03:04 PM
This doesnt' work as it gives a broken Icon on the Panic button.
Anything for my post here Mosh?
Anything for my post here Mosh?
Update to the latest version of this hack as it looks like you are using v4.0.003 atm.
1320Nation
03-03-2012, 04:41 AM
Thanks Mosh. Of coarse you were exactly right with your advice on why the mod wasn't working for me. Working just fine now. Thanks again!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.