Re: [rez] Website Membership Clearing Admin permissions
Hi,
Setting $GLOBALS['WSM_SEPARATE_LOGIN'] to true is mostly useful for testing. It will allow you be logged into CMS Builder as an admin while logged into the front end of the site as a member.
The first thing I would do would be to remove the code from the signup form that has to do with the asscesslist table. This table is only used for users in the accounts table that are logging into CMS Builder.
My guess as to what happened was, when you created an account in the members section you got a record number that conflicted with your admin account (probably 1). So when the signup script created accesslist entries, it conflicted with what was in the access list already.
Any user that you create in the members section will only be able to log into the front end of your website, not into CMS Builder. For your client's employees who need access to CMS Builder, those accounts need to be created in the accounts table.
Hope this helps get you started.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/