The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I'd like to make a request of sorts, but I don't believe this hack would require too much...
I want unregistered/not logged in visitors to receive a small pop-up window every time they visit a page in my forums. Inside of this window, a small, stripped-down registration form would be displayed with only the essential fields. Hopefully, after a few page views, they would be annoyed enough to go ahead and fill it in or log in. Can anyone tell me how to do this? |
#2
|
|||
|
|||
This is a really great idea...surprised it hasn't been mentioned before. Maybe if we're lucky, someone will pull through.
|
#3
|
||||
|
||||
The page itself is very easy, you don't need help with that (or do you?).
I can help you with the poping the page if the user isn't loggedin though: In global.php add PHP Code:
PHP Code:
Code:
<script language="javascript"><!-- window.open('http://www.yoursite.com/forum/file.php'); // --></script> |
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
Almost there
|
#6
|
||||
|
||||
[QUOTE]Originally posted by LanciaStratos
Well, actually, I do. I can make the form of course, but how do I create it so that it adds a member to the database? |
#7
|
|||
|
|||
Visit automotiveforums.com, guests will get the pop-up box. I think igor did it with a javascript and cookie (i posted that code earlyer), so the guest will only get the pop-up once, or whatever you set the cookie too... Anyhow, view source of the pop-up, you get the idea
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
What do you mean everytime? Once a day? Once per session? Once per page view? FireFly's way will pop up on every page view, as far as i can tell, I woudlnt view many pages if i got a pop-up on each and every one! I think once per day would be fine, you can do that by setting the cookie timeout to 24hrs.
You can find the code anywhere on the net, i posted it in one of Igor's threads when he was reciving hundreds of guests from a a magazine artical... |
#10
|
|||
|
|||
The pop up in this case would pop up ever time only until the register. Seeing how it's a pop up form, most people would probably register the first time the see the pop up. If they don't hopfully they'll get the picture after the second or third time.
The condensed registration form from the automotiveforums.com site is perfect. I think we might see something from FireFly |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|