![]() |
vbPopup for vB3
What does this hack do?
This hack will display a dhtml popup box with a message for unregistered users. You can adjust the length of time that the popup box appears and the chance that the box will appear. A dhtml popup is not a new window. It stays in the current window but acts like a popup box, it will disappear after a set amount of time and is not affected by popup stoppers. The popup box appears for all unregistered users and can be re-designed to your liking. Hack Details Version: 1.1 Installation Overview Files to edit: 1 Files to upload: 1 Templates to edit: 2 Install time: 2 minutes I would personally like to hand all credit to the original author of this hack in vB 2.x, TECK. Again, this hack is inspired by a dhtml script located here. Check out the original thread here. Updates 2-17-04 Converted the popup box code into a template. PLEASE CLICK INSTALL IF YOU LIKE THIS HACK! |
This was a great hack!! Great Job.. I just installed it on my forum and I love it.
|
awesome hack, I just did as well
|
a screenshot would be nice :D
|
Hope you don't mind mello mike but someone asked for a screen and I was too busy to make one so I am just linking to your board.
Quote:
|
Quote:
http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm This is basically how it will function, though the box is smaller and only appears for unregistered users. |
Oh it's kool Dark Shogun! :-)
But I do have a question... How can I use this for all members? I want to make a popup that I can use to advertise different things. |
Quote:
If you want this popup to show up for everybody, simply change this: Code:
<if condition="$show['guest']"><script type="text/javascript" src="clientscript/vbulletin_vbpopup.js"></script></if> Code:
<script type="text/javascript" src="clientscript/vbulletin_vbpopup.js"></script> |
i don't see why is this so awansome ! It's a POPUP ! USERS HATE POPUP's...
|
Quote:
|
I like to like it!
|
Quote:
|
nice hack! *installs* works fine
|
Installed and works nicely. 2 Questions.
1- How can I put the box in the middle of the page instead of at the top. I tried to play with the settings in 'FORUMHOME' top:0; left:0; } but it didn't work? Right now I added some <p> before the table to push it down. 2- Is it possible to ad a countdown like "This window will close in 10 - 9 -8 etc seconds" ? Thanks for the great hack! If anyone is interested in doing a 10 sec. countdown I made a small animated gif you can use for the countdown. and change the template to something like <font class="smallfont">(This window will close automaticly in <img src="images/countdown.gif"> seconds)</font> |
Quote:
1. If you absolutely wanted it in the middle of the page there are CSS tutorials out there that allow for this. Though using <br> or <p> should work fine. 2. I have tried this and it did not turn out well in conjunction with the original javascript. So its up to you on this one. Thanks for the questions. |
Quote:
|
Quote:
The animated gif works perfectly. It hits "0" and then closes. If you change the timer, however, it obviously will not work :-) Thanks for a great hack |
Quote:
The 0 is the thumbnail. It counts from 10 - 0 then stops so if you reload the page and scrool down you will see it counting down. ;) |
Installed...
However, if I try to change the chance of it popping up, the window appears in the upper left hand corner, and never closes... I tried values 1-10, and 1 was the only one that worked. |
And how can I make the window semi-transparent?
|
hy guys,
i need this script, but it sholud open on each site, because users should also see this, if they enter the board direct via a mailnotification or a profile ore something else. How cann i arrange to appeare this popup on every site, but only once per browsersession to everyone??? Please help me!!! |
I wouldlike to use this as a "technician is now online" when one of us are on the site. And to turn if off when none of use techs are on line. Id there a way to just turn the pop up on or off?
Gordon |
this would be cool to use after registration is complete, reminding them to read the rules. :)
|
Could you set the variables to maybe do this for different usergroups rather than just unregistered users?
I mean that would be easy right? |
Quote:
I would think if you change $show['guest'] to $bbuserinfo[usergroupid]==X where x is your usergroup. I think that would work. I'm not sure though. |
nice mod ;)
[high]* SaN-DeeP installed it ;0[/high] |
I love this hack, thanks LordJMann
|
Exelent work dude, thanks.
|
Quote:
|
Great Hack!
Thanks! I've been looking for something like this. Too many guests but not enough members on my site... Works great! Check it out on my site if you like www.speakoutonline.net |
Quote:
|
Any way to easily make this just pop up in a certain forum?
|
Great hack. *Clicks install. :)
|
How can you make this appear on every displayed page until they register? I tried adding the header info and </body> info on the Forum Display and Show Threads templates but it doesn't appear. I even tried changing the filepath to the full file path and still no luck.
I need this on all the pages since the majority of my hits come from search engines, so they typically don't see the first page from the start. This has been very productive for getting people to register and participate on my site since adding it just to the main page, so I could only imagine what it would do if it were on all pages! |
bump ^^^
sorry to do this but.... I think everyone missed this ----edit---- ++++ just figured out how to do this myself.... just goes to show you people think better when slightly drunk :p I'll post the modifications you have to do here in 5 mins ----edit #2---- okay I attached the modified instructions txt file hope this help anyone who was having the same problem as I was ;) |
My users are complaining about waiting 10 seconds to log in because on a smaller resolution, it is blocking that section of the navbar....
Is there anyway to create a link in the popup to click on to close it??? rather than the countdown???? I really need it to be more friendly, or I'll have to take it off for now until this has more features. |
Any chance this can be set for specific usergroups only?
|
clicls install
|
Hi everyone. This is a great feature and I want to use it but it is imperative I can set it up to only show up ONCE per session.
PLEASE, if there are directions to do so, please tell us. I read the edited hack a couple posts above but do not see that addressed there. |
Quote:
|
All times are GMT. The time now is 05:32 AM. |
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:
|