vb.org Archive

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

Mosh 01-08-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]hr[/hr]
This is an update to my 3.7.x version of this hack.

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, so your members can quickly click themselves to the safety of legitimate url if the boss turns up, while your members 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.


Limitation with this hack[hr]hr[/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]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install/Uninstall Instructions[hr]hr[/hr]
The Panic Button Installation Instructions 3.8.xxx.pdf instructions file is included in attached .zip (includes instructions and pictures)


Version History[hr]hr[/hr]
v3.8.002 - Friday 27th March 2009
-- Fixed: Uncached Template
-- Added: Uninstall Instructions

v3.8.001 - Friday 9th January 2009
-- Initial Release


Thanks[hr]hr[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]hr[/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.

DawnsWebDesigns 01-09-2009 03:54 AM

Installed & working good...thanks. :)

shlomot 01-09-2009 07:33 AM

Thanks for the cool MOD and detailed instructions.

Works flawlessly with 3.8.0 Gold

VOTED 5 out of 5

vithorius 01-09-2009 05:06 PM

Excellent work!

Is it possible to give permission to us it just for some usergroups?

digicom 01-09-2009 09:08 PM

Excellent Installed:up:

Hostboard 01-09-2009 11:17 PM

CAn't seem to get this to display in my profile. I have a Post bit selector at position #5 and have tried 6 & 7, 8 & 9 even 20 & 21 but no luck. Any ideas?

Second vote for ability based on user group permissions.

Mosh 01-10-2009 03:43 AM

Quote:

Originally Posted by Hostboard (Post 1706852)
CAn't seem to get this to display in my profile. I have a Post bit selector at position #5 and have tried 6 & 7, 8 & 9 even 20 & 21 but no luck. Any ideas?

There are two circumstances that this will happen
  • Either you have not entered the correct user profile field numbers in vBulletin Options.
  • Or, you are using a custom style that has not been updated to include the correct template hook.
Quote:

Originally Posted by Hostboard (Post 1706852)
Second vote for ability based on user group permissions.

Read the below (now added to 1st post):
Quote:

Originally Posted by 1st Post
Limitation with this hack

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.


Black Tiger 01-15-2009 12:24 PM

I will change my "mark installed" from the 3.7.x version to this one.

But the description of this one has a bug.;)
Quote:

v3.8.001 - Friday 9th June 2009
-- Initial Release
We are not that far in 2009 yet.:D:D

Mosh 01-15-2009 07:40 PM

Quote:

Originally Posted by Black Tiger (Post 1713325)
I will change my "mark installed" from the 3.7.x version to this one.

But the description of this one has a bug.;)

We are not that far in 2009 yet.:D:D

Opps, fixed up :)

Nelly 01-19-2009 08:58 PM

Great mod :) installed.


All times are GMT. The time now is 09:49 PM.

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.01276 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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