I have an existing registration process on the site and would want to integrate JForum registration in that process. Is this possible and where can I look to understand how to do this? [originally posted on jforum.net by Anonymous]
Yes, you can. There is a LoginAuthenticator interface you can use, but I highly recommend to try version 2.1.5 (still in development, so you have to get from cvs - http://www.jforum.net/development.jsp ).
Thanks for the reply Rafael. I really appreciate it.
Ok, using Login Authenticator.
I query my database for username and password. It works. I modified the mysql_generic.sql to point to my tables, and I merged my database's tables with the ones of Jforum.
I logged in a user which has id=1 in my users table and it logged him as a Anonymous. then I logged in the user with id=2 in my table and it logged in the user as Admin.
Then I Logged in the user which has id=3 and it was an error.
Do I have to create the user in both tables when I create it in my system? (both tables= my users table and jforums users table)
Is it smart to merge the two tables into one?
I don't care changing the queries on my system to point to user_id instead of id and to point to user_email instead of email.
Thanks for the feedback.
[originally posted on jforum.net by leonardovarela]