Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Panic Button 1.01 Details »»
Panic Button 1.01
Version: 1.01, by yinyang yinyang is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 3.5.0 Beta 3 Rating:
Released: 07-06-2005 Last Update: 07-10-2005 Installs: 22
Template Edits
 
No support by the author.

This is a Panic Button (Should work in IE and FF) in case a member is worried about being on your site at a particular time, for example, at work. The button is defaulted to stay glued to the lower right hand corner, but this can be changed in the CSS settings stated below.

Inspired by dsboyce8624's Boss Button problems he was having, I tried to first use a simple "floating menu" script. However, all the scripts i could find were only written for dhtml. That just doesn't work in vB (i tried many versions)... I'm not sure why, but i think it is because vB is XHTML.

I am NOT a coder. I am more of a reverse engineer when it comes to this stuff.

Anyhow, I came across the website of Dean Edwards: http://dean.edwards.name/. In his welcoming paragraph he writes, "This site exists so that I can perform tests on web tools that I?m currently building. This work is open source and is available for download. In other words, I?m always messing about with this site but you can rip-off any code you want. You can alleviate any associated guilt by making a donation."

Well, he has a pretty interesting script called "IE7" that I have no idea how it works. However, it can be found here (and a portion is renamed and included in the zip file): http://dean.edwards.name/IE7/

The rest is history. This works on my test site and I attach it herewith. Oh, since I only tinkered with this thing, I'd like to share the credit and copyright with dsboyce8624, whoever he shares his credit with, and especially Dean Edwards.

The image I use is can obviously be substituted with anything else you like. Just be sure to name your image "panicbutton.gif".

This may be copied, reproduced or published anywhere without my permission. I'll do my best to support this.

DEMO - My Test Board, please do not register.

Details
-------
2 Files to upload (1 Javascript File and 1 Panic Button image)
2 New Profile Field entries (Remember the Field ID# !!)
1 New CSS definition
1 Template Edit


Thanks for reading,
YinYang

BTW, you can move the placement of the image anywhere on the screen by editing the .panicbutton CSS .


v1.01 - Update 070805
----------
1. Panic Button may not work if you have Custom Error Pages hack installed. No clue why.


v1.01 - Update 070505
----------
1. changed out the original button with dsboyce8624's cooler button.
2. changed the placement of the script from Footer to Header
3. added a user choice "On/Off" conditional which is a template conditional and controlled via another Profile Field.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 12-26-2005, 09:12 PM
dan35's Avatar
dan35 dan35 is offline
 
Join Date: Jul 2004
Location: California
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too
Reply With Quote
  #23  
Old 12-27-2005, 08:02 PM
pross pross is offline
 
Join Date: Mar 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of our sites is especially popular with students and we've had reports of various colleges blocking our site on their network. This will come in handy lol
Reply With Quote
  #24  
Old 12-28-2005, 10:36 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant get it to work at all on vb 3.5.0. gold

am I missing something , have even changed the id userfield in the script to go in header without any joy

What is carraige return , is the image been left out on new version ??
Reply With Quote
  #25  
Old 02-21-2006, 07:22 PM
quanvo81 quanvo81 is offline
 
Join Date: Apr 2004
Location: Flushing - New York
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man, it was working good, but after I installed the Post Thank you Hack and Download Thread As PDF, this hack stop working, because it doesn't stick in the right side in the bottom of the page, when I scroll the bar, it move with the page as well.
Man, don't know what to do , because I can't figure out what is going on exactly, can someone give me a hint please?
Thanks
Reply With Quote
  #26  
Old 05-20-2006, 04:14 AM
arcadian_girl's Avatar
arcadian_girl arcadian_girl is offline
 
Join Date: Mar 2006
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way to enable this on a per usergroup basis? i wanted to give this as an option for my premium users only....
Reply With Quote
  #27  
Old 01-04-2007, 03:50 PM
lard007 lard007 is offline
 
Join Date: Dec 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this on a 3.6 board and working fine - thanks!
Reply With Quote
  #28  
Old 04-25-2007, 02:56 AM
shaynehammy shaynehammy is offline
 
Join Date: Jan 2006
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Loads of request for this. Anyone got this working in 3.6.4?
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 01:22 AM.


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.05162 seconds
  • Memory Usage 2,270KB
  • Queries Executed 25 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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