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

Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Oye.  Can't be 'simple', can it.  *lol*  At least it's an option for 3.0 owners."
18 hours ago
Yolanda van Heese replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"Thanks, we'll get back to you later! "
21 hours ago
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Absolutely. You may need to set up the scraper differently for each platform or manipulate the scra…"
yesterday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"SP can I then assume what is 'scraped', can then be imported onto other platforms?"
yesterday
Todd Underwood and VU APEX joined Ning Creators Network
yesterday
SweetPotato replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"I don't think there is an automated way but there will be custom coded ways to feed "my group activ…"
yesterday
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You're welcome. Here, for example is JSON file containing the last 300 or so forum discussions here…"
Wednesday
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Kos, sent you a pm."
Wednesday
Kos replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Yeah I thought a/b that too (CSS) but the 'save' button won't work there either.  Well I'll reach o…"
Wednesday
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"WHOA, not good! Send me a private message. I'll probably have to signin to your site as Admin, hide…"
Wednesday
Adrian Fronda, Peter Valley, Elizabeth Meynardie and 5 more joined Ning Creators Network
Tuesday
Janine Cuthbertson replied to Peter Matthews's discussion Is it possible to merge networks?
"I have wished for this merge solution for years. I currently have 2 smaller Ning networks that will…"
Tuesday
Rowald replied to Ning's discussion Update to Product Roadmap and Communication Changes
"It's over with Ning.."
Tuesday
TJ @ jQueryHelp replied to Christopher Smith's discussion Expand Event Invitation notifications
"Hi Christopher,
I'm not sure if there is a way to do this using what Ning already provides.  But it…"
Tuesday
Garfield Archivist replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You can't do in one click as Kos said. If you are doing this because you are concerned about storag…"
Monday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Nope, doesn't exist.  You must delete one by one.  Yeah, it's a pain."
Monday
Randy L. Vollett replied to Annabel Gregory's discussion Captcha confusion
"Your welcome."
Monday
Annabel Gregory replied to Annabel Gregory's discussion Captcha confusion
"That's brilliant, Randy - thank you so much (btw, the captcha has always shown a number, not words,…"
Monday
Olga Boehm replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"How can I remove balk of old photos in one click? Advise please! Ning 2.0."
Monday
Olga Boehm replied to Dana's discussion Deleting photos in bulk
"so - still no way to clean up all photos?  what i f delete all photos as an element? erase it?"
Monday
More…