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

Vipster replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"That's working. Thanks!"
3 hours ago
Ramin Tehrani replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"You mean, the CSS codes will come back. By the way, how would I know which default theme is being u…"
3 hours ago
Ramin Tehrani replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Hello Tim,
Actually, there is only below CSS scripts which I didn't add. I had added huge chunk of…"
3 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Mind you, these things tend to happen when Ning is testing stuff...this could be a positive develop…"
3 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Similar happened to me - lost a couple of revisions I'd recently made, but not whole CSS - did any…"
3 hours ago
Tim Atkinson replied to Kos's discussion OK Ning Wizards - I Need Your Help
3 hours ago
Strumelia replied to Traddie's discussion Contingency Planning. What's Yours?
"I know very little as well about all this.  But... I believe the only platforms that will actually…"
4 hours ago
Writer Chick {Diane} replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Your opinion carries a lot of weight around here, as does JFarrow's.  :) "
5 hours ago
John Bizley replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"You can do it by specifying the url of the tab in css to change a colour of a particular tab, this…"
7 hours ago
Donna Mac replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"That does indeed sound like your solution!  :)"
8 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Yay!  I'm going to be part of building/migrating my beta test network site on Jamroom-  big, big th…"
8 hours ago
Ken Rich replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Well it seems there is another viable path out of Ning, which only makes me happier, because I hate…"
8 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Yep, me too, I've sent a note top Paul and I too would like to be part of the beta migration to Jam…"
8 hours ago
Donna Mac replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Ning PRO site that is still running until the end of this year.  I would keep it in a second if I t…"
8 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"No problem, happy to help..."
9 hours ago
John Koch-Northrup replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I've sent a note to paul at jamroom. My music and creative related community would likely fit perfe…"
9 hours ago
steve replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"oh yes Anam, ive seen it a lot worse than this. :("
9 hours ago
Ken Rich replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Cool... Thanks for the info... It seems to be in the same category of solutions, in that it is a "o…"
9 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Aw shucks - yer making me blush - lolIf the truth be told, I have felt betrayed by Ning ever since…"
9 hours ago
Traddie replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Hi.  That's not my site, I'm just saying that they have moved to a drupal solution. They have lost…"
9 hours ago
More…