Results 1 to 3 of 3

Thread: open url

  1. #1
    Join Date
    Aug 2002
    Posts
    92

    Default open url

    in register.php i have:
    PHP Code:
           if($enable_user_validation)
            
    DisplayTemplate($theme_path."register_confirm.html",
              
    "\$novar"); 
    i dont want to send the user to register_confirm.html. i want to send them to a new url to so they can register for my forums. what would i put in place of DisplayTemplate?

    Also, how could i pass the username and email variables to the new url and put them in place so the user doesnt have to type them again. im guessing this will be done in the url so the password should not be sent?

    scheetz

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    211

    Default

    in register.php use :
    PHP Code:
    if($enable_user_validation
       
    DisplayTemplate($theme_path."register_forum.html","\$username,\$email"); 
    In register_forum.php :
    PHP Code:
    global $username$email
    Use the variables above to proceed your need.

    Don't forget to direct form action in register_forum.html to register_forum.php

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Also, how could i pass the username and email variables to the new url and put them in place so the user doesnt have to type them again. im guessing this will be done in the url so the password should not be sent?
    It also depend on forum script do you use. This is about integration 2 different scripts.

Similar Threads

  1. Open link in a framed window
    By ayhan in forum v3.2
    Replies: 2
    Last Post: 04-30-2004, 08:38 AM
  2. Replies: 16
    Last Post: 03-17-2004, 12:58 AM
  3. Replies: 4
    Last Post: 10-08-2003, 02:47 AM
  4. link open in new window
    By lovesurf in forum v5.x
    Replies: 3
    Last Post: 11-21-2001, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •