Elxis CMS Forum

Extensions => Components => Topic started by: Davide on May 27, 2012, 01:19:33

Title: EBlog needs Administrator login
Post by: Davide on May 27, 2012, 01:19:33
Hello,

i think my thread is stricly realted with this https://forum.elxis.org/index.php?topic=6575.0 (https://forum.elxis.org/index.php?topic=6575.0)
but no one answered me there.


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.


Any Suggestion?
Title: Re: EBlog needs Administrator login
Post by: xmanhattan on May 27, 2012, 09:26:50
Hello Davide, I read your post but it is still not very clear as to what you are asking.  How can anyone see the site if it is offline?

eBlog users login through the front page assuming that you or the admin has setup the user.
Users are not allowed to setup their own eblogs on the site.
Title: Re: EBlog needs Administrator login
Post by: Davide on May 27, 2012, 16:32:07
Dear Xmanhattan, thank you for your answer.

Check this solution for my previous question:

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.


Setting the website in this way you allow more that one group of people to access the page after login.

Actually the eblog accept only super admins. I don't know if is related or not to the main configuration reported above.

I am interesting in allow guest to see the blog. Actually the site is setted as offline but if you have a kind of account you can access but only when you want to comment or interact to the eblog or website that you need an account.

Thanks!
Title: Re: EBlog needs Administrator login
Post by: xmanhattan on May 28, 2012, 08:38:43
I do not really understand what it is that you are trying to do by setting the site offline while giving access through acl.

The eblog users are not only super admin, they are assigned by you or the admin.  Please see this http://www.elxis-downloads.com/downloads/documentation/4.html (http://www.elxis-downloads.com/downloads/documentation/4.html)

As I say, what sense does it make to set the site offline and then modify acl permissions to allow visitors to see the site?

If you do not want someone to be able to login then all you have to do is to disable the user login module.
If you do not want someone to see a portion of the site, then unpublish whatever section or category that is not ready.
Title: Re: EBlog needs Administrator login
Post by: Davide on May 28, 2012, 12:10:54
Thank you for the link to the guide but it wasn't very usefull.
I will try to explain better again my problem, i will use my real situation and website for better understanding.

- www.petbooking.it > offline (offline page modified)
- www.petbooking.it/eblog > online, only this section, to show articles > if any action by guest > return to offline page.

The previous thread linked was solved by modify the login group inside the code where elxis check if the registered guest is allowed or not to interact.
In this case I need to modify the code where eblog check if GUEST are allowed to intereact before login/registration procedure.

Understand what I mean? Thanks.