I'd like to completely remove the default ning signin/up box which ive done.

I'd like to replace that with a text box containing an image with an "image map" that will contain links to both the signup and sign in pages.

My question : Is there any way I can have this module visible to guests, then once they have signed in have it hidden?

Views: 147

Reply to This

Replies to This Discussion

Yeah why not. You can customize your sign up/sign in page without removing it. BTW, do you mean something like I've done in my network here ?

Similar to that, but i was going to remove the box completely rather then edit it. My idea was to use the photo (see below) in a basic text box using an image map for the links, then once members are signed in, that text module is no longer visible.

I do however like what you've done as well which would be my second choice if this isn't an option.

yes; I would like to customize this how your page is done! Would you be able to help? thanks, Mandy

I would highly recommend George Compton on any and all design changes. Hope this helps you.

Hi Matt!

Of course it can be simply done. Here is how.
Your module is named "signinBox" (it's an example) like that :

<div id="signinBox">put your signin signup box here</div>

You must put this code in your custom code box :

<script type="text/javascript">
function boxVisibility(){
  try{
    if ((typeof(ning) == "object") && ning){
      if (ning.CurrentProfile){ // Member of network : hide box
        if (document.getElementById) { document.getElementById('signinBox').style.visibility = 'hidden';}
      }
      else { { // Anonymous visitor : show box
        if (document.getElementById) { document.getElementById('signinBox').style.visibility = 'visible';}
      }
    }
  }
  catch (e){ // Error : show box
    if (document.getElementById) { document.getElementById('signinBox').style.visibility = 'visible';}
  }
} ;

boxVisibility();

</script>

And that's all folks!

RSS

Latest Activity

Troy Marquis replied to Andrew Sanderson's discussion 'Video chat for ning network'
"skysa"
45 minutes ago
Ambroise favorited Eric Suesz's page Ning 3.0 Roadmap
2 hours ago
Ambroise commented on kid k's group 'Ning French Networks'
"Dans le menu, il y a marqué Ning 3.0 lol"
2 hours ago
Jean-Christophe Fa(u)dot commented on kid k's group 'Ning French Networks'
"En ce qui me concerne, c'est à peine si je sais que Ning 3 existe ou va exister !…"
4 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, here is the code you need to put into your bottom custom code box in the design center…"
5 hours ago
Kos replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"ahhh now that makes sense.  Thanks for clarifying :)"
6 hours ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Thanks so much, and please DO let me know what their support team is like, when you first make use…"
6 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, I'll try to post something more logical with screen shots. But, you'll see -…"
7 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service