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

Allison Leahy replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Thanks, Jen. I had hoped the glitch was related to today's release or additional work on the…"
7 minutes ago
Allison Leahy replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
"Hi Riccardo, Appreciate the update here -- and your contribution to the investigation. I'm…"
22 minutes ago
Suzie Nielsen replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Awesome! Great news! his will work out great for me!"
1 hour ago
susana replied to John McDonald's discussion 'Free Ning 3.0 Sandbox Networks'
"bien, lo que yo quiero  saber es a qué sitio debo ir para obtener el Plan Sandbox…"
2 hours ago
Profile Iconsusana, Brother Richard 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
3 hours ago
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"No prob. I have been equally frustrated and had to work on other things. But today...we got access…"
3 hours ago
Fire-Tech replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Very very nice! Just the head tag alone makes me smile :) Great job...keep 'em coming!"
3 hours ago
Phil McCluskey replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Hi Ningaholic, We've started working on Groups; there's still a few weeks to go, but they…"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service