Membership Plugin - Leading to own page

By Mel - February 22, 2012

Hi,

What I have in mind is along the lines of a portal with various regions and categories within in each region

General public can view all Regions/Categories without signing up

An advertiser logs in to their own page to add update delete upload text images etc and select Region/Category to list in
(bit like a reality site with multiple companies being able to update their own data)

Can the membership plug in be used to achieve this, so once they register as an advertiser they get taken to their own personal details page for them to fill out update etc but of course not be able to access other members pages to edit

Does the plugin check for usernames passwords already in use and suggest that tell them to pick another username

Ideally the creating of users is automatic without the need to manually create a user

Thanks Mel

Re: [mel] Membership Plugin - Leading to own page

By Jason - February 22, 2012

Hi Mel,

Yes, you can do this with the membership plugin. If you are using front end pages for the add/edit/remove pages, you can first check to ensure a user is logged in, then retrieve records based on their user number (ie $CURRENT_USER['num']). If you are letting them create/update information directly inside CMS Builder, you'll need to make sure that they only have Author permissions for the sections you want them to access. If users are being created through a front end form, there is an example that comes with the membership plugin, showing you how you can create a user and write to the accesslist table to set permissions.

If you are using the front end membership form to create a user, by default the script checks to see if the username and email selected are unique and if they're not, asking them to change it. You can customize this functionality if need be.

I'm not sure what you mean by automatically creating users. If you can give some more details on what you need to do, we may be able to make some suggestions.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Membership Plugin - Leading to own page

By Mel - February 22, 2012

Hi Jason,

Re the automatically creating users..... I think you have answered that in the second paragraph

The idea is to let each user create their own listing (lets say as an example a property listing record) and be able to add/amend/delete the record

ALL of the listings would be available to the general public to view

Mel