Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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

Category: End-User Options - Version: 3.8.x Rating:
Released: 01-08-2009 Last Update: 03-26-2009 Installs: 114
DB Changes Auto-Templates
Re-useable Code Translations  
No support by the author.

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.

Download Now

File Type: zip ms_panic_button_38.zip (234.2 KB, 463 views)

Screenshots

File Type: png screenshot1.png (79.8 KB, 0 views)
File Type: png screenshot2.png (23.7 KB, 0 views)
File Type: png screenshot3.png (26.3 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 03-16-2009, 01:51 AM
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 Keyser S?ze View Post
am i blind cuz i still dont see it

heres a screenshot
You will have to resend the details via PM, as it was working with the test account you sent me.

EDIT: Before doing that, can you select Edit Options from your UserCP, if Panic Button - ON/OFF Switch is not already set to On then select On, then just save the settings.

That should alter the Panic Button - ON/OFF Switch profile field column in the database from having ON (wrong value) to the correct value of On.

If that does not work (which I think it will), then do the above.
Reply With Quote
  #33  
Old 03-16-2009, 11:08 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea that was the problem, sorry im retarded
Reply With Quote
  #34  
Old 03-16-2009, 08:05 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 Keyser S?ze View Post
yea that was the problem, sorry im retarded
You are not retarded at all, it took me a couple of hours before it occurred to me that was probably what the issue was. So, it was not all that obvious what the issue was.
Reply With Quote
  #35  
Old 03-27-2009, 06:59 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.8.002 - Friday 27th March 2009
-- Fixed: Uncached Template
-- Added: Uninstall Instructions
Reply With Quote
  #36  
Old 03-27-2009, 08:07 PM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Triple checked everything. It won't show up when turned on. Does this conflict with the "blog this" button of vb blog?

www.bigsoccer.com
Reply With Quote
  #37  
Old 03-28-2009, 04:53 AM
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 BigSoccer Tech. View Post
Does this conflict with the "blog this" button of vb blog?
This hack does not touch vBlog at all, just the postbit in a post, thread and private message.
Quote:
Originally Posted by BigSoccer Tech. View Post
Triple checked everything. It won't show up when turned on.
Quote:
Originally Posted by 1st Post
Hack Support - snippet

I will not be providing any support at all to people who have not clicked Mark as Installed.
Reply With Quote
  #38  
Old 03-28-2009, 05:07 PM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jeez, thought I clicked it. My bad. Clicked.

Waht's happenign is I have the right fieldIDs but it's not seeing 'em. I've checked the db and the right field id's are there, but hte template isn't getting the On/Off and URL values. I've also confirmed in the db that the values in my profile fields are On and http://www.google.com
Reply With Quote
  #39  
Old 03-29-2009, 06:05 AM
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 BigSoccer Tech. View Post
Jeez, thought I clicked it. My bad. Clicked.

Waht's happenign is I have the right fieldIDs but it's not seeing 'em. I've checked the db and the right field id's are there, but hte template isn't getting the On/Off and URL values. I've also confirmed in the db that the values in my profile fields are On and http://www.google.com
Well have a look at the attached sreenshot, you will see that the Blog this Post icon is also there, so this hack does not conflict with it.

If you have followed the instructions to the letter (most of the time when I look a clients installations they have not done so, even when they say that they did), I will need to at your installation to help you further.

[s]If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases and finally Can Administer Plugins for editing products and plugins), and ftp access details, without these I can not help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, so it is up to you what you want to do. You can revoke these after I have helped you out.

This offer will be on the table for 7 days, after which time it will be revoked, and[/s] I will not be able to help you further.

Let me know what you decide.
Attached Images
File Type: png blog-this-post.png (9.2 KB, 0 views)
Reply With Quote
  #40  
Old 03-31-2009, 03:34 AM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't give you FTP access for security reasons. If that rules this out, fine. I appreciate the offer tho.

For what it's worth, I've confirmed everything is there via phpmyadmin, even the correct capitalization for On and Off and if I edit your code to call the fieldID directly, instead of via variable, it still doesn't pull it for some reason.
Reply With Quote
  #41  
Old 03-31-2009, 05:38 AM
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 BigSoccer Tech. View Post
I can't give you FTP access for security reasons. If that rules this out, fine. I appreciate the offer tho.

For what it's worth, I've confirmed everything is there via phpmyadmin, even the correct capitalization for On and Off and if I edit your code to call the fieldID directly, instead of via variable, it still doesn't pull it for some reason.
That is totally understandable, but as this hack is not rocket science to install and there is very little that can go wrong with it (apart from not following the instructions to the letter), if it is not working and you have done everything, without looking at your installation I can not help you any further.
Reply With Quote
Reply

Thread Tools

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 07:34 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.08844 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (5)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete