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

steve replied to Gerry Emery's discussion I'd like to see an example or two of the new NIng 3.0 websites
"Can see i have a long way to go looking at some of these wonderful sites but im happy with it so fa…"
6 hours ago
JFarrow replied to JFarrow's discussion How to Map Your Members on a Ning Network
"Because this actually happens outside of the actual network, i don't see how they could, Gerry....…"
8 hours ago
JFarrow commented on Gerry Regan's blog post Seeking provider of alternative to Apps.IO's Listings app. in Hire a Creator
"If you're still looking for help with this, I have a few ideas...ill send you my contact info.."
8 hours ago
JFarrow left a comment for Natasha Dyer
"Just sent you a message by email...happy to help!"
8 hours ago
JFarrow replied to Bernard Lama's discussion Thank you TJ, Jen and other NCs!
"for sure... always inspired by these guys!"
12 hours ago
Tyler Durbin replied to Bernard Lama's discussion Thank you TJ, Jen and other NCs!
"TJ has saved my butt a few times!  The guy is a master at what he does and his code always works fl…"
12 hours ago
Rowald replied to Rowald's discussion Site host name, https://network.com, does not match your SSL certificate Subject Name
"Hi Laura, well.. like Amanda said it's expected behavior on their end. Not sure if there is anythin…"
22 hours ago
George H. Compton IV replied to Bernard Lama's discussion Thank you TJ, Jen and other NCs!
""
yesterday
Katie McKay replied to Bernard Lama's discussion Thank you TJ, Jen and other NCs!
"Agree!"
yesterday
George H. Compton IV replied to soaringeagle's discussion mobile traffic reaches new high and no 3.0 completion date in sight
"Hello seoaringeagle :-)  fullwidth responsive Ning 2.0 network. That's what I'm working on right n…"
yesterday
Kos replied to Heather Ales's discussion How to center group images in Group Hub
"Oh cool.  I had worried a/b how it would appear oh phone when it needs to be responsive (had just p…"
yesterday
Heather Ales replied to Heather Ales's discussion How to center group images in Group Hub
"That worked perfectly! Thank you!!"
yesterday
Kos replied to Heather Ales's discussion How to center group images in Group Hub
"Heather try this (you might need to adjust the 242 up or down) although centering the actual "table…"
yesterday
Jamie Baker replied to Jamie Baker's discussion Ning 3.0 Tips, Tools and more.
"Cheers John, A few members creeping in now."
yesterday
Heather Ales is now a member of Creators Dashboard
yesterday
Heather Ales replied to John Bizley's discussion Page Navigation, Categories & Groups Navigation Tabs Customize
"Thanks John!!"
yesterday
Laura Occhipinti replied to Rowald's discussion Site host name, https://network.com, does not match your SSL certificate Subject Name
"Rowald - Did you end up doing nothing about this or did you make some changes?"
yesterday
John Bizley replied to John Bizley's discussion Page Navigation, Categories & Groups Navigation Tabs Customize
"Hi Heather
 Yes you are correct. The part you are trying to style is this section /**** Sub Nav Cod…"
yesterday
Heather Ales replied to John Bizley's discussion Page Navigation, Categories & Groups Navigation Tabs Customize
"John, 
Would that be the coding to change the tabs on the group hub? Would they be considered "Subn…"
yesterday
Bernard Lama replied to Elson Tan's discussion [3.0 MOD] Quick Login for 3.0!
"Hi Elson, when  I click on Sign Up it is going to http://MYSITE.com/+%20getsignup%20+
Can you help?"
Sunday
More…