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

Anastasia Grey replied to John Bizley's discussion My New Photos Slideshow Added To Photo List Pages
"Very Creative!! Thanks John! You are the Best!"
7 hours ago
George H. Compton IV replied to George H. Compton IV's discussion N3 "Profile Embed MOD" With SweetPotato's "Profile Embed" & AnGellas "Add CSS to Member Profiles"
"You are welcome JFarrow let me know what you think. :-)"
10 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Tip any network.. Graphical interface page loader, single page or your whole network. v3
"The Google Chrome Z-index issue has been fixed. Sorry guys."
10 hours ago
⚡JFarrow⌁ replied to George H. Compton IV's discussion N3 "Profile Embed MOD" With SweetPotato's "Profile Embed" & AnGellas "Add CSS to Member Profiles"
"thanks G.. ill give it a whirl!"
12 hours ago
George H. Compton IV replied to George H. Compton IV's discussion N3 "Profile Embed MOD" With SweetPotato's "Profile Embed" & AnGellas "Add CSS to Member Profiles"
"Update May 5, 2016,  I think you'll  like this update, I've completely rewritten the code.
Note ( i…"
14 hours ago
Brian Antezana replied to John Bizley's discussion My New Photos Slideshow Added To Photo List Pages
"The photo slideshow looks awesome. I had no issues so far. Keep us updated with your progress."
14 hours ago
George H. Compton IV replied to George H. Compton IV's discussion A tip all Ning3 networks can benefit from. "fluid YouTube, Slideshare & Vimeo Videos"
"Update May 5, 2016,virtually every video on your network will now be fluent. Even Clicking through…"
14 hours ago
George H. Compton IV replied to John Bizley's discussion My New Photos Slideshow Added To Photo List Pages
"Looking very sharp. John. :-)"
14 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion Meta-tags To Use For Optimized Facebook Sharing
"cool.. i forgot about this one... no problem!"
15 hours ago
Just Asking replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Oh. My. Word. :/

Agreed on the migration. I just need to find a platform that closely resembles wh…"
16 hours ago
Asil replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"I stand corrected; contacting NING for help is a fool's errand.  I just called the 1-866-992-0972 (…"
16 hours ago
Asil replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Our 2.0 site is down again also.  Clearly, they are having serious infrastructure issues and don't…"
16 hours ago
Kos replied to Keith Thirgood's discussion Problem with archiving site
"Sorry, no idea here but have you tried a different browser when you export?  idk if that might help."
20 hours ago
Kos replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"Beginning yesterday I had random members who cannot access the website (they tried diff. browsers)…"
21 hours ago
Keith Thirgood replied to Keith Thirgood's discussion Problem with archiving site
"BTW, my site is on 2.0."
23 hours ago
Anastasia Grey replied to rusty69's discussion Ning 2.0 site for sale
"Hi Rusty! i need a Ning site 2.0 for my first proyect about "Pets"
is still avalaible ?

thanks!"
yesterday
Janos Cseri commented on Crystal's blog post How to Monetize Your Online Community [Video]
"Nice to be back and looking at my old, old stuff here. Great Video, I like how you present things o…"
yesterday
Janos Cseri is now a member of Creators Suggestions for Ning
yesterday
Janos Cseri is now a member of Hire a Creator
yesterday
Paul Corona replied to Seth Regan's discussion Network down... AGAIN?!?!?!??!
"and chat has been down all day again......."
yesterday
More…