Cool redirect from sign up

Post here to discuss topics relate to the 4.x version for the ASP Football Pool software program. All support topics should go here.
Post Reply
User avatar
bigphil627
Posts: 21
Joined: Thu Oct 22, 2015 11:12 am
Location: New Orleans
Contact:

Cool redirect from sign up

Post by bigphil627 »

After hitting submit, many people get confused after registering and do not see the login link at the top of the screen.
Like in this picture.
SIGN UP.jpg
SIGN UP.jpg (39.62 KiB) Viewed 2717 times


I have a fix for that. After hitting submit to register, It will redirect you to the log-in page so they know they are registered.
Stops people reregistering 2,3 times, because they didn't see that log-in link in the pic.

On /userSignUp.asp around line 145 look for the code

Code: Select all

'Otherwise, show a message indicating the user may now log in.
			else
				call DisplaySuccessMessage("Username '" & username & "' added. You may now <a href=""userLogin.asp""><B>login</B></a>.")
			end if
Then change it to

Code: Select all

'Otherwise, show a message indicating the user may now log in.
			else
			    Response.Redirect "https://www.YOURSITE.com"
				
			end if

That's all.
Please back up your file before doing this so you will have a backup
Hope this helps!

Bigphil627 :D
Post Reply