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

FORUM

Hi,

I can't find any setting to turn on 'under maintenance' for my network. So I suppose it doesn't exist.

Does anyone know if it's doable?

I don't want to make each single page private which will be a pain. A simple radio button with a customisable messgae would be great.

Thanks,

Ramin

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

  • Hi there!

    You have two options at the moment:

    1) If it's not necessary for you to have access to your network we can lock it and nobody will be able to reach it.

    2) If it's necessary to have access to the network, you can create the custom page, put there one html block and inside it, leave the message that the network is under maintenance, then just switch to the html view and add this code to hide navigation menu and account bar.

    <style>
    .before-content {display: none;}
    nav.header-nav.navbar { display: none;}
    </style>

    After making this page a homepage in site builder, and don't forget to save the link to any other page of your network to still have access to it. 

    3) Also, you can accomplish this with a script, by checking whether the user is the admin or not, if the solution number 2 is not satisfactory, I can write it.

    Hope this helps.

    Best regards,

    Ning Team.

    • I say write the code because this is an awesome topic.

      • Hi there!

        All of the codes go to the Custom Code section in the site builder.

        The first part goes to the "<Head> Code" field:

        <style>
        body{display:none;}
        .center {text-align: center;}
        </style>

        The second part goes to "End of Page Code" field:

        <script>
        var styles_list;
        styles_list=x$('body').attr("class").split(' ');
        if (styles_list[1]=="isAdmin"){console.log("done");x$('body').show();}else{
        x$('body').children().remove();
        x$('body').addClass("center");
        x$('body').append('<div style="font-size:18px; margin-top:50px;background-color:white; padding:20px; border-radius:10px;width:70%;margin-left:auto; margin-right:auto;">We are under maintenance, sorry! Plese come back later</div>');
        x$('body').show();
        }
        </script>

        NOTE! You need to save somewhere the link to sign in, just click on Sign in button using right mouse button, and choose save link. It's necessary in case if you log out, without the direct link with this script it wouldn't be possible. 

        The script checks whether you are an admin of teh network after your login and changes teh content of teh site to the maintenance message. That looks like just black letters in the white box. If you wish to change the styles of the body of page, you can add them to the class center. If you wish to change the message, you can replace the text "We are under maintenance, sorry! Plese come back later" if you wish you can also change the whole module which appearing by replacing "<div style="font-size:18px; margin-top:50px;background-color:white; padding:20px; border-radius:10px;width:70%;margin-left:auto; margin-right:auto;">We are under maintenance, sorry! Please, come back later</div>" with any HTML code you wish.

        Hope it helps!

        Best wishes,

        Ning Team.

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

⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Tip: How to Add an Easy to Manage News Ticker
"View the demo full page here"
10 hours ago
Fabrizio Lavado replied to CJ Coster's discussion
SSL
"Hi Kyril. I have similar issue with my SSL certificate. Same as CJ Coster and J.Ayvar. I have writt…"
13 hours ago
Fabrizio Lavado replied to Fabrizio Lavado's discussion
HTTPS Network
"An error message appears stating that my certificate is invalid. I have been confirmed by Godaddy t…"
14 hours ago
⚡JFarrow⌁ replied to Ceddy J's discussion
GDPR Compliant?
"I tested several Ning sites using this tooland they all seem to have the same issues with GDPR
Wond…"
14 hours ago
Fabrizio Lavado replied to Fabrizio Lavado's discussion
HTTPS Network
"Hi. I have uploaded certificate and key, and activated SSL on my network. But it failed to show my…"
18 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion
Leaderboards
"Thanks!! You have been so helpful! I appreciate you!"
yesterday
Annabel Gregory replied to Annabel Gregory's discussion
Broadcast message not received
"Sorry, I've just spoken to somebody else at Virgin Media who gave me a totally different story. It'…"
yesterday
Laszlo Czinege replied to Kyryl_Ning_Support's discussion
SSL certificate feature release
"Thank you Kyryl, you are very kind."
yesterday
Annabel Gregory replied to Annabel Gregory's discussion
Broadcast message not received
"Virgin Media say that these IP addresses are not blocked by them.
 "
yesterday
Annabel Gregory replied to Annabel Gregory's discussion
Broadcast message not received
"Many thanks for your explanations, Kyryl. I will check the first issue out (and it was useful to ha…"
yesterday
Kyryl_Ning_Support replied to Annabel Gregory's discussion
Broadcast message not received
"Hi there!
The broadcast messages and regular notifications could be sent from different mailing ser…"
yesterday
Kyryl_Ning_Support replied to Suzie Nielsen's discussion
It's a disappearing act!
"Hi there!
Please check my reply here.
Best wishes,
Ning Team."
Friday
More…

Meanwhile, you can check our social media channels