Hi,
I would like to setup CMSMS so that users MUST login first to see any content - ie. they only ever see a user login screen when they first go to the site.
Forgive me if this has already been discussed - in which case point me in the direction of the solution please.
-s
Restrict access to CMS - users must login first
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Restrict access to CMS - users must login first
You want the frontendusers, and custom content modules available on the forge.
then you just modify your template to only show the login form to non logged in people.
then you just modify your template to only show the login form to non logged in people.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
stidy
Re: Restrict access to CMS - users must login first
Thanks - I'll try it out
v quick reply - thankyou
-
stidy
Re: Restrict access to CMS - users must login first
Hi,
OK - installed the modules.
But how do I "just modify your template to only show the login form to non logged in people" ?
(Sorry -newbie)
OK - installed the modules.
But how do I "just modify your template to only show the login form to non logged in people" ?
(Sorry -newbie)
-
monghidi
Re: Restrict access to CMS - users must login first
Sorry to bother -- I'm following this and a few other threads regarding customcontent and its ability to direct specific users to specific content.
It seems to me that customcontent doesn't actually 'protect' files/pages, but only 'presents' custom..er, content or pages. Or am I missing something? I'd like to achieve totally protected files and/or pages, which if you are NOT logged in are just plain inaccessible.
I think that's what stidy is looking for, too?
Thanks!
It seems to me that customcontent doesn't actually 'protect' files/pages, but only 'presents' custom..er, content or pages. Or am I missing something? I'd like to achieve totally protected files and/or pages, which if you are NOT logged in are just plain inaccessible.
I think that's what stidy is looking for, too?
Thanks!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Restrict access to CMS - users must login first
CustomContent uses either smarty, or text processing to remove output that is not available for unauthorized peop.e
i.e:
This text will be displayed to logged in members of the blob group
This text will be displayed to anonymous people or people who aren't members of the blah group
If the test fails, then the only content that will be displayed is the stuff inside the else statement, everything else is physically removed from the output.
so yes, CustomContent, does "protect" users from seing things.
i.e:
This text will be displayed to logged in members of the blob group
This text will be displayed to anonymous people or people who aren't members of the blah group
If the test fails, then the only content that will be displayed is the stuff inside the else statement, everything else is physically removed from the output.
so yes, CustomContent, does "protect" users from seing things.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
monghidi
Re: Restrict access to CMS - users must login first
Thank you tons, calguy. I really appreciate the incredible amount of work you must be putting into CMSMS!
A quick thing: smarty doesn't work at all for me in CustomContent, though funky comments do. I'm using 0.13-beta4, and PHP 4.3.10 on a linux box, latest versions of CustomContent, FEU, CMSMailer, and SelfRegistration (unimplemented). Everything else is great and I am considering converting several "old" websites to CMSMS and the variety of modules as they work so well.
Anyhow, any clue why smarty won't fly for custom content? My templates include calls to both FEU and CC.
Thanks!
A quick thing: smarty doesn't work at all for me in CustomContent, though funky comments do. I'm using 0.13-beta4, and PHP 4.3.10 on a linux box, latest versions of CustomContent, FEU, CMSMailer, and SelfRegistration (unimplemented). Everything else is great and I am considering converting several "old" websites to CMSMS and the variety of modules as they work so well.
Anyhow, any clue why smarty won't fly for custom content? My templates include calls to both FEU and CC.
Thanks!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Restrict access to CMS - users must login first
it's probably my fault 
I may not have issued a release.
I may not have issued a release.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
