Registered users only site
Moderators: mandville, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Nov 24, 2014 3:31 am
Registered users only site
Is there a way in Joomla 3 so the whole site can be accessed only by registered users? As per my reading on this topic, it seems it is adviced to create a menu/contents set only to registered. I'm wondering if this method has changed in Joomla 3.
What I have tried is set the site offline, so it requires everyone to login, and in global configuration > permission > Registered > offline access set to allowed.
Can someone please give me best implementation of this scenario or the above is the way to go?
Edit: Re-phrase question.
Thanks!
What I have tried is set the site offline, so it requires everyone to login, and in global configuration > permission > Registered > offline access set to allowed.
Can someone please give me best implementation of this scenario or the above is the way to go?
Edit: Re-phrase question.
Thanks!
-
- Joomla! Hero
- Posts: 2954
- Joined: Sun May 04, 2008 12:37 pm
Re: Registered users only site
All articles, modules and menu items you want available for the public remain "public"
All that is "registered" only you assign "registered".
Of course you will need a public accessible login (module or page)
It works the same in 3 as it did in 2.5..
All that is "registered" only you assign "registered".
Of course you will need a public accessible login (module or page)
It works the same in 3 as it did in 2.5..
- rcarey
- Joomla! Explorer
- Posts: 471
- Joined: Sat Apr 25, 2009 9:20 pm
- Location: Minnesota (USA)
- Contact:
Re: Registered users only site
Here is how I would handle it. I would write a simple Systems plugin. The plugin runs for the access level Guest (i.e., the user is not logged in). The plugin simply redirects to the login page (unless it sees that the page being requested is the login page). That should be all it needs.
I understand that not everyone knows how to write a plugin, but this is a simple plugin and using it is much easier than setting all of the site's items from Public to Registered.
Another solution is to code this logic into the template. In the template's index.php file, check to see if the user has an id (or if the page being asked for is the login page). If not, redirect to the login page.
I understand that not everyone knows how to write a plugin, but this is a simple plugin and using it is much easier than setting all of the site's items from Public to Registered.
Another solution is to code this logic into the template. In the template's index.php file, check to see if the user has an id (or if the page being asked for is the login page). If not, redirect to the login page.
Randy Carey -- as of 2023 I'm mostly retired in web development, but still engaged with a few Joomla projects through
Careytech Studios http://careytech.com custom development for tailored or value-added web solutions
Careytech Studios http://careytech.com custom development for tailored or value-added web solutions
- Webdongle
- Joomla! Master
- Posts: 44069
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Registered users only site
Global config >>> Site offline
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Webdongle
- Joomla! Master
- Posts: 44069
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Registered users only site
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Nov 24, 2014 3:31 am
Re: Registered users only site
As I've said above, what I did was set the site to offline and then just set Registered Users offline access to allowed. Somehow, it works just as what I want to achieve. So the question now would be, what will be the downside of this implementation because if none, I think this is the easiest solution. Please enlighten me if I'm missing something. Thanks.
-
- Joomla! Hero
- Posts: 2954
- Joined: Sun May 04, 2008 12:37 pm
Re: Registered users only site
If you don't need a public page it is enough.. if you do you need a public page you need to set ACL access levels and groups..
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Nov 24, 2014 3:31 am
Re: Registered users only site
@waarnemer, thanks for the reply.
- Templatemesh
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Jun 25, 2014 6:40 am
- Location: Chennai, India
- Contact:
Re: Registered users only site
please read this - http://forum.joomla.org/viewtopic.php?t=321258
Free & Premium Joomla Templates
https://pcmshaper.com/
https://pcmshaper.com/