News:

Wondering if this will always be free?  See why free is better.

Main Menu

Allow Access in Maintenance Mode

Started by SMF Customization Team, September 25, 2009, 05:40:36 PM

Previous topic - Next topic

SMF Customization Team

Link to Mod

Allow Access In Maintenance Mode



Original Author: Arantor | Current Author: SMF Customization Team
Supported Languages: English, Spanish, Russian, Portuguese
Link To Mod | Mod Discussion | Other SMF Customization Team Mods



Summary:
This mod allows admins to grant forum access to trusted membergroups while the forum is in maintenance mode.

The usual "Remember, this forum is in 'Maintenance Mode'." reminder is also given to those other groups, while regular users are still barred.

Compatibility:
Compatible with SMF 1.1 & 2.0

Installation Information:
The Package Manager should work in most cases, if you have problems installing please use the discussion thread as well as Manual Installation of Mods

Change Log:
Version 1.2 - October 12, 2011
+ Added 2.0x support
! Fixed 2.x error which prevented the mod from working

Version 1.1 - June 17, 2011
+ Added Portuguese support

Version 1.1 - October 15, 2009
+ Added Spanish support
+ Added 2.0 RC2 support

Version 1.0 - September 24, 2009
  Original release



Copyright (c) 2015, Simple Machines, under BSD 3-Clause License.
All rights reserved.

Ken.

"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


mirahalo

as always heres spanish translation ;)


$txt['permissionname_admin_maintmode'] = 'Permitir acceso en modo mantenimiento';
$txt['permissionhelp_admin_maintmode'] = 'Esta opcion permite a los usuarios de este grupo de usuarios acceder a el foro aun estando en modo mantenimiento.';


good for spanish_es and spanish_latin  and its utf8 versions as well.

Arantor

Many thanks 130860 :)

I'll add that shortly when I brush up the main mod page.
Holder of controversial views, all of which my own.

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Cal O'Shaw

Woo-hoo!  Thanks, Arantor!  This was my request way back when and I was able to get some help from Karl Benson and a few other SMF Wizards to implement a hand-coded version.

I'm going to see about extracting my manual code and using your MOD (I really have been uncomfortable with it and wondered if it would break our site when we tried to upgrade to 2.0.x).

Grazie mille!

Cal

Arantor

Cal, when you do the upgrade from 1.x to 2.x, all mods get removed anyway as all the files get replaced, so you should be able to strike that one off the list of upgrade concerns.

I had actually forgotten that you'd documented it manually before.
Holder of controversial views, all of which my own.

mirahalo

ok, me again, this time with the xml file ;)

greetings!

Arantor

Thanks :)

I'll get that added on next week when I'm back at home.
Holder of controversial views, all of which my own.

Arantor

Donated to SMF Customization Team :)

I'll add Spanish support shortly though.
Holder of controversial views, all of which my own.

Arantor

Spanish support has been added to this package, bumping it to version 1.1. I also added support for 2.0 RC2 for Charter users (though I cannot imagine this needing to change afterwards, but I'll retest on RC2-public when it arrives)
Holder of controversial views, all of which my own.


Xenmorph

I seem to be having problems with this mod,

I have tried it on my work in progress RC2 forum which is heavily moded and I have also tried it on a Fresh install of RC2 with no mods.

in both scenarios it just reloads the Login page when Any member but Admin tries to login while in maintenance mode ?

I have set the Permissions, Am i missing something ?

Arantor

Holder of controversial views, all of which my own.

Xenmorph

Permission set to ALLOW access in maintenance Mode

Arantor

Holder of controversial views, all of which my own.

Xenmorph

Those are the permissions for a New non post based group I created called "Tester".

Arantor

And they can't access the forum at all in maintenance mode? Weird.

What other mods do you have? What URL were you trying to get to?
Holder of controversial views, all of which my own.

Xenmorph

Quote from: Arantor on January 11, 2010, 09:42:46 AM
And they can't access the forum at all in maintenance mode? Weird.

What other mods do you have? What URL were you trying to get to?

Ok I will keep this simple and not involve the Production site I am putting together for now which is were I first encountered the problem.


So I then Created a Fresh install of RC2 Public to see if it was the Mod or a conflict with other mods I had.

I am still Having this issue on a Fresh Install of SMF RC2 Public with No other modifications using the Curve Theme.

Set Permission for Global Moderator to allow.

No Errors in Log or while installing and I Have taken a look through the Code Manually and it all appears to be there.

Pics attached from Fresh RC2 Public installation.






Arantor

So if you log in with a global moderator account it doesn't work? Weird - it works for me at first glance. I guess I need to re-test it more thoroughly on RC2 (I originally wrote it on 2.0 RC1.2)
Holder of controversial views, all of which my own.

Advertisement: