UPDATE 09/17/2015
There's been a few creators asking for a redirect script without having to pay someone to write it for them so hear you guys go
These scripts will redirect any Nonmember/visitor to your Sign in, Sign-up page or any page you prefer.
Just change the word "signIn?" to "signUp?" In the codes below to have it redirect to the signup page instead of the sign in page.
To redirect to any other page just replace "/main/authorization/signIn?" with the page link you prefer.
Add the code to your ( Custom Code - End of Page Code box ) it could take a couple minutes for the script to take effect because of your catch. For an individual page just place the code in your "above footer HTML box" or "Below header HTML box"
NEW 09/17/2015
Redirect Nonmember Click Block
Nonmembers can now view the pages as long as they want but as soon as they click anything it will redirect them to the signin or signup page. Just change the word "signIn?" to "signUp?" In the code below to have it redirect to the signup page instead of the sign in page.
<script src="http://bit.ly/1YhBZCP" type="text/javascript" title="GEOCOMs_nonmembers_block"></script>
if(ning.CurrentProfile == null){
location.href = "/main/authorization/signIn?";
}
</script>
timed redirect
The 9000 at the end of the code is the same as 9 seconds so if you want a 30 second delay change the 9000 to 30000
1000 = one second
if(ning.CurrentProfile == null){
setTimeout(function() { location.href = '/main/authorization/signIn?'; },9000 );
}
</script>
Replies
How did you get the sign-up and the sign-in box get to work on splash page?
hmm thats really interesting! this just gave me big idea :)
Yeah i gave it try and i noticed that problem, had to re copy all the code, i am just gonna stick with my old splash page lol. thanks SP!
When you sign up from the splash page, you get this error " A problem occurred. Please try again."
Working great of Cross Roads George. Thank you so much. God bless you.
you're so very welcome Jim :-) God bless
Thanks George! i will hit you up if i didn't get it right!
You're welcome Mat
If you need any help with any of it I'll be glad to give you a hand. :)
have a great day
Works perfect bra! thanks again! i got it working