Tens Posted August 14, 2010 Share Posted August 14, 2010 Hello, i know it may sound not vital for a lot of people, but i'm quite into full integration and i'm a little bit bothered by the design of the maintenance mode page (when clients lands on the "Down for maintenance message". Is there a way to customize it or is it hard coded ? If so, is it possible to only change the message "Down for maintenance". We can change the message below but not the title (I would like to put something like "count until 1,000,000 and maybe the original page will appear") Tens. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 14, 2010 Share Posted August 14, 2010 Setup -> General Settings -> Maintenance Mode Message 0 Quote Link to comment Share on other sites More sharing options...
Tens Posted August 15, 2010 Author Share Posted August 15, 2010 If so, is it possible to only change the message "Down for maintenance". We can change the message below but not the title (I would like to put something like "count until 1,000,000 and maybe the original page will appear") When changing data in Setup -> General Settings -> Maintenance Mode Message, it changes the text below the message "Down for maintenance", but that's all. This field doesn't even accept HTML code, so no way to customize the page global look. 0 Quote Link to comment Share on other sites More sharing options...
Tens Posted August 16, 2010 Author Share Posted August 16, 2010 is there some action hook for this purpose ? 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted August 24, 2010 Share Posted August 24, 2010 I would also like to see an option to change this page's look and feel. I would, for example, like to add the "server status", "announcements", "knowledge base" and other vital info to this page. Even if I could just use tables / CSS and PHP includes 0 Quote Link to comment Share on other sites More sharing options...
Tens Posted September 5, 2010 Author Share Posted September 5, 2010 anyone ? at least to be able to change the page title... 0 Quote Link to comment Share on other sites More sharing options...
Tens Posted September 7, 2010 Author Share Posted September 7, 2010 ok i'll give ten bucks to whoever can provide a consistent solution to this "issue". 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted September 22, 2010 Share Posted September 22, 2010 If they could just add some div and/or classes we could do the rest, I guess at least... 0 Quote Link to comment Share on other sites More sharing options...
daferub Posted September 27, 2010 Share Posted September 27, 2010 suggestions how to modify that page? 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted September 27, 2010 Share Posted September 27, 2010 In fact you can just create an index.html and activate when you're doing your maintenance, but it is a manual process through the FTP. If that field "maintenance mode message" could just accept HTML we could redirect that page to our personalized page. Right?! 0 Quote Link to comment Share on other sites More sharing options...
daferub Posted September 27, 2010 Share Posted September 27, 2010 solved!!! thank you so much 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted September 27, 2010 Share Posted September 27, 2010 solved!!! thank you so much it is not a automatic solution but works in a manual way Before I think you could edit the database table where this maintenance message is store and throw there the HTML code, but I tried and it didn't work, it just display the message with the HTML code 0 Quote Link to comment Share on other sites More sharing options...
daferub Posted September 27, 2010 Share Posted September 27, 2010 Before I think you could edit the database table where this maintenance message is store and throw there the HTML code, but I tried and it didn't work, it just display the message with the HTML I tried as you say, modifying the db but I get the same result: an html code. I think that the best result, is putting an index.html in the root directory of the whmcs. Whmcs should be consider these type of modifications to the future. 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted September 27, 2010 Share Posted September 27, 2010 I tried as you say, modifying the db but I get the same result: an html code.I think that the best result, is putting an index.html in the root directory of the whmcs. Whmcs should be consider these type of modifications to the future. I agree, it is not a big deal for them. They could just add some IDs or classes to the page or simply allow HTML code. That would be it. Cheers. 0 Quote Link to comment Share on other sites More sharing options...
KMETAVZER Posted December 6, 2010 Share Posted December 6, 2010 It's require only an offline.php page and a tpl page instead of this uncustomizable <div>!!!!! WHMCS developers have to lose just 10 minutes for this update, so please make it !!!!!!!!!!!! 0 Quote Link to comment Share on other sites More sharing options...
jeremyhaber Posted December 6, 2010 Share Posted December 6, 2010 I think its a minor thing. As it can be done manually. Even so I find myself doing all the work on my development server and changing over in real-time. The only exception is for skinning where I verify the skins integrity. That usually only takes me a few minutes to verify. You can setup a page called maintenance.php using your WHMCS skin (refer to documentations on how to do this) and use the following .htaccess code: RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111 RewriteCond %{REQUEST_URI} !^/maintenance\.html$ RewriteRule ^(.*)$ http://domain.com/maintenance.html [R=307,L] Changing the 11\.111\.111\.111 to your ip address. So simple! 0 Quote Link to comment Share on other sites More sharing options...
KMETAVZER Posted December 8, 2010 Share Posted December 8, 2010 Thank you Jeremyhaber, maybe i will use it . But a fix is required (official), 0 Quote Link to comment Share on other sites More sharing options...
JohnnyD Posted December 11, 2010 Share Posted December 11, 2010 I will make a small plugin for this very soon. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 11, 2010 Share Posted December 11, 2010 One already exists 0 Quote Link to comment Share on other sites More sharing options...
JohnnyD Posted December 11, 2010 Share Posted December 11, 2010 One already exists Yes sparky yours is the one that inspired me i am coding mine so that when you click a toggle button (like yours does) it creates offline.txt or deletes offline.txt however instead of dieing with a different code like yours does... mine will redirect to offline.php for better customization. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.