vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   End-User Options - Panic Button (TMS compatible) (https://vborg.vbsupport.ru/showthread.php?t=178375)

Mosh 05-06-2008 10:00 PM

Panic Button (TMS compatible)
 
NOTE (27/06/2008): I am having real problems making this work, so I have scrapped this hack. I would recommend that you install my v3.7.x version of this hack - here instead (works fine with v3.6.x and v3.7.x). Thus, I have marked this hack as NOT SUPPORTED.

[s][s]This hack works with vBulletin v3.7.x. This is also a Template Modification System compatible hack.[/s]

This is an update of my v3.6.x hack available here, I have not tested this version of the hack out, but I see no reason why it would not work v3.6.x as well.

This hack will not require template modifications if you are using Andreas's Template Modification System (yes, it does work with v3.7.x), and your styles are not too heavily modified (if it shows up in all your styles then no need to worry). Instructions for making the template changes manually have been included.

Have your very own vBulletin Boss Key. A panic button is displayed in the postbit of each, and every post, so you can quickly click yourself to the safety of legitimate url if the boss comes snooping 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.

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.

Having problems?

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). Also ensure that you checked that you have entered the correct user profile field numbers in the AdminCP options.[/s]


Instructions

No instructions, as files have been removed.

Version History

v3.7.001 - Initial Release/Final Release [Wed 7th May 2008]


Support

Support is not provided, and the thread is no longer monitored.

COBRAws 05-07-2008 12:24 AM

A great idea would be adding a shortcut, so for example, if enabled and doing "Ctrl + O" sends you to the target website :D

Black Tiger 05-07-2008 12:26 AM

Whahahaha, this looks like fun. I'm going to install this, thanks!:)

Mosh 05-07-2008 12:40 AM

Typo in instructions, just re-uploaded the .zip.

For those who have already downloaded the hack:

Code:

Step 5 should start off as saying: In vBulletin Options > Panic Button.

Black Tiger 05-07-2008 12:47 AM

Ah I just wanted to report that one.:)
Is that the only change? If yes, I don't need to upgrade.

Mosh 05-07-2008 12:48 AM

Quote:

Originally Posted by Black Tiger (Post 1511117)
Ah I just wanted to report that one.:)
Is that the only change? If yes, I don't need to upgrade.

Yes, that is the only change, and no, you do not have to upgrade :)

GoTTi 05-07-2008 03:22 AM

i am getting a error when i do the template modification:

Quote:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected '{', expecting ']' in /home/SITE/public_html/forums/includes/adminfunctions_template.php(3717) : eval()'d code on line 190

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Hornstar 05-07-2008 05:19 AM

lol great idea, not going to install this one tho, but thanks for sharing it, might come in handy for a future website.

bwize 05-07-2008 09:21 PM

Quote:

Parse error: syntax error, unexpected '{', expecting ']' in /home/sites/site/public_html/includes/adminfunctions_template.php(3717) : eval()'d code on line 190
Same problem. Any clues?

xorex 05-07-2008 10:25 PM

Quote:

Parse error: syntax error, unexpected '{', expecting ']' in /includes/adminfunctions_template.php(3717) : eval()'d code on line 190
Same problem

not TMS


All times are GMT. The time now is 07:22 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.01127 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (4)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