Help with jQuery Mods and Hacks for your Ning Network!
Hi Tj,
I figured if anyone would know it would be you. We've been looking to control the pages that visitors can see and which ones they can't. Ning has the setting where the front page is public and all others are private, but we want a tad more customization to this.
I'd like to make Groups public but Member Profiles private, where a visitor would get the Sign Up prompt. Do you think this is doable with jquery?
Thx,
M
Tags: ning
Permalink Reply by Jerry Wipf on September 27, 2010 at 9:47pm
Permalink Reply by TJ @ jQueryHelp on September 27, 2010 at 10:07pm
Permalink Reply by TJ @ jQueryHelp on September 29, 2010 at 9:41pm Saw the thread. Works! Thank you so much. I've been looking for this for so long. You rule!
Looking to learn, and learning to look.
Permalink Reply by Scott Bishop on September 30, 2010 at 2:35am
Permalink Reply by TJ @ jQueryHelp on September 30, 2010 at 5:46am
Permalink Reply by Scott Bishop on September 30, 2010 at 1:54pm
Permalink Reply by TJ @ jQueryHelp on October 3, 2010 at 1:13am Thanks for your help Tj, but it didn't do anything.
I placed this at the very bottom of my Analytics box:
if ((ning.CurrentProfile == null) && (window.location.indexOf("page") != -1)) x$("#xg_body").html("Sign In to see this Profile!");
Between script type="text/javascript" and /script (with the <&> brackets. Odd... I couldn't just paste that in here.
I also tried to change "Sign in to see this Profile" to "Sign in to see this page" along with "ning.CurrentProfile" to ning.Currenpage", still no worky.
Permalink Reply by Scott Bishop on October 4, 2010 at 12:02pm
Scott Bishop said:Thanks for your help Tj, but it didn't do anything.
I placed this at the very bottom of my Analytics box:
if ((ning.CurrentProfile == null) && (window.location.indexOf("page") != -1)) x$("#xg_body").html("Sign In to see this Profile!");
Between script type="text/javascript" and /script (with the <&> brackets. Odd... I couldn't just paste that in here.
I also tried to change "Sign in to see this Profile" to "Sign in to see this page" along with "ning.CurrentProfile" to ning.Currenpage", still no worky.
Hi Scott!
Could you please provide a link to the specific page you want to hide from non-members?
Thanks!
TJ is the Admin of jQueryHelp.Visit http://YouTubeStars.com
Permalink Reply by TJ @ jQueryHelp on October 6, 2010 at 2:30am Actually for any new page that I create Tj, but here's is a particular page that I was practicing with:
http://surfershot.ning.com/page/survey-1
Permalink Reply by Scott Bishop on October 9, 2010 at 11:55am
Scott Bishop said:Actually for any new page that I create Tj, but here's is a particular page that I was practicing with:
http://surfershot.ning.com/page/survey-1
Try this instead:
if ((ning.CurrentProfile == null) && (window.location.href.indexOf('/page/') > 0)) x$("#xg_body").html("Sign In to see this Page!")
TJ is the Admin of jQueryHelp.Visit http://YouTubeStars.com
© 2013 Created by TJ @ jQueryHelp.