vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Pop Up (https://vborg.vbsupport.ru/showthread.php?t=36575)

Rapdis 03-26-2002 02:26 PM

Pop Up
 
I want a pop up for all non registered members when they visit the forum that has a short form which they can fill in and click step 2 to enter the rest of the details....

This will allow all non members to register, i dont want it to pop up once they are a member...

Is this possible?

Dan203 03-26-2002 05:44 PM

This may not be exactly what you're looking for but try pasting this into the head of your document...
Code:

<script language="javascript">
<!--
if (document.cookie.indexOf("bbuserid") == -1){
  if (confirm("You do not appear to be registered.\nWould you like to register now\?")){
    window.location.replace("register.php?s=&action=signup");
  }
}
//-->
</script>

Dan

Xanthine 03-26-2002 06:22 PM

Note: Make sure you post that in the head of the forumhome template, not the style or else the user will get it in every register page they try.

Rapdis 03-27-2002 11:58 AM

I like tha script, but the problem is everytime you click ok, it pops up again and again and again and again and again and again and again and again and again... lol

I want exactly the same thing but one that pops up a register window

Dan203 03-27-2002 03:26 PM

Quote:

Originally posted by Rapdis
I like tha script, but the problem is everytime you click ok, it pops up again and again and again and again and again and again and again and again and again... lol
That's why Xanthine warned you about putting it only in the forumhome template.

What you want can be done, but it's going to require a little more work. Give me a couple of days and I'll put something together for you.

Dan

Rapdis 03-27-2002 05:32 PM

Thanks

Xanthine 03-27-2002 05:34 PM

Quote:

Originally posted by Rapdis
I like tha script, but the problem is everytime you click ok, it pops up again and again and again and again and again and again and again and again and again... lol

I want exactly the same thing but one that pops up a register window

Just put it in your forum home template, as I mentioned above.

Rapdis 03-27-2002 05:35 PM

im a bit new to this... bear with me...


All times are GMT. The time now is 09:09 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
  • Page Generation 0.02011 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete