Elxis CMS Forum

Extensions => Components => Topic started by: Davide on September 16, 2011, 17:35:42

Title: Only administrators can login
Post by: Davide on September 16, 2011, 17:35:42
would be possible to add a group of users allowed to get access to the front website?

actualy you could choose from

Online for all
Offline for all
Offline except SuperAdministrators

how to make
Offline except SuperAdministrators and .... (1 or more selected group)

need to modify somthing in the core folder?
Title: Re: Only administrators can login
Post by: datahell on September 16, 2011, 20:21:43
This is already supported....
See Elxis configuration -> Offline setting
Title: Re: Only administrators can login
Post by: Davide on September 16, 2011, 21:04:49
See Elxis configuration -> Offline setting

i didn't realy understand exactly where to check, sorry.
Title: Re: Only administrators can login
Post by: datahell on September 16, 2011, 21:24:58
Login at Elxis administration console and go to "Global Configuration".
On the first tab named "Site", the first option is "Site Offline"
Set that to "Yes except from Super administrators"
Save Elxis configuration.
Title: Re: Only administrators can login
Post by: Davide on September 17, 2011, 05:36:27
sorry maybe my question was not enough well explained. actually my website is offline except for SuperAdministrator, what i need to know is how could i add another group without SuperAdministrator privileges , into the list of allowed group, to get access to the public site? the access has to be intended like a preview of the website. the group has the power to use only the public are. Understand what i mean?
thanks.
Title: Re: Only administrators can login
Post by: datahell on September 17, 2011, 11:03:10
It needs to modify the source code in 3 files:
index.php
index2.php
includes/systemplates/login.php

By default Elxis allows only super admins (group id = 62) to login that way. You have to enter the id of the other group too in the source code.
Title: Re: Only administrators can login
Post by: Davide on September 17, 2011, 20:06:22
Thanks is working well!!
Title: Re: Only administrators can login
Post by: Davide on May 14, 2012, 21:05:54
Quote

I think my new request is strictly related to this thread.

I need to allow guest and any registered user to see the eblog component and its posts but leaving the entire site offline as it is.


Opened in a new Thread here -> https://forum.elxis.org/index.php?topic=7080.0 (https://forum.elxis.org/index.php?topic=7080.0)