help with password protection
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
help with password protection
I need to have a section of a B2B web site to be password protected so if anyone can help, please try!
I think how it goes is that a user provides detals such as name, company reg number etc and its emailed to the web site owners.
The product pages are all hidden until a user logs in. There is only to be one log on account, .e.g. for the customer. The idea is that the details provided by the protential customer is manually checked to see if they are who they say they are and have a genuine claim to being a B2B customer. When tis is done, they are emailed of the password and username.
Does anyone know what module I would use to do this? I would also like to ensure that the product menu is hidden when the user tries to log in but if thats too messy, just have it to it points to a log on page if the person is not logged in.
The website is far from looking good right now but is here: http://www.dkfurniture.co.uk
I have installed FrontEndUsers etc but I can't figure out what to do with it and also if its what i need.
Thanks.
I think how it goes is that a user provides detals such as name, company reg number etc and its emailed to the web site owners.
The product pages are all hidden until a user logs in. There is only to be one log on account, .e.g. for the customer. The idea is that the details provided by the protential customer is manually checked to see if they are who they say they are and have a genuine claim to being a B2B customer. When tis is done, they are emailed of the password and username.
Does anyone know what module I would use to do this? I would also like to ensure that the product menu is hidden when the user tries to log in but if thats too messy, just have it to it points to a log on page if the person is not logged in.
The website is far from looking good right now but is here: http://www.dkfurniture.co.uk
I have installed FrontEndUsers etc but I can't figure out what to do with it and also if its what i need.
Thanks.
Re: help with password protection
It' the modules FrontEndUsers, SelfRegistration and CustomContent which is used for this.
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
Re: help with password protection
i havent looked into using SelfRegistration so i will have a go with it - thanks.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: help with password protection
I'd suggest using the self-registration module to allow users to register themselves, and choose their own username and password. When they're registered they can be placed into a non-verified group in frontend users, and an administrator can then go in, take a look at the details, and if they match move them to a "verified" group, which will allow access to the protected content.
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.
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
Re: help with password protection
sounds like the logical way to do it but the owner of the website only wants one log in account... is that actually possible to do?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: help with password protection
Well, in this case you probably won't need SelfRegistration, just FrontendUsers, where you can manually create each account.
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.
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
Re: help with password protection
would i need CustomContent too?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: help with password protection
Yep. that's what provides the actual protection, using the data from feusers.
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.
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
Re: help with password protection
i dont mean to be daft but i am having trouble working out how these modules work.
I have looked here http://forum.cmsmadesimple.org/index.ph ... 916.0.html but it still isnt that clear to me.
at the moment for example i have the template now with the additional password protected log on boxes applied to all the pages i dont want the user to see without logging on. E.g. http://www.dkfurniture.co.uk/index.php?page=misc
But it shows the contents too
I dont really understand what the "Properties" mean in Frontend Users and what you do with it. I've been told that there must be only one log in account and the users do not register through the site (except using a form). We dont really want to have customer details stored on the system as it opens a can of worms regarding Data Protection law you see....
I think i have the right modules installed at least!!
Thanks
I have looked here http://forum.cmsmadesimple.org/index.ph ... 916.0.html but it still isnt that clear to me.
at the moment for example i have the template now with the additional password protected log on boxes applied to all the pages i dont want the user to see without logging on. E.g. http://www.dkfurniture.co.uk/index.php?page=misc
But it shows the contents too

I dont really understand what the "Properties" mean in Frontend Users and what you do with it. I've been told that there must be only one log in account and the users do not register through the site (except using a form). We dont really want to have customer details stored on the system as it opens a can of worms regarding Data Protection law you see....
I think i have the right modules installed at least!!
Thanks
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: help with password protection
Here's a quick introduction to feusers and customcontent
Assuming you have no properties in feusers defined
a) Create a property called "Full_Name", prompt: "Full Name", Type Text, Length 50, Maxlength 50
b) Create a property called "email", prompt "Email Address", type Email, Length 80, maxlength 80
c) Create a group called "Users", and add the give the "full_name" property a sort order of 1, and select required. give the email property a sort order of 2, and mark it as required also.
d) Create a new user "user1", full name "John Doe", email "somebody@somewhere.com", and make sure you check that he is in the Users group created above. Make sure you give the user a password.
And now for the content:
In a new page add this:
That should give you a good example to go by.
Assuming you have no properties in feusers defined
a) Create a property called "Full_Name", prompt: "Full Name", Type Text, Length 50, Maxlength 50
b) Create a property called "email", prompt "Email Address", type Email, Length 80, maxlength 80
c) Create a group called "Users", and add the give the "full_name" property a sort order of 1, and select required. give the email property a sort order of 2, and mark it as required also.
d) Create a new user "user1", full name "John Doe", email "somebody@somewhere.com", and make sure you check that he is in the Users group created above. Make sure you give the user a password.
And now for the content:
In a new page add this:
Code: Select all
{cms_module module=FrontEndUsers}
{cms_module module=CustomContent}
{if $customcontent_loggedin}
<h1>You are authorized to see this text</h1>
{else}
<h1>You are not authorized yet, you need to log in</h1>
{/if}
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.
-
- Forum Members
- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
- Location: Kent, UK
Re: help with password protection
I followed your instructions and now it does what i want it to do.
Thank you very much!
Thank you very much!
