![]() |
Panic Button (bosses, coworkers)
1 Attachment(s)
Do your users post from work? Don't want their parents/boss/co-workers know they visit your site?
Here is a quick hack to install a javascript PANIC button on your site (button included). (Panic button launches another screen and hides your boards). Only takes a short modification to 2 templates.. no code changes!! Installation in under 5 minutes. 1. In your header_include template, search for: </style> and replace with: </style> <SCRIPT LANGUAGE="JavaScript"> <!--begin function popup(filename){ var centerWidth=(screen.width/2)-("+screen.width+"/2); var centerHeight=(screen.height/2)-("+screen.height+"/2); window.open(filename, "","height="+screen.height+",width="+screen.width+ ",top="+centerHeight+",left="+centerWidth+",locati on=yes,menubar=yes,resizable=yes,scrollbars=yes,st atus=yes,titlebar=yes,toolbar=yes,directories=yes" ); } // end --> </SCRIPT> 2. In your header template (wherever you want to put the button) paste this: <a href="#" onclick="popup('http://www.google.com');return false;"><img src="panic.gif" border=0></a> I have it going to GOOGLE, but you can make it launch any site-- Wall Street Journal, whatever. 3. Copy the 'panic button' graphic panic.gif up to your server in the vbulletin main directory. You can also make your own, to go with your own theme. |
1 Attachment(s)
Here is a sample screenshot on our site.
|
LOL! Good idea...
|
jebeesus....
|
haha... i would use it
|
good idea.. I'm sure many boards can use it. :)
|
This is not a hack i'm sorry to report so it will be needed to be moved to Template Modifications :)
A hack involves editing a PHP file and this only edits a template :D Good idea nevertheless ;) - miSt |
The Question is what go?s faster...close the window or push that Panic-Button?!? :p
Kars |
I would just recommend GhostZilla. :)
|
Mist is right - moving this out of Beta Hacks and into Template mods.
|
I guess I'm confuse here now. Couldn't you just make a link to whatever site you want for the panic button and put target="_blank" in it and have the same thing without the need for javascript?
|
it goes faster if you open a javascript window-- don't know why, I just tested it.
|
Mine seems to be doing the exact opposite.
|
well... my users LOOOOOOOOOOOOOOOVE it and they LOOOOOOOOOOOOOOOVe me, and I love them for loving me -- and so on, so there.
|
Whatever. ;)
|
My boss came by once right up behind me and said real loud "What'cha doin!?" acting all interested... then he said, click on that window down there. Open that up. Let's see what we pay you for....
*sigh* Gotta love em. :) Best thing to have would be a button that not only closes the window (not just pulls up another window over it...) but it also clears your history lol! For the compulsive bosses out there... |
ROFL, I like this!
|
Quote:
|
ALT + TAB ;)
|
Alt tab just moves it aside.. unless your like me and have to work with 20+ friggin windows up at all times all that will do is distract a snooping boss.
Of course, since all my windows are Access, Word, Notepad, Attachmate, etc the IE windows show up like milk in a blacklight. A button that cleared your history would rock too, as doing it manually is a pain and I hate having a history for snoops to browse through. PLUS the new window popup on command! |
Virtual Desktops, then.
|
All times are GMT. The time now is 06:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|