Are you betting your community's growth on "sometimes" and "maybe?"…
See MoreThere'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/
Permalink Reply by George H. Compton IV on October 23, 2012 at 8:38am Hello sweetie :-)
gros bisous a toi
Permalink Reply by Armani Rouse on October 23, 2012 at 8:40am LOL george tu habla espanol?? hahahaha! I made the logo smaller to save some space in the header, I wanted to see of you could play with the border so that it doesnt cut off any letters
Permalink Reply by George H. Compton IV on October 23, 2012 at 1:26pm the code you added for the borders just lower the numbers and that should fix it :-)
dont like visiting a Site cant even see the Main how imma gonna know if i wanna join... ?
Permalink Reply by George H. Compton IV on October 23, 2012 at 8:37am I know I agree for the most part but there are private sites out there that do need this script.
Permalink Reply by dave on November 1, 2012 at 8:43pm This is perfect and works well, i changed the 9000 to 60000 to give a minute before the redirect.
Fantastic script George and it's added 1 more nice touch to my network "Thank You"
:-)
Permalink Reply by Ningaholic on November 2, 2012 at 2:04pm Hi George, is there code I could add to the splash page being hosted by the other site that keeps their header info from showing when they're queued to sign in?
Permalink Reply by George H. Compton IV on November 2, 2012 at 2:23pm Nostalgic if you send me the link I will write that code for you. all networks are different so that would have to be written for that network.
Permalink Reply by Susan Daniels on November 6, 2012 at 5:45pm This is exactly what I needed for my contest site. Something to direct non-members to sign up and an added security against non-members voting! Yes. This is genius.
Warmly,
Susan
Permalink Reply by George H. Compton IV on November 7, 2012 at 8:44am that's great Susan I'm glad I could help :-) you have a great day
Permalink Reply by David Deubelbeiss on November 8, 2012 at 5:07am George,
Thank you for sharing and commend you for adding to all of our abilities and knowledge base.
One quick question about SEO. If the community is set to Public - Everything and this script is used - will this hurt in terms of search engines and google crawling the site?
thanks,
David
Permalink Reply by George H. Compton IV on November 8, 2012 at 8:16am It will not bother the search engine crawling whatsoever the crawler reads your site as Text it doesn't load your page so the script doesn't bother it whatsoever
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Kos replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
Allison Leahy replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'© 2013 Created by Ning.
