in

Community Server

The platform that enables you to build rich, interactive communities

Redirection after Sign up

Last post 08-16-2011 9:51 AM by troy01. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 09-18-2009 7:30 AM

    Redirection after Sign up

    the only problem I had with the pool was the users who created multiple accounts. Sometimes 5 accounts each.

    This is really not a pool problem but a user one!  Personally I think the user signup is simple and easy. However, some boneheads cant comprehend it.

    Suggestion:
    I think it would be beneficial to redirect the user to the login screen with user list drop down, after the submit there username, email, and password.
    Maybe even highlighting there username via a cookie as well after the redirection.

    This way all they would do is enter there password. This would eliminate the step of clicking the Login link and hopefully eliminating the duplicate accounts.

     

    Filed under:
  • 09-18-2009 7:36 AM In reply to

    Re: Redirection after Sign up

    That's a real simple mod. You can add the following code after the usersignup is completed.

    <%@ LANGUAGE="VBSCRIPT" %>
    <% Option Explicit %>
    <% response.buffer=true %>

    <body>

    <%
    response.redirect(http://www.yoursite.com/default.asp)
    %>

    </body>

    at least it should work ;)

  • 09-18-2009 11:31 AM In reply to

    Re: Redirection after Sign up

     I've also run in to this problem. I guess i'm not sure where to put the code. I've put it in many diff area's but always run into an error.

  • 08-10-2011 12:35 PM In reply to

    Re: Redirection after Sign up

    I know it's an old thread, but I also wanted to redirect after the user signed up.  This is how I did it in 4.0.  I added the following line just after it sends the email to the admin (I have email enabled).  This creates a pop-up window that the user must click OK, then he is redirected to the userlogin page.

    Response.Write("<script>alert('User Successfully created.');location.href='userLogin.asp'</script>")

     

    This is inserted roughly around line 125 in the usersignup.asp page, just before the else.  Hope this helps anyone.

  • 08-13-2011 9:14 PM In reply to

    Re: Redirection after Sign up

    Do you have to have email enabled for this to work?  I don't have it enabled, mainly because I cannot figure out how to get it to work.  Godaddy ain't very user friendly.
  • 08-14-2011 7:35 AM In reply to

    • Anton
    • Top 25 Contributor
    • Joined on 07-16-2010
    • Posts 42

    Re: Redirection after Sign up

     Works good for me I have email,  thanks.

  • 08-14-2011 7:54 AM In reply to

    Re: Redirection after Sign up

     Troy,  it will work if you don't have email setup.  More than likely you will need to insert the code in another place. 

  • 08-14-2011 8:37 AM In reply to

    • drizzt09
    • Top 10 Contributor
    • Joined on 08-22-2009
    • Ontario Canada
    • Posts 399

    Re: Redirection after Sign up

    I do not have email enabled. I placed in the code shown below and it worked.

       'Otherwise, show a message indicating the user may now log in. [search the code for this line]
       else
        Response.Write("<script>alert('User Successfully created. Click OK to login');location.href='userLogin.asp'</script>")
        call DisplaySuccessMessage("Username '" & username & "' added. You may now <a href=""userLogin.asp"">login</a>.")
       end if

  • 08-16-2011 9:51 AM In reply to

    Re: Redirection after Sign up

    @drizzt09:  Got it working!  Thanks!
Page 1 of 1 (9 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems