seperate table for website users

8 posts by 2 authors in: Forums > CMS Builder
Last Post: May 7, 2012   (RSS)

How can i set a different table for website users?

Re: [efi-revivo] seperate table for website users

By Jason - May 1, 2012

Hi,

First, you need to set up your section. You need to have a username and password field in that section. After that, you have to go into the website membership plugin and update this line:

$GLOBALS['WSM_ACCOUNTS_TABLE'] = 'accounts';

changing "accounts" to the name of your new section.

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] seperate table for website users

By efi-revivo - May 1, 2012

In my new section we need only username & password fields?

Re: [efi-revivo] seperate table for website users

By Jason - May 1, 2012

Hi,

You will be required to have those fields in order for this to work. You can add as many additional fields you want.

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] seperate table for website users

By efi-revivo - May 1, 2012

I get Error..
MySQL Error: Unknown column 'neverExpires' in 'field list' (at old_alias_functions.php line 19)

Re: [Jason] seperate table for website users

By efi-revivo - May 6, 2012

Thanks now its OK.

It is possible to open 2 membership club with 2 seperate table for website users?

How can i add more than one add-ons?

Re: [efi-revivo] seperate table for website users

By Jason - May 7, 2012

Hi,

Currently it's not possible to use website membership with multiple user tables without fairly heavy customization. The best approach here would be to have a field in your members table that is used to distinguish between the 2 (or more) types of users.

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/