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

George H. Compton IV replied to Tat Ruck's discussion Can't get site back online
"Hello Tat, just add this piece of link " main/authorization/signIn? " to the end of your network li…"
31 minutes ago
Kos replied to Tat Ruck's discussion Can't get site back online
"What a disappointment!  Yes, looks like Monday now.  Augh"
2 hours ago
Tat Ruck replied to Tat Ruck's discussion Can't get site back online
"Thanks Kos - tried that but the "If you are the network creator, click here to sign in" link just t…"
2 hours ago
Julian Hughes replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Goodbye to all my Ning friends and thanks for all the help the community has done but not from Ning…"
3 hours ago
Kos replied to Tat Ruck's discussion Can't get site back online
"Just the usual.  Clear your browsers cache.  Try another browser. etc.  Best of luck"
3 hours ago
JFarrow replied to Strumelia's discussion Screenshots comparing my OLD and my NEW Network
"impressive work Strumella"
13 hours ago
Scott Bishop replied to Anas Ghanim's discussion Need A Mobile App For My Network
"I don't understand why anyone would ever want an app when you can have a responsive website. 
No on…"
15 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Worked like magic! "
16 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Scott, to remove Nings mobile app go to your dashboard and under settings go to the mobile tab then…"
16 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Hello Scott. :-) I've added a code to the stylesheet in this discussion to fix that issue.  Replace…"
17 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"After cache & cookies are cleared my mobile browser wants to open the Ning mobile version "surfer-s…"
17 hours ago
Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Hey George, Everything seems to be working great with this. I have one small issue going on with th…"
18 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (tip for 3.0) floating navigation menu & ningbar -- two code formats to choose from HTML or CSS
"Alessandro I really like what you did with your navigation.   "Image tabs" sweet!!!You're welcome I…"
18 hours ago
Dreaming Minds replied to Dreaming Minds's discussion Need tips on selling our Ning network
"Thanks for replying, Kos.
We need admin(s)/moderator(s) who can actively moderate, maintain the mem…"
19 hours ago
Alessandro replied to George H. Compton IV's discussion (tip for 3.0) floating navigation menu & ningbar -- two code formats to choose from HTML or CSS
"Many thanks George! It worked perfectly!
Here's the preview in my network, I'll adjust some positio…"
21 hours ago
George H. Compton IV replied to Strumelia's discussion Screenshots comparing my OLD and my NEW Network
"Blessings to you as well Strumelia..
 Love the video you two sound great playing together. :-)"
21 hours ago
George H. Compton IV replied to George H. Compton IV's discussion (tip for 3.0) floating navigation menu & ningbar -- two code formats to choose from HTML or CSS
"Alessandro, I did write two versions of this for ning 2.0.  This version goes in your design studio…"
22 hours ago
Luke Jones replied to Joe's discussion What Happened to NING?
"Someone needs to buy ning like ASAP!!"
yesterday
Joe replied to Joe's discussion What Happened to NING?
"i sent a ticket some weeks ago about my concerns and I remained with no reply
it is not nice that w…"
yesterday
Strumelia replied to Strumelia's discussion Screenshots comparing my OLD and my NEW Network
"Thanks... and throwing some sunshine at some of the folks here who have been kind and supportive to…"
yesterday
More…