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

Lea Scott replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I have had to resort to putting up a "Site Update News" box to let people know what is happening be…"
31 minutes ago
Fire-Tech replied to Fire-Tech's discussion 3.0 Tip: Relocate Your Comment & Reply Buttons
"Thanks TJ :)"
34 minutes ago
Lea Scott replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"And I have just noticed the group activity will only show up on your own profile page when you your…"
35 minutes ago
Fire-Tech replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"+1"
36 minutes ago
Lea Scott replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"That's and interesting reply from ning Anam because first, I have seen the activity in groups in th…"
47 minutes ago
TJ @ jQueryHelp replied to TJ @ jQueryHelp's discussion MORE button not working on some site's Activity Feed
"Hi Ceddy,
If you are referring to a way to automatically load new Latest Activity items to the top…"
1 hour ago
JFarrow replied to JFarrow's discussion Overriding Ning's Sprite Image
"ha!  will do.. this post was from 2013 but i suppose others are still interested in it.. great ill…"
1 hour ago
Ceddy J replied to TJ @ jQueryHelp's discussion MORE button not working on some site's Activity Feed
"Have you figured out a refresh workaround."
1 hour ago
TJ @ jQueryHelp replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Hi friends!
I saw some people in this discussion mention a problem with their Latest Activity MORE…"
1 hour ago
John Bizley replied to JFarrow's discussion Overriding Ning's Sprite Image
"I do but instead of trying to position a sprite I replace it with an icon or image, I will type up…"
3 hours ago
Ceddy J replied to John Bizley's discussion Activity Feed: Adding Scroll Bar For Comments And The Whole Activity Module
"Nice John!!!!!"
3 hours ago
Tim Atkinson replied to JFarrow's discussion Overriding Ning's Sprite Image
"I'm having a stab at this tonight. I'm only weeping a little bit. About halfway through the first f…"
3 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Thank you Kos."
4 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I have been thinking of this too Skye, although my limited experience has made me slower to find a…"
4 hours ago
Sapphire LiLi replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Mine is working great.  I'm glad that they have finally gotten the activity feed upgraded.  It seem…"
5 hours ago
Writer Chick {Diane} left a comment for Eric Sewerz
"Just for the record, I knew it was you. I've followed your tweets and some other things you've done…"
5 hours ago
John Bizley replied to John Bizley's discussion Activity Feed: Making the videos a little bigger
"Yes Russell that is correct, this is for 3.0's new activity feed. I will see if I can get it to wor…"
5 hours ago
Russell Rager replied to John Bizley's discussion Activity Feed: Making the videos a little bigger
"Thanks John. For some reason the code does not do anything on my site ( http://boonedeals.com ). I…"
6 hours ago
Skye replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Now remember they did not have a comment wall until we lambasted them with requests for the necessi…"
6 hours ago
Kos replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Anam I share your view on these comments not appearing.  Ning will have to address it (imho) but sa…"
6 hours ago
More…