0

我有一个拥有超过 400 个注册用户的论坛。它由 vBulletin-4.0.4 提供支持。我想用 kohana-3.1 建立几个网站,但也要保留现有的论坛用户。我将为每个应用程序使用单独的数据库(我希望使应用程序尽可能独立)。
所以我的解决方案是:
步骤 1。创建特殊的应用程序users.mydomain.com,每个用户都可以在其中注册和更新他们的详细信息(生日/电子邮件/密码)。此应用程序将捕获所有更改并将它们写入论坛数据库和应用程序数据库。
步骤 2. 修改默认身份验证模块以处理论坛身份验证。vBulletin 使用 algorithm:$hash=MD5(MD5($password)+$salt)进行散列。

我在正确的方向吗?可以吗?

4

1 回答 1

0

Someone has already done this: Kohana vBulletin Bridge. You will need to contact the author of the module as the source code is no longer online. It wont be too difficult to upgrade it to 3 if you get it.

I haven't used vBulletin so I can't give you much advice on the subject, but you're right about the hashing algorithm. You'll also need to make sure your session is read and written as they are in vBulletin.

A quick search of vBulletin SSO to get you started.

于 2011-02-14T15:20:54.250 回答