H
H
hrvasiliy2014-11-04 00:06:03
CMS
hrvasiliy, 2014-11-04 00:06:03

How to use your database?

There is a site with registration and authorization of users, is it possible to hook up WP and a forum to it, for example, SMF so that one user database is used? (Accordingly, when switching between the forum, blog and main site, the user remained logged in) If possible, please tell me how? I would be very grateful for examples. Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
KzLIFE, 2014-11-04
@KzLIFE

The structures of your database in the studio

A
Alexander Tokmakov, 2014-11-04
@calliko

session_start; if on one domain, then everything is simple. Otherwise, you will have to dance with a tambourine.

I
Igor Vorotnev, 2014-11-06
@HeadOnFire

WordPress allows you to use a third-party wp_users table, but then you need to rewrite the WP_Users class to fit your structure and data (inherit or replace). You can make your own oAuth server, one common for all resources - site, forum, WP. In order to avoid additional dances with a tambourine over the forum, I would use BBPress - a forum engine based on WordPress. It will use the same user mechanism as WP, which means less work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question