Hi Guys,
I am relatively new to CMSMS and was wondering how you can password protect certain areas of a site using CMSMS.
What I am trying to do is build a site and then with a username and password you can access some other pages which would normally blocked to the normal viewer of the site.
Any Ideas?
Cheers
Chris
Password Protected areas
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Password Protected areas
You need at least two modules:
a) FrontEndUsers
b) CustomContent
look in the documentation section under 'visual tutorials'
a) FrontEndUsers
b) CustomContent
look in the documentation section under 'visual tutorials'
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.
Re: Password Protected areas
Well I did what the visual tutorial shows and i get an error when i go to look at the private data
Parse error: syntax error, unexpected '&' in C:\wamp\www\website\tmp\templates_c\59^%%70^707^707A8977%%content%3Acontent_en.php on line 3
Any Ideas folks?
Many Thanks
Chris
Parse error: syntax error, unexpected '&' in C:\wamp\www\website\tmp\templates_c\59^%%70^707^707A8977%%content%3Acontent_en.php on line 3
Any Ideas folks?
Many Thanks
Chris
Re: Password Protected areas
Did you check the no cache option in the option tab when creating page?...
Cachable: no check...
Cachable: no check...
Re: Password Protected areas
Hi Guys,
Yes I have the secured page cachable as not checked.
the code I am using is
{if $ccuser->loggedin ()}
Welcome Authorised User
{else}
You are not Authorised to view this page
{/if}
Am I missing something perhaps?
Oh just to let you all know I am using CMSMS Cuba 1.3
All help is greatly appreciated
Chris
Yes I have the secured page cachable as not checked.
the code I am using is
{if $ccuser->loggedin ()}
Welcome Authorised User
{else}
You are not Authorised to view this page
{/if}
Am I missing something perhaps?
Oh just to let you all know I am using CMSMS Cuba 1.3
All help is greatly appreciated
Chris
Re: Password Protected areas
It was suggested that I disable the wysiwyg editor, i did so and this still doesnt work
I receive the following error
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\website\tmp\templates_c\60^%%70^707^707A8977%%content%3Acontent_en.php on line 3
This is so frustrating as I know I am so close to this working
All help is greatly appreciated.
I have Cuba 1.3 installed
Cheers
Chris
I receive the following error
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\website\tmp\templates_c\60^%%70^707^707A8977%%content%3Acontent_en.php on line 3
This is so frustrating as I know I am so close to this working
All help is greatly appreciated.
I have Cuba 1.3 installed
Cheers
Chris
Re: Password Protected areas
Have gone to Site Admin » Global Settings and cleared the cache?...
You may need to because you didn't set the page as not cached until after you looked at it once or more...
You may need to because you didn't set the page as not cached until after you looked at it once or more...
Re: Password Protected areas
Hi Mark,
I have cleared the cache as you suggested and still experiencing the same problems.
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\website\tmp\templates_c\60^%%70^707^707A8977%%content%3Acontent_en.php on line 3
So i am a bit stuck to say the least.
I just give you a bit of background and see if you can see if any of the following may cause an issue
I have CMSMS 1.3 Cuba running, Apache 2.2.6, PHP 5.2.5 and MySQL 5.0.45
I dont think of these should give any errors as they are all fairly current.
Hope you can help
Bighitter
I have cleared the cache as you suggested and still experiencing the same problems.
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\website\tmp\templates_c\60^%%70^707^707A8977%%content%3Acontent_en.php on line 3
So i am a bit stuck to say the least.
I just give you a bit of background and see if you can see if any of the following may cause an issue
I have CMSMS 1.3 Cuba running, Apache 2.2.6, PHP 5.2.5 and MySQL 5.0.45
I dont think of these should give any errors as they are all fairly current.
Hope you can help
Bighitter
Re: Password Protected areas
Move/change this code to template like I've posted herebighitter wrote: the code I am using is
{if $ccuser->loggedin ()}
Welcome Authorised User
{else}
You are not Authorised to view this page
{/if}
http://forum.cmsmadesimple.org/index.ph ... #msg112424