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

Lorenzo M. Oliver replied to Lorenzo M. Oliver's discussion Problemas con la visualización de las imágenes in Ning Networks en español
"Gracias a tí, por tu interés y gratitud al mencionarlo!"
12 hours ago
Lorenzo M. Oliver replied to Leyda Ramirez's discussion Directorio de redes ning? in Ning Networks en español
"Hola Leyda,
Hasta hace poco estaba funcionando un buscador de redes sociales Ning, Ningogle, con má…"
12 hours ago
Mary Jane Peterson replied to Mary Jane Peterson's discussion Fatal error: please help
"Hi John Bizley 

thank you so much :D"
21 hours ago
Luke Jones replied to Luke Jones's discussion Comet chat are genuinely awesome
"Yep :) , it is aha :) O don't forget comet chat are having the apps in 3 weeks time so you can have…"
yesterday
Kwan Yin replied to Luke Jones's discussion Comet chat are genuinely awesome
"Yes, I'm planning to get the highest package as well, video & audio chat in HD sounds fantastic!
My…"
yesterday
Leyda Ramirez replied to Lorenzo M. Oliver's discussion Problemas con la visualización de las imágenes in Ning Networks en español
"Gracias! Me funcionó perfecto"
yesterday
Luke Jones replied to Luke Jones's discussion Comet chat are genuinely awesome
":) awesome :) ah right :) Aha :) , Your absolutely right, comet chat are Fantastic :) I'm going be…"
yesterday
Kwan Yin replied to Luke Jones's discussion Comet chat are genuinely awesome
"Thanks for the tip! I'm currently doing a revamp of my Ning 3.0 site and I'm going to add CometChat…"
yesterday
John Bizley replied to John Bizley's discussion Brand New Facebook Style Photo's page. CODE NOW AVAILABLE
"Thanks George and your most welcome for the codes. I agree it probably could be compiled better, I…"
yesterday
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"
"That sounds sweet John, keep up the awesome work :-)And thank you for the compliment. :)"
yesterday
George H. Compton IV replied to John Bizley's discussion Brand New Facebook Style Photo's page. CODE NOW AVAILABLE
"Good morning John. :-) This is beautiful, thank you for sharing the codes.  I'm still planning on p…"
yesterday
John Bizley replied to John Bizley's discussion Brand New Facebook Style Photo's page. CODE NOW AVAILABLE
"Your most welcome and thankyou :-)"
yesterday
Edie2k2 replied to John Bizley's discussion Brand New Facebook Style Photo's page. CODE NOW AVAILABLE
"You are a dear, dear man John. Thank you!!"
yesterday
John Bizley replied to George H. Compton IV's discussion A tip all Ning3 networks can benefit from. "fluid YouTube, Slideshare & Vimeo Videos"
"This is a really great piece of code for your videos, I had it on an old site but now am using it f…"
yesterday
George H. Compton IV replied to George H. Compton IV's discussion (TIP N3) Fluid network enhancements for your profileCoverArea img, network header img, group Header image & Social Channels player
"Update 5-23-15, My Fluid Social Channels Video player now sports VIMEO
Sorry I didn't add VIMEO ear…"
yesterday
John Bizley replied to John Bizley's discussion Brand New Facebook Style Photo's page. CODE NOW AVAILABLE
"After a lot of testing all the code and setup for this is now available. It will work accross all t…"
yesterday
George H. Compton IV replied to George H. Compton IV's discussion TIP Ning3 & Ning2 - Sub-tab down arrow for your navigation
"Update I added a version for Ning 3.0.. This code does not affect Nings mobile sub-tab arrows."
yesterday
George H. Compton IV replied to George H. Compton IV's discussion TIP Ning3 & Ning2 - Sub-tab down arrow for your navigation
"Thank you Dave, you're so very welcome. :-)"
Saturday
dave replied to George H. Compton IV's discussion TIP Ning3 & Ning2 - Sub-tab down arrow for your navigation
"Thanks George for sharing this Tip, they work and look great :-) very nice piece of code :-) You've…"
Saturday
George H. Compton IV replied to George H. Compton IV's discussion TIP Ning3 & Ning2 - Sub-tab down arrow for your navigation
"Thank you for the compliment JFarrow. :)"
Saturday
More…