Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Hide module for signed in members?

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?

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • NC for Hire

    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!

This reply was deleted.

Search the Creators Network

Latest Activity

TJ @ jQueryHelp replied to Alan's discussion Adding Java Script
"Hi The Builder,

Looks like you're trying to add a div and some js using x$ in the Custom Code Head…"
8 hours ago
Lea Scott replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Ohhh I see ;)
Thought I was missing out on some perk lol!"
9 hours ago
steve replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"This is a great idea.. im sorry to say Ning creators is dying a slow horrible death and this is ver…"
9 hours ago
The Builder :) replied to Alan's discussion Adding Java Script
"Hi Jen dont work for me in my ning 3 site. I need  add  this code in head seccion of my custom code…"
15 hours ago
Ben Carr replied to Ben Carr's discussion Ways to Overcome the Activity Feed
"Thanks Steve. We have had this layout for a long time though and are considering some changes just…"
15 hours ago
John Bizley replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Just added my application Jamie :-)"
17 hours ago
Kos replied to Brendan Dunleavy's discussion Login Panel on Homepage
17 hours ago
Jamie Baker replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"The very first, thanks Diane. I've added some posts and will continue to add more, plus I'll be rev…"
17 hours ago
Writer Chick {Diane} replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"I'm a member already.  Looking forward to some helpful tips and positive posts!  :D  Thanks for the…"
17 hours ago
Jamie Baker replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Thanks John, I look forward to seeing you there, be great to have such a top tipster on board ;)"
17 hours ago
Jamie Baker replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Great to see you on board Justin, thanks for the support."
17 hours ago
Jamie Baker replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Thanks Bernard"
17 hours ago
John Bizley replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Good luck on the site Jamie, will come over and Join to post some tips etc."
19 hours ago
John Bizley replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Thanks JF, still a little to do on the detail page and also next is to figure out how to get those…"
19 hours ago
John Bizley replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Thanks Ceddy"
19 hours ago
John Bizley replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Thanks Thiago, still a little to do but nearly there :-)"
19 hours ago
John Bizley replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Thanks Jamie"
19 hours ago
John Bizley replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"Lea yes I do pay for the other site as this will become something else at some point."
19 hours ago
JFarrow replied to John Bizley's discussion NEW: VIDEO PAGE USING A BLOGS PAGE: See what you think so far
"nice work John!"
19 hours ago
Aubrey Williams, Courtney Cunningham, Brendan Dunleavy and 4 more joined Ning Creators Network
19 hours ago
More…