I just switched form oxwall and am new to dolphin.
Anyway, is there a setting/way to allow maintenance? And please note that I am not looking for a plugin, I am a minor.
I just switched form oxwall and am new to dolphin.
Anyway, is there a setting/way to allow maintenance? And please note that I am not looking for a plugin, I am a minor. My Dolphin Powered Site:http://cosmicmoon.x10host.com/ |
No setting! Come after 2-3 years, may be you will find! Because Developers are very busy these days doing nothing! |
Unbelievably... no. No way to put in maintenance mode. Boggles the mind... |
https://github.com/boonex/dolphin.pro/wiki/Enable-Maintenance-Mode
A maintenance mode option has an open issue in GitHub. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Switch on maintenance mode Now it's time to switch on maintenace mode. To do this, we'll add some code to /inc/design.inc.php to check if the user is an admin, and if not, redirect them to maintenance.html. Edit /inc/design.inc.php and look for (around line 97): if(empty($oTemplate)) $oTemplate = $oSysTemplate; Add immeditely under this: if(!isAdmin((int)$_COOKIE['memberID'])) { header('Location: ' . BX_DOL_URL_ROOT . 'maintenance.html'); } That's it. Loading the site while logged out (or logged in as a normal user) should redirect you to maintenance.html. Ok.. thats cool! it really is.. but is there any way this could be expounded on and able to be toggled on/off within admin CP? having to edit design.inc.php each time to turn or off will get old fast. especially when you must turn off to log in as a test member to trial the work being done... |
You can use this. |
Good eye. guess I'll grab it. A 'lot' leery buying from Deano these days... nothing of his isnt being updated.. Soooo... fingers crossed.
And thank you for the heads up! |
Only the version must be changed in the config.php. then it works |
If you just want to restrict access so no one visits during maintenance etc., you can usually restrict access through cPanel with most host providers, just check with host. You won't get the pretty under maintenance picture etc., but you will be able to test and build uninterrupted. |
I believe Boonex is planning to add this feature in next version, that would be very helpful. At times, I modify {.htaccess} to point it to "under construction.." page which works fine.. I also have access to WHM which allows me to disable the site temporarily, but I don't like this option since it will stop the site completely and won't allow me to test it behind the scene. Most time, I only want to direct my users to "under maintenance.." while I can still do work and test the site behind the scene.. |
Hello You are welcome to take a look at our 'Maintenance Mode' module. May be it would be usefull for you. Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV |