PHP integration

In my host, I currently installed 2 Wordpress applications, 1 phpBB forum and one MediaWiki.

Is there a way to combine login so that all applications have the same credentials?

For example, I want to register only in my phpBB, and then I want to access all other applications with the specified username and password.

Even if you don’t know a single way, what other login system do you know? Pros and cons of each?

+3
source share
8 answers

when you integrate the system. Just remember 2 things:

  • Logging in
    Verify the username and password on both systems.

  • Change Password
    Update the password for both systems.

+4

, cookie , . , , .

mediawiki "LocalSettings.PHP" (Wordpress) :

.

require_once('includes/AuthPlugin.php');
require_once('extensions/AuthPress.php');

$wgAuth = new AuthPress();
$wgAuth->setAuthPressTablePrefix('evo_');
# Only include the following if you aren't using the same db as  MediaWiki
$wgAuth->setAuthPressDBServer ('localhost');
$wgAuth->setAuthPressDBName('yourWordPressDB');
$wgAuth->setAuthPressUser('mySQL user for same');
$wgAuth->setAuthPressPassword('The password');

. http://bbpress.org/forums/topic/mediawiki-bbpress-and-wordpress-integration

+3

- OpenID, phpBB, WordPress MediaWiki.

- LDAP-, phpBB, WordPress MediaWiki.

, - , , . , , . , cookie.

+2

phpBB/MediaWiki phpBB.

.

+1

, , .

, , /, - - , SQL , . , , , .

, . , .

, http://bbpress.org/documentation/integration-with-wordpress/, .

, , , , MediaWiki , , phpBB.


, , OpenID _ , / , .

0

, , , . , . - - X Y, .

0

mediaWiki. LibraryThing, MediaWiki. MediaWiki AuthPlugin.

:

  • MediaWiki (, , , , wiki)
  • mediaWiki

, , , / mediaWiki.

:

  • . , wiki.
  • , ..
0

Source: https://habr.com/ru/post/1696637/


All Articles