The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Panic Button 1.0.1 Details »» | |||||||||||||||||||||||||
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 defaults to staying glued to the lower right hand corner, but this can be changed in the CSS settings stated below. The button can also be turned off by each member if they don't want to use it. This is a hybrid of my Boss Button and yinyangs work to make the java right. If you have the Custom Error Pages hack installed on a Windows server, you need to edit the settings to use URLs and not files or this will conflict. 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. vB 3.5 Beta Version Demo 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 You can change the placement of the image anywhere on the screen by editing the .panicbutton CSS. dsboyce8624/yinyang Changes: 7/8/5 - Updated instructions with note about case sensitivty of user field options and conditional code. 7/12/5 - Updated URLs for vBadvanced compatibility. . Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
||||
|
||||
Quote:
|
#43
|
|||
|
|||
Quote:
File updated. |
#44
|
||||
|
||||
ok 2 things im running vb 3.0.7
1- after i finished the installation the option was set to yes but the deafult url was empty(even though i added it when making the profile field as per the instructions) 2- i fill in the url and than try the panic button .... and it tries going here http://www.wirelessolution.net/www.google.com any ideas?? |
#45
|
||||
|
||||
Quote:
make sure all the other "yes" and "no" fields are correct. |
#46
|
|||
|
|||
/me comments on how nice a hack this is
|
#47
|
|||
|
|||
Quote:
I was having a problem with this when I installed... it wouldn't show the button till I did this edit you posted to the header... it came right on. Great job and great idea... thanks for the hard work and support! excellent hack |
#48
|
|||
|
|||
okay I have a problem...
with the regular code in the install readme, the panic button will not show at all. I thought I had it fixed when I used that other code that was posted in this thread, it worked. My only problem here is that for some user on my site, they said it slowed down their loading of the site. When they would set the option to NO, it would still be there anyway. There was no way to set the panic button on and off. Can anyone fix the code for the header, and make it correct so this whole hack works? it's a great thing to add to mysite, but I don't want to put users who have slow connections or java problems out in the cold. Thanks in advance. |
#49
|
|||
|
|||
If it doesn't turn off you need to check the values and filed numbers for the yse and no option.
Remember they are case sensitive. |
#50
|
|||
|
|||
Quote:
|
#51
|
|||
|
|||
It won't shut off........i have even set the default to no..........i rechecked my header and set the yes to capitol Yes........and still no go.....
this is what is in my header: <!-- PANIC BUTTON 1.0.1 for vBulletin 3.X by YinYang/dsboyce8624--> <if condition="$bbuserinfo[field66] == Yes"> <!--[if lt IE 7]><script src="$vboptions[bburl]/clientscript/panicbutton.js" type="text/javascript"></script><![endif]--> <div class=panicbutton> <a href="$bbuserinfo[field67]"><img src="$vboptions[bburl]/images/misc/panicbutton.gif" border="0" alt="Panic Button"> </div></if><!--[if lt IE 7]><script src="clientscript/panicbutton.js" type="text/javascript"></script><![endif]--> <div class=panicbutton> <a href="http://www.google.com"><img src="images/misc/panicbutton.gif" border="0" alt="Panic Button"></a> </div> this code above works, like i said, you just can't shut the panic button on/off.......please help. I have some member's that love this and some that hate it.........so on/off would be awesome. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|