Website Membership Clearing Admin permissions

8 posts by 4 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 24, 2012   (RSS)

By rez - January 10, 2012 - edited: January 10, 2012

I am trying the website membership 1.06 with CMSB 2.14

I am trying to keep website admins separate from subscribing members. I am assuming thats what the new feature is for, "website accounts in a different table" .."website" accounts? Is that a visitor/customer vs an admin?

So I downloaded accounts.ini.php, changed the menu name to "members" and uploaded it as a preset. I used:
$GLOBALS['WSM_ACCOUNTS_TABLE'] = 'members'; // set the accounts table WSM uses, change this to store website accounts in a different table
$GLOBALS['WSM_SEPARATE_LOGIN'] = false; // set this to allow you to login to the website and CMS simultaneously as different users


Then on all the examples i changed "accounts" to members.

I signed up but the path to my next page was wrong (which I'm sure i'll fix). i did the get the confirmation email so I logged into CMSB with my regular Admin log-in but couldn't see all the website pages / blue buttons on the left. I looked into my Admin Account and all the access listed "by section" are set to none.

Is this from duping the accounts table or what? What should I do to fix this?

Not really understanding when I would want to use this:
$GLOBALS['WSM_SEPARATE_LOGIN'] = false; // set this to allow you to login to the website and CMS simultaneously as different users

thanks. I want to point certain people to a hidden membership section and would like to manage them separately in the CMS as well. If I'm not mistaken this also lets me assign that section "by section" to certain administrators (my clients employees) as "editors" so they can manage subscribers but only I manage the User Accounts / administrator section.

Am I on the right track? Thanks for help with the above problems.

Re: [rez] Website Membership Clearing Admin permissions

By Jason - January 10, 2012

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/

Re: [Jason] Website Membership Clearing Admin permissions

By kdub718 - May 17, 2012

I know this is an older post but I'm making a separate members section to separate users from members aswell.

I'm new to this and this plugin, but I followed these same details and when I use the signup to make a user it makes the user but I don't get an email (never have even before I started this when creating a new user)(maybe I should of tackled that first haha). It shows in the admin that it creates a record in my members section but I can't see it (to view or edit) when I click on it. It just shows in the section editor "members(1)" that there is a record.

Any ideas whats wrong?

Re: [kdub718] Website Membership Clearing Admin permissions

By Jason - May 18, 2012

Hi,

From what you've described seeing, ie "members(1)", it sounds like you're looking at it in the Section Editor. Is that right? If you look at the member's section by click on the menu in the left hand side, what do you see? Does your user account have permissions to view that section?

Let me know.

Thanks,
---------------------------------------------------
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] Website Membership Clearing Admin permissions

By kdub718 - May 18, 2012

yah I'm looking at it in the admin / section editor.. where it reads "members (1)" for members. But then when I click on my members tab it's empty.

yah I'm the admin I have "all sections" set to author.

Re: [kdub718] Website Membership Clearing Admin permissions

By Jason - May 18, 2012

Hi,

The problem here is that your admin account only has author permissions. This means that you are able to see records that have been created by you. If you change your user permissions to "Editor'' you should be able to see that record.

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: [kdub718] Website Membership Clearing Admin permissions

By gkornbluth - May 24, 2012

Hi Kdub718,

I've been using the website membership plugin for quite a while, and find that the possibilities for regulating member access are virtually endless.

You might want to check through the many website membership recipes in my CMSB Cookbook http://www.thecmsbcookbook.com for some ideas on how to accomplish some of the more complex tasks with this plugin.

Hope that helps,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php