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

This is perfect for a splash page Like the one I created for Cross Roads Fellowship.

Cross Roads Fellowship splash page http://wellkunnected.com/page/gift-56

It will work sending it to your sign in page as well. I've tested it with a splash page & sign in/sign up page.

this script will redirect any Non-logged in members to any page you would like.  Just remember you Need to use a third-party hosting site not your own network for a splash page!!! right now I'm temporarily using my friends network "Well Kunnected" for the splash page.

Just replace the url "http://wellkunnected.com/page/gift-56" to wherever you've created your splash page or your sign in page.

Then add the code to your NC custom code box it could take up to 1 to 10 minutes for the script to take effect because of your network catch. But once it does it takes one or two seconds or so to redirect your network to the splash page/sign in page.

Redirect script

<script type="text/javascript">
if(ning.CurrentProfile == null){
    location.href = "http://wellkunnected.com/page/gift-56";
}
</script>

 

timed redirect

And if you would like a timed redirect use this code. 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

<script type="text/JavaScript">
if(ning.CurrentProfile == null){
setTimeout("location.href = 'http://wellkunnected.com/page/gift-56';",9000);
}
</script>

delayed pop-up

you can combine the script above with a timed non-logged in members pop up about page just set the pop up page time to a couple seconds less than the redirect script

Or if you'd rather have your non-logged-in members just have a timed pop up to the sign in or sign-up page use this code.

Just change the url to the one you preferre (Sign in page or sign-up page  or even an about page) and your delay time is at the very bottom it's set to one second right now

<script type="text/JavaScript">

if(ning.CurrentProfile == null){
  SW=window.open('http://4himalone.ning.com/main/authorization/signIn','NewWin','toolbar=no,status=no,width=750,height=635')  

  SW.moveTo(190,240);  
}

</script>

</head>

<body onLoad="setTimeout('openPopup()', 1000);">

I'm using the Timed redirect script on crossroad fellowship it's a nine second delay check it out here http://4himalone.ning.com/

Tags: in, network, page, redirect, script, sign, splash, up

Views: 2025

Reply to This

Replies to This Discussion

you are to be congratulated! Very good work!
Thank you!

Hey George - had one quick question.  You think this would affect web crawlers at all when it comes to being indexed?  Also wasn't sure if this applied just to the homepage or for all pages?

Is there a way to do this as the print screen that I sent along?

As a floater, where the original page is darker behind and opens up the option of a log?

This would be perfect!

Thank you for all the help!

Ningaholic It should not affect the crawlers at all. This redirect script will work on all pages except the sign-in and sign-up pages.  :-)

Orkubaladas thank you again for the compliment.

You two have a great evening

Orkubaladas yes that is possible just using CSS codes but I would need to see the module in order to write the codes.

Orkubaladas I meant I need to see your website and the module on that page. lol

Excuse my stupidity, how do I do that? Lol

I send to you the website address?

www.PlanetaBalada.com 

I think about doing something as it appears on facebook when you enter a page without being logged into Facebook.

But let the member see the site for about 30 seconds then the option appears the login or registration or close and continue browsing the site where it was before.

Orkubaladas I'll message you when I have the codes :)

ok, thank you so much!!

Hello friend, if it is difficult to make the code as facebook, it may be just something that after about 30 seconds that visitors are not logged on the website, open a box directing the member to loguin, record or close the window.

Thank you!

je viens prendre de tes nouvelle ta pazge a beuguer sur mon site et il a fallu je retire le  lien ca beuguer trop dommzge j'aimai bien gros bisous a toi mais je compte remettre ton amie caro

RSS

Latest Activity

Skye replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"I have to say this seems to be a bit much, all I hear of are issues. This does not bring faith to…"
1 minute ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Allison, Do we need to submit support tickets? This is a critical issue. If we can't trust our…"
9 minutes ago
Danilo Junqueira replied to Danilo Junqueira's discussion 'Inform you that I am not getting, perform the following functions:'
"I've tried all options and the error continues. Called number 01732962 I am not able to add…"
9 minutes ago
Kos replied to Danilo Junqueira's discussion 'Inform you that I am not getting, perform the following functions:'
"If you have tried to clear your browsers cache and tried a diff. browser and still have problems, I…"
18 minutes ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/21/13)' in the group The Sandbox
"Edit to ask: is this a glitch in forum display? "
21 minutes ago
Andre Lacerda replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"Lets hope they are reading. Anyways I will open a ticket and see what they say."
1 hour ago
Kos replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"I interpreted that incorrectly.  You're right; many others have pointed out the wrapping…"
1 hour ago

NC for Hire
SweetPotato replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"This has to be a bug, i think Ning will fix this. I'd flagged it previously, as has Jen, so…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service