vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Panic Button - Postbit (https://vborg.vbsupport.ru/showthread.php?t=228954)

Mosh 11-25-2009 10:00 PM

Panic Button - Postbit
 
1 Attachment(s)
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.

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!

Mosh 12-26-2009 06:46 AM

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.

fahl 12-26-2009 01:16 PM

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?

Mosh 12-26-2009 08:09 PM

Quote:

Originally Posted by fahl (Post 1938584)
Any way to put another button on header or navbar so it can be used anywhere on the board???

Not with this version.

Mosh 12-26-2009 08:11 PM

Quote:

Originally Posted by kylek (Post 1938885)
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 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

Quote:

Originally Posted by chloe101 (Post 1942816)
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 hack :(

Any help you can give me would be greatly appreciated.

I'm using VB4 Suite

Thanks


I too

Mosh 01-02-2010 12:24 AM

Quote:

Originally Posted by chloe101 (Post 1942816)
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 hack :(

Any help you can give me would be greatly appreciated.

I'm using VB4 Suite

Thanks

Quote:

Originally Posted by Doctor Death (Post 1943004)
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.

Quote:

Originally Posted by Front Range 4x4 (Post 1943024)
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.

Quote:

Originally Posted by Doctor Death (Post 1943645)
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

Quote:

Originally Posted by CORSO (Post 1943817)
I too

I will be looking into this and providing a fix as soon as I can.

Mosh 01-02-2010 12:25 AM

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

Quote:

Originally Posted by Mosh (Post 1944475)
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.

Mosh 01-09-2010 08:43 AM

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

Quote:

Originally Posted by Mosh (Post 1950984)
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.

Quote:

Originally Posted by elenh (Post 1991879)
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 (Post 2001244)
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.

Mosh 03-13-2010 09:07 AM

1 Attachment(s)
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.

Mosh 03-13-2010 09:34 AM

Quote:

Originally Posted by TimberFloorAu (Post 1999501)
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

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

Quote:

Originally Posted by stormzone (Post 2005810)
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.

Mosh 03-23-2010 02:07 AM

Quote:

Originally Posted by stormzone (Post 2005882)
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 05-17-2010 08:05 AM

Quote:

Originally Posted by Boofo (Post 2037599)
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.


All times are GMT. The time now is 02:53 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.01629 seconds
  • Memory Usage 1,855KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete