Using external users-table instead of serendipity_authors
Posted: Wed Jul 18, 2007 4:45 pm
Hi
I am using s9y (which is great!!!) in a communities site. Each defined group has a private blog, viewed only by members of this group and written by the group's manager.
When a new user registers to the site, his personal details are stored in the site "users" table.
My question appears to be simple: can I tell s9y to look for details such as login, password, email etc. in the site's "users" table instead of serendipity_authors?
Another related question is: when a user writes a comment, and since there are no "anonymous" users in this site, I would like his name and mail to appear automatically (from the "users" table), instead of letting him fill those fields by himself.
I thought of modifying a plugin such as serendipity_event_externalauth, which creates new entries in serendipity_authors, but I am not happy with this solution, since I will end up having the same data in two different tables. This can lead to troubles when updating or deleting a user from the site.
Is there a solution for this kind of implementation of s9y?
* BTW each group also have a forum, and it would be a shame if eventually each user record will appear in THREE tables…
I am using s9y (which is great!!!) in a communities site. Each defined group has a private blog, viewed only by members of this group and written by the group's manager.
When a new user registers to the site, his personal details are stored in the site "users" table.
My question appears to be simple: can I tell s9y to look for details such as login, password, email etc. in the site's "users" table instead of serendipity_authors?
Another related question is: when a user writes a comment, and since there are no "anonymous" users in this site, I would like his name and mail to appear automatically (from the "users" table), instead of letting him fill those fields by himself.
I thought of modifying a plugin such as serendipity_event_externalauth, which creates new entries in serendipity_authors, but I am not happy with this solution, since I will end up having the same data in two different tables. This can lead to troubles when updating or deleting a user from the site.
Is there a solution for this kind of implementation of s9y?
* BTW each group also have a forum, and it would be a shame if eventually each user record will appear in THREE tables…