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 Social Network to add comments!

Join Ning Creators Social 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.

Latest Activity

Jennifer Peterson replied to Kyryl_Ning_Support's discussion
SSL certificate feature release
"Ye"
6 hours ago
Jennifer Peterson replied to Bizz ( John )'s discussion
Add some helpfull text to for the showing of members online in chat
"Hi Kyryl,
I did as you said and it is still not working :("
6 hours ago
Jennifer Peterson replied to Ning Support's discussion
Ning Q3 2017 plan!
"Yes, I put in a ticket a few weeks ago for having an issue with mail not sending to a member. I kep…"
6 hours ago
Manuel A J replied to Ning Support's discussion
Product Plan Update
"Thanks Kyryl ... that the beta is alive ... better than the end of September that is my birthday ..…"
7 hours ago
Holly Dilatush replied to Bizz ( John )'s discussion
Easiest Way To Add Drop Down Arrow For Main Menu Subtabs
"super tip!
thanks again,
Holly"
8 hours ago
Holly Dilatush replied to Jacob Lee Mullins's discussion
Online now under members
"+1 
have loved this feature on other platforms, found that it really motivated active posting/parti…"
9 hours ago
Anthea Variend replied to Kyryl_Ning_Support's discussion
SSL certificate feature release
"Hi there, we'd love to volunteer our 2.0 network for any security updates: http://maskewmillerlongm…"
9 hours ago
Holly Dilatush replied to Jennifer Peterson's discussion
Can anyone help with code for a contact form for contact page?
"John, 
Thank you so much for this!  
I've just followed your suggestions and edited on 7H 
I'd been…"
9 hours ago
More…