Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

Replies

        •  

          Hi John, I actually had tried it and it didn't work, but just gave it another try and it did. I actually think that perhaps the last time it didn't work was because i had written ''Disable Ning Search'' a couple of lines above the piece of code so I would know what it was and what piece of code to take out if i wanted to re-enable the search bar. Perhaps writing that interfered with the function code. Anyways, thank you very much, it works now! :)

          • No worries. If you want to make notes in css you must enclose them else it will stop all css from the quote downwards. Here is how you would write a note in css.

            First add this  /*

            Then write your comment and end it like this

            End quote with this  */

            So in your case the completed thing would look like this

            /* Disable Ning Search */

            You can do add as many * as you like for instance

            /***** Disable Ning Search ****/

            And over multiple lines like this

            /******

            Disable Ning Search

            ******/

            And finally you can always tag it on the end of a line of code like this but it's always clearer above it as you can see in the other example

            #xn_bar_menu_search{ display:none } * Disable N/ing Search */

            /* Disable Ning Search */

            #xn_bar_menu_search{ display:none }

            Hope that helps as it's always good to label your css to make it clear what you are doing. I also tend to split my css in sections using the quotes so all my photos code would be in one area etc, something like this

            /**** GLOBAL PHOTOS CODE ****/

            All my css code would go in here for photos

            /*** END GLOBAL PHOTOS CODE ***/

            /*** VIDEOS  CODE ***/

            Same thing code goes here

            /**** END VIDEOS CODE ****/

            John :-)

            • Ahhh, I see! That makes sense. At least I eventually had the wit to think maybe it was my line of words that disabled your code. Looking at what small bits of custom code i have now i can see they have /***'s above them, which i must have unconsciously copied and used when they were supplied on here by helpful Creators. I'm going to go back and have a closer look to see if there are some that might not be working because of no /*

              Thanks a million, John!

        • John is there anyway of excluding the search in private groups through code?

          • Not sure, but will have to take a look to see if it's possible.

          • Mike can't seem to find a way yet to block the search for private groups but here is a way you can hide the search for non members. It's custom code which goes in the custom code section.

            <script>
            // Hide search if not member
            x$("#xn_bar_menu_search").closest('li').addClass('liSearchBar');
            x$(document).ready(function() {
              if(ning.CurrentProfile == null){
            x$('.liSearchBar').remove();
            }
            });
            </script>

    • This worked. Thanks

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

George H. Compton IV replied to Kyryl_Ning_Support's discussion
Trick 3.0: Link to comment
"Hello Kyryl, two versions, optimized.. :) <!--  Kyryls - share links to the comments --><!-- Reload…"
10 hours ago
Naveen Jain replied to Kyryl_Ning_Support's discussion
Polls are already available
"Polls do not show up on the home page for me. Checkout CUlytics.com.
Thanks"
yesterday
Ning via Facebook

Play your influencer marketing “A” game this holiday season:…

Ning via Facebook

Do you want your brand to be popular and be googled every day? Discover how to present it and…

Ning via Facebook

Hi again :) Our digest #5 is here for you! This week it is honored to the International Tea Day!…

Priest Wilson is now a member of Ning Creators Social Network
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Cleanup on creators network
"Hi there!
You know this question is a bit complicated, some of the creators asking us to change the…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Thanks to everyone!
"Hi Steve,
Glad to know you liked it :-), but it's not the final version as I see from the comments…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"Hi Tony,
Thanks a lot :-) The gif would describe my feelings better than words


via GIPHY
Best wis…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Trick 3.0: Link to comment
"Glad you have found it interesting :-)"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Trick 3.0: Link to comment
"Update:
Just notice that I there was a typo "don't hesitate to post them in the replies", I have po…"
Friday
Hippy replied to Kyryl_Ning_Support's discussion
Cleanup on creators network
"Yep that's right leave 2.0 everything alone,
many of us still use 2.0 because it is still the best…"
Friday
More…

Meanwhile, you can check our social media channels