Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Panic Button (TMS compatible) Details »»
Panic Button (TMS compatible)
Version: 3.7.001, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 05-06-2008 Last Update: 05-06-2008 Installs: 18
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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.

Show Your Support

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

Comments
  #22  
Old 05-10-2008, 03:37 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same here:

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

I was trying to save template postbit_legacy with the panic button code added
Reply With Quote
  #23  
Old 05-10-2008, 10:00 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will be looking at this some time today.
Reply With Quote
  #24  
Old 05-11-2008, 05:27 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to modify the template this way:

Code:
<if condition="$bbuserinfo[field7] == On"><a href="$bbuserinfo[field8]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
In order to get it to work. There were a bunch of { in there messing things up and some variables it wouldn't recognize. After using the above lines I was able to make the mod work.

Edit:

If you do use this instead, field7 should be whatever field you wrote down for step 2, field8 for step 3...

You know...

It works great with this instead of the other...
Reply With Quote
  #25  
Old 05-11-2008, 06:30 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 Phaedrus View Post
I had to modify the template this way:

Code:
<if condition="$bbuserinfo[field7] == On"><a href="$bbuserinfo[field8]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
In order to get it to work. There were a bunch of { in there messing things up and some variables it wouldn't recognize. After using the above lines I was able to make the mod work.

Edit:

If you do use this instead, field7 should be whatever field you wrote down for step 2, field8 for step 3...

You know...

It works great with this instead of the other...
Yes I know, I am trying to make this more automated, as I already released this as a template hack for v3.6.x quite some time ago, which works rather well, but trying to put profile field numbers in via vbulletin options is proving to be a bit tiresome (ie, I am banging my head on the wall to make it work).
Reply With Quote
  #26  
Old 05-11-2008, 07:36 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Yes I know, I am trying to make this more automated, as I already released this as a template hack for v3.6.x quite some time ago, which works rather well, but trying to put profile field numbers in via vbulletin options is proving to be a bit tiresome (ie, I am banging my head on the wall to make it work).
Yeah, I was attempting to figure out the variables, but I just gave up;
Reply With Quote
  #27  
Old 05-11-2008, 11:53 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I also edited the TMS templates and changed the code to the 3.6 version code and things are working fine now.

So I just keep this one marked installed because I'm running 3.7, I hope you find out the variables, but no hurry.
Good luck!
Reply With Quote
  #28  
Old 05-23-2008, 10:52 AM
GoodKarmaKid GoodKarmaKid is offline
 
Join Date: Nov 2005
Location: Las Vegas, NV
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the status on a fix for this, it's been about two weeks since you said you were going to look into it.

I really like this idea, several of my members would find it useful as they surf the forums at work.

Jason
Reply With Quote
  #29  
Old 05-23-2008, 12:57 PM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wairing for VB3.7 TMS version
Reply With Quote
  #30  
Old 05-25-2008, 11:35 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 GoodKarmaKid View Post
What's the status on a fix for this, it's been about two weeks since you said you were going to look into it.

I really like this idea, several of my members would find it useful as they surf the forums at work.

Jason
Quote:
Originally Posted by Vinyljunky View Post
Wairing for VB3.7 TMS version
When there is an update (which there is not), the big notice in red will disappear from the 1st post and it will be supported and not a beta anymore, and I will post that it is fixed.

So, until then I will not be posting anything to this thread from now on, until that point.

Use my v3.6.x version until I can fix this.
Reply With Quote
  #31  
Old 06-02-2008, 03:02 AM
khb1st khb1st is offline
 
Join Date: Mar 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by "Phaedrus" View Post
I had to modify the template this way:

Code:
<if condition="$bbuserinfo[field7] == On"><a href="$bbuserinfo[field8]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
In order to get it to work. There were a bunch of { in there messing things up and some variables it wouldn't recognize. After using the above lines I was able to make the mod work.

Edit:

If you do use this instead, field7 should be whatever field you wrote down for step 2, field8 for step 3...

You know...

It works great with this instead of the other...

yep, I also had the previously mentioned errors, and this edit made it all go away, well done Phaedrus

I took the liberty of changing your text file, Mosh, I hope you don't mind, and leaving this attachment so others, too, can benefit

I did alter the above line to leave the default field5 and field6 instead of 7 and 8

love this hack

installed for sure !!


btw, you know why six is afraid of seven............because 7 8 9
Reply With Quote
Reply


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 06:33 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.05492 seconds
  • Memory Usage 2,318KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (5)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
  • (2)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete