Admin can configure (in the plugin settings) if site is down for maintenance. Optional extra information about the downtime can also be entered there.
When in maintenance mode site is in a complete lock down. Only admins can login.
Config
Result
Version History
1.1
- fixed: problem with maintenance plugin in combination with custom_index
1.0
- first release
ColdTrick IT Solutions
(c) 2009 ColdTrick IT Solutions
View Jeroen Dalsem's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
This mod still takes my site down my site is http://thehub.ath.cx if you want to look and help me out
@Tomas - can you tell me how to customize a theme or where is the info? - I am a newbie - thanx
How to fix to vazco_mainpagewidgets plugin?
can ypu help me?
very useful, I really like this plugin
When I go to Login it trys to download a poll??
I get error " This webpage has a redirect loop." Is it not compatible with elgg 1.5 ? Not matter I moved to top or bottom plugin list, disable plugin like custom index,external page... but it still the same error.
I'm getting:
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
any assistance is greatly appreciated, please let me know what I can provide to help you help me. :-)
I really love this plugin!!! So far, it is compatible with all my other plugins. This will be very useful.
Thank you and God Bless <><
Anyone know how to fix the error "Redirect Loop" ?
did you edit ht?
Hi
Same problem. It says Redirect Loop
Please help
google "firefox Redirect Loop" ;-)
Hi guys,
After I have activate the plugin, I've got the same error "Redirect Loop" as well. Now my website is completely down and not showing at all.
I'm using IE8 for testing. Any help will be appreciated. Thanks
I've found the cause of the redirect loop. It occurs on sites where Elgg is in a subdirectory, e.g. it works if Elgg is at http://www.example.com/ but not if Elgg is at http://www.example.com/elgg/
This is because the plugin only allows access to the index page, which it expects to be at http://www.example.com/and if you're not at that URL it redirects to the index page. But that redirect takes you back to exactly the same page, and the loop starts again.
I've coded a fix for this. In start.php, change line 7 from:
to:
I hope this helps other people. Perhaps the plugin author could incorporate this fix in the next release?
I just installed this, thanks Jeroen!
Just a recommendation to anyone else trying this plugin - move it to the TOP of your "Tool Admin". I think it was conflicting with my "custom_index" plugin because when I enabled it the home page looked super wonky.
Other than that minor issue, it's exactly what I needed :)
it's not working for me... installed it... placed it at the top, at the bottom... i just also upgraded to 1.6.1 as well... could that be it?
Hi, I have installed it on my site but when clicking in login here to login ias an admin nothing happen, and I have to rename the plugin to disable it and access again as a normaly. ?¿. Do you have any sugestion for this problem? I have try with Chrome Firefox and IE7.
Thanks in advance ;-)
I had the same problem as Alex. At first, I just did an ugly hack to remove the hide code in order to enter my site. After I had made sure that was possible, I looked into the problem. My solution was replacing the JQuery code (and accompanying div and trigger) with standard Javascript and CSS. For ease of reference, I have used my Semantic MediiaWiki install to create a diff clearly marking the changes and created a reference page: http://arthurslegacy.com/wiki/Elgg-maintenance-plugin-fix. A RAR file is also available on the page with the modified version of the index.php file.
I hope the fix is helpful for other users have the same issue and for the developer of the plugin.
Casey
I've just installed this plugin and started having the redirection problem, so I used Richard's fix — now the plugin seems to be working (the mainenance page appears instead of the usual frontpage), but clicking on the "here" in "login here if you are a siteadmin" doesn't make anything happen.
Same problem as Rodrigo... :(
the mainenance page appears instead of the usual frontpage), but clicking on the "here" in "login here if you are a siteadmin" doesn't make anything happen.
Anyone pleasee helppppppp......... :(
@rodrigo @jaxcatz The problem is with jquery version.
if any one have problem with it
like firefox Redirect Loop
change line in /maintenance/start.php/
and edit page below and after edit your site will work and disable the plugin
find
to:
global $CONFIG;
$base_uri = parse_url($CONFIG->wwwroot, PHP_URL_PATH);
if($_SERVER["REQUEST_URI"] != $base_uri && $_SERVER["REQUEST_URI"] != "${base_uri}action/login"){
to correct the missing admin login panel, you need to replace the reference to jquery in the index.php file for this plugin with whichever version of jquery is present in your elgg installation's 'vendors' folder.
e.g. for elgg 1.7.5 change line 20 in index.php to
thanks, tunist. its work for me :)
the wrong reference to jquery is the problem.
Can anyone tell me how to make this work with 1.8.0.1? I really need this mod and have no idea what to do. I am new with elgg. Thanks for any help!