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

SweetPotato replied to Mary Jane Peterson's discussion powered by ning on the 2.0
"They removed this on 2.0 sites if you signed up after a certain date."
2 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"You're welcome and thank you Paul. By the way, I love your site, you've done a beautiful job stylin…"
8 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"That's great Diane. :-) The menu button is working even with your custom header. Here's a snippet o…"
8 hours ago
Strumelia replied to Mary Jane Peterson's discussion powered by ning on the 2.0
"I had no idea that was so on the 2.0 basic plan!   You learn something new every day.
Remember when…"
10 hours ago
Writer Chick {Diane} replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"It's working, George!!  Apparently I didn't mess anything up.  The photo page looks a little messy,…"
10 hours ago
John Bizley replied to Mary Jane Peterson's discussion powered by ning on the 2.0
"Depends which plan it was on, if it's the basic then the box is not there to remove it."
11 hours ago
Paul Crane replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"Special thanks, George for fixing our mobile on our 2.0 site. Excellent  job!!!!!!"
11 hours ago
Strumelia replied to Mary Jane Peterson's discussion powered by ning on the 2.0
"That's weird...why is that?   I'm assuming it's a 2.0?"
11 hours ago
Mary Jane Peterson replied to Mary Jane Peterson's discussion How do I add videos to my 2.0 mobile part of the site
"Hi George 

thank you :D"
11 hours ago
George H. Compton IV replied to Mary Jane Peterson's discussion How do I add videos to my 2.0 mobile part of the site
"Since you're using my Mobile app you can go to your desktop view on your mobile and simply type in…"
12 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"Janice can you insert the three snippets of code into the proper locations?
If you can insert the c…"
12 hours ago
Janice D Carter replied to George H. Compton IV's discussion Ning 2.0 new mobile app / or mobile desktop view
"THANK YOU!!!!!!!!  What do you need from me?"
12 hours ago
JFarrow replied to Mary Jane Peterson's discussion How do I add videos to my 2.0 mobile part of the site
"You could add videos by pulling in the videos feed into RSS page type. If you want specific videos…"
13 hours ago
Kos replied to Suzie Nielsen's discussion Looking to HIRE someone...
"btw the other site on Wordpress is http://912conservatives.com ; On that, she wants to pay someone t…"
13 hours ago
Kos replied to Suzie Nielsen's discussion Looking to HIRE someone...
"Yeah, I've played for months.  I'm done with it.  Hence why she's willing to hire and pay someone. …"
13 hours ago
George H. Compton IV replied to Mary Jane Peterson's discussion powered by ning on the 2.0
"Strumelia  Her network doesn't have   "Include 'Powered by Ning' in the footer" It only has the one…"
13 hours ago
Paul Asher replied to Suzie Nielsen's discussion Looking to HIRE someone...
"That looks doable with SiteBuilder."
14 hours ago
Kos replied to Suzie Nielsen's discussion Looking to HIRE someone...
"and she likes this layout/design"
14 hours ago
Paul Asher replied to Suzie Nielsen's discussion Looking to HIRE someone...
"Jamroom has recently released their new SiteBuilder module so that would now make design a lot easi…"
14 hours ago
Kos replied to Suzie Nielsen's discussion Looking to HIRE someone...
"She has her data already imported @ http://stockbuz2.net (bad name, I know but it's temporary). 
Pr…"
15 hours ago
More…