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: 139

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

Profile IconNing via Facebook
Thumbnail

Community Spotlight: Meet Daniel Kerr, COO of AdjusterPro and founder of Well-Adjusted, a…

See More
Facebook24 minutes ago · Reply
Kos replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"I share your concern.  I know that other layouts are coming with less white space, which I…"
27 minutes ago

NC for Hire
SweetPotato replied to Radialistas Brasileiros's discussion 'How we will deal with 301 redirects and to fix 404 errors on NING 3.0?'
"Hi Phil If i'm changing a client's domain name how would I deal with 301 redirects on…"
39 minutes ago
Andre Lacerda replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
58 minutes ago
Profile IconShannon, solo and 3 other members joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
1 hour ago
Kos replied to Janettee McCrary's discussion 'Any Other Oklahoma NC's?'
"Living so close, we watched in horror as they searched the rubble for school children. The enormous…"
2 hours ago
Riccardo Rossini replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
7 hours ago
Mandy P. replied to Mandy P.'s discussion 'Remove unwanted space-Header'
"thanks a bunch..that helps!"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service