Use the User db with UserID plugin

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
grima

Use the User db with UserID plugin

Post by grima »

Sorry if this is not the place for asking this question, perhaps should i directly contact the author of the UserID plugin but just in case of ...

I search something to bind the cms user database with the UserID databse (all my userid's users are exact copy of cmsms user).

If nobody have never look on this i'll get a try since this could be IMHO a very usefull features.
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Use the User db with UserID plugin

Post by Silmarillion »

grima wrote: Sorry if this is not the place for asking this question, perhaps should i directly contact the author of the UserID plugin but just in case of ...

I search something to bind the cms user database with the UserID databse (all my userid's users are exact copy of cmsms user).

If nobody have never look on this i'll get a try since this could be IMHO a very usefull features.
Hello Grima

Hmm, I thought about it, but found that I would rather not write in the CMS UserDB. But a solution could be a flag in the UserID-module to disregard its own userdb and just use CMS'. Would that do it for you? Should be fairly easy...

Best regards
Morten/Silmarillion
Author of UserID/PPages/Statistics moduls
grima

Re: Use the User db with UserID plugin

Post by grima »

Sorry for answering this late, i've been away for a while.

Yes this solution would do the job.
The major problem is not to double-create users but by example if any user wants to change his password, he could in CMSMS but not in UserID. Such a flag solve this problem.

Have you times to look on it or do you prefer i send you a patch ?
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Use the User db with UserID plugin

Post by Silmarillion »

Hi Grima

Hmm, it would be great if you could have a look at it. Not sure how much time I've got the next few days. But I've done quite a lot of work since the latest released version, so I'll do a new release tonight. If you have the time, please make patches against the new version.

Feel free to ask anything about the code... it excels in lack of comments...

Best regards
Morten/Silmarillion
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Use the User db with UserID plugin

Post by Silmarillion »

Hello Grima

A new version of UserID is on the wiki-page, which implements what you wanted. Hope it works for you, please report any problems!

Best regards
Morten/Silmarillion
Post Reply

Return to “Developers Discussion”