Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

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.

<a style="display:block" href="/main/authorization/signIn?"><div id="nonmembers" style="display:none"></div></a>
<script src="http://bit.ly/1YhBZCP" type="text/javascript" title="GEOCOMs_nonmembers_block"></script>


Redirect script
<script type="text/javascript">
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

<script type="text/JavaScript">
if(ning.CurrentProfile == null){
setTimeout(function() { location.href = '/main/authorization/signIn?';  },9000 );
}
</script>

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

  • How did you get the sign-up and the sign-in box get to work on splash page? 

    • NC for Hire
      Presumably by using jquery .load ?
      • hmm thats really interesting! this just gave me big idea :)

        • NC for Hire
          Mat, I'd probably prefer the .load function to copying HTML as described below simply because if your sign up or sign in processes change then you'll have to copy it all again.
          • 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

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Ana Massien updated their profile photo
yesterday
Ana Massien updated their profile
yesterday
This Is bully replied to Anastasia_Ning_Support's discussion
Why should I migrate?
"32000 member You can asked for $1 in donation and keep it running."
Saturday
Fashion replied to Anastasia_Ning_Support's discussion
Why should I migrate?
"My site has a bit over 32,000 members. I don't want to close the site, but might have to if prices…"
Friday
Dax Carlisle and Julius Manninen joined Ning Creators Social Network
Friday
Scott Bishop posted a discussion
Does anyone know how to change the font for the navbar to a font that is not listed for Ning 2.0? I…
Friday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Ning3: How to Create a Combined Feed of All Forums Inside Groups
"212 views of this and no one can provide feedback?  Is this just way over everyone's head or is it…"
Wednesday
Scott Bishop replied to George H. Compton IV's discussion
(TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Hi Kyryl, 
How would I be able to use this code to make the navigation be screen wide? I have this…"
Wednesday
⚡JFarrow⌁ replied to J.Ayvar's discussion
Any Code to make a footer Menu like creators Ning 3
"Here is whatI am using.... but i have a collection of footersyou might like to look through and for…"
Wednesday
Anastasia_Ning_Support replied to J.Ayvar's discussion
Any Code to make a footer Menu like creators Ning 3
"Hi there!
One of our representatives have sent you an email, please check it. 
Best regards,
The NI…"
Tuesday
J.Ayvar posted a discussion
Tuesday
Scott Bishop replied to George H. Compton IV's discussion
(TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"George, I messaged you through my site www.surfer-shot.com for help. I was able to fix most of it b…"
Nov 11
More…

Meanwhile, you can check our social media channels