PHP forum software that integrates easily with existing website? [closed]

非 Y 不嫁゛ 提交于 2019-12-05 07:16:39

If you are going for a stable, popular implementation of forum software, in almost all cases it will be a better idea to use the forum's user authentication rather than your own.

That said, if you are hellbent on using your own authentication system, you could probably keep the two isolated but combined. What I mean is that in the registration system for your own software, call into the forum's registration method. This way, once you register on your website, it will create an account on the forum software as well.

If you wanted to allow one authentication session to authenticate both onto your website and the forum, you would have to load the forum's session information in upon login. Many forum software implementations out there have hook-ins that you can call. SMF, from what I remember, had an API that allowed you to perform many of these tasks.

Do you have the time and resources to write your own? In my experience, integrating an open-source solution into a pre-existing system can take up more time than creating one from scratch.

I'm not sure how efficient this is, since I really just recommend using your forum's user system for this sort of task, but you can technically store the user's ID in a column/table in your database and reference to it from there.

You can use the Single Sign On feature of Simple Machines if you wish. This is exactly what you should do to integrate smoothly a software to another one. Alternatives are also Openid, but it's harder to implement.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!