Ning Developer Docs

I am trying to charge a subscription fee to join my network. But I do not want non-paid members to be able to Sign UP. Therefore i need to hide the sign up link from the homepage and from the sign in page. How do I do this?

Views: 7

Attachments:

Replies to This Discussion

To hide the link, put this in your Analytics textbox which you'll find by clicking Manage then Analytics:

<script type="text/javascript">

x$(document).ready(function() {

// Remove "Sign Up" links:
x$("a[href*='signUp']").remove();

});
</script>


I tested it on my Network and it only removed the link on the Main page but not on the Sign On page, although I don't know why. It should work on both.

If you set your Privacy to Private and Invite Only, those links will be gone. But that's probably not what you want to do.
Thanks!

Do you know how I can remove the "|" symbols from the bottom right of my network?

http://www.fishersatvworldonline.com/
Try adding this

x$("#xg_foot").find("p.right").remove();

just below the lines

// Remove "Sign Up" links:
x$("a[href*='signUp']").remove();
hi dave. how did you finally take off the "sign up" from the sign in box that you have linked to the comment i'm repling to? i copied and pasted the code into the analytics and that took off the sign up from the main page, which i wanted too.
i really look forward to your reply. also how did you get the paypal button there too. i really want my sign in box to look just like you have yours.
thanks
cyndi
Cyndi;
I just stumbled on this link and like what you have done. Can you give me the code you and dave used?

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service