Membership Plugin - Leading to own page
4 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 14, 2012 (RSS)
By Mel - February 22, 2012
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
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
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
Re: [mel] Membership Plugin - Leading to own page
By gkornbluth - March 14, 2012
I think that Jason's post is in the right direction.
There are a number of specific code recipes in my CMSB Cookbook http://www.thecmsbcookbook.com that I think deal with the kind of situations you're trying to create.
Best,
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php