WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

PHPBB Single Sign On

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PHPBB Single Sign On

作者:onigoetz
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin allows to use the password from a working phpBB installation to log into a WordPress blog. or on the other side to log into phpBB with the WordPress user.

The username for the administration must be the same on the two installations.
Otherwise you will end having admins that have no privileges on the other part.

How it works

There is no actual “sync” of the users.

When the app is configured correctly. the app checks that the user who tries to log in is at least registered in one of the systems, if yes, and the password is correct : he’s logged on both systems and his account is created if missing.
On password change it should also set the password on both platforms.

WP2BB

With WP2BB, you can now define that your posts are published in a forum, so that your community can add comments directly on them.

You can add the method “wp2bb()” on your template so that you have links to your forum to add comments and a replies count

There is also a widget to list the last replies in the forums

P.S. : WP2BB was created by Alfredo de Hoces (http://www.alfredodehoces.com/)

Uninstall

To uninstall, you have a few steps to make

Go the the Plugin options, revert the “auth mode” to “DB” and not “wpbb”
If it doesn’t work go to the ACP in General -> Client communication -> Authentication

Then go to the wordpress control panel and disable the plugin.

The last step is then to go with FTP in the PHPBB folder and rename the file “common.php” to “common.wp.php” and the file “common-orig.php” to “common.php”.

Your configurations should be separated again

安装

  1. Extract the archive
  2. upload the phpbb-sso directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Configure the path to PHPBB in the options
  5. When the path is right some fields related to phpbb will appear, fill them and save.
  6. Click on “install files” to install files.
  7. If all tests are OK you can logout and login to test.

How to configure ?

there are three ways to configure it.

In the example, the root of the website is “/www/”

Example 1

Blog : /www/
Forum : /www/forum/

Path to configure:
To PHPBB from WordPress : forum/
To WordPress from PHPBB : ../

Example 2

Blog : /www/blog/
Forum : /www/

Path to configure:
To PHPBB from WordPress : ../
To WordPress from PHPBB : blog/

Example 3

Blog : /www/blog/
Forum : /www/forum/

Path to configure:
To PHPBB from WordPress : ../forum/
To WordPress from PHPBB : ../blog/

Troubleshooting

If for any reason you removed the “common-orig.php” file and can’t get your forum to work again, simply go to phpbb.com and download the complete package corresponding to your version.

in that package get the file named “common.php” and upload it to your server as “common-orig.php”

评价

此插件暂无评价。

贡献者及开发者

「PHPBB Single Sign On」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • onigoetz

帮助将「PHPBB Single Sign On」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

Roadmap

  • Uninstaller

0.9

  • supports separated databases
  • removed “mysql_*” calls – no dependency on mysql anymore
  • options page refinement
  • deleted lots of unused code
  • fixed wp2bb queries
  • fixed code style (follows PSR-2)

0.8.7

  • added wpbb_get_user_id_from_string() to replace get_user_id_from_string() as it doesn’t exist in non mulitsite installations

0.8.6

  • Fixed a bug where we could login to the ACP with a wrong password
  • Managed to make the “remember me” work on both parts
  • Fixed the duplicate username creation
  • Fixed some calls to “username” -> “username_clean”

0.8.5

  • Now includes WP2BB !!!
  • Fixed some little bugs
  • Added a way to disable the ACP Reauth

0.8

  • Cleaner admin Area
  • Added a way to patch files for the “validate_username” bug
  • Rewrote some parts involved in login the user in the two codes are now separated

0.7.1

  • Corrected a bug on new installation with the paths
  • Works with WordPress 3

0.7

  • Ability to put wordpress in a child folder of phpbb or at the same level
  • Bugfix : Enabled capital letters logins on both sides.
  • Bugfix : “Parameter 1 to wpbb_login() expected to be a reference, value given…” should be corrected.

0.6.3

  • Bugfix : Changed common.orig.php to common-orig.php to solve some problems
  • Change : Changed the match from username_clean to username, should solve some problems with the double usernames

0.6.2

  • Bugfix : Removed the backslash before the comments. was because of a security feature of wordpress that caused every entry to be backslashed. Phpbb manages it differently, and that caused a double check that added these backslashes.

0.6.1

  • Bugfix : annoying bug in the admin area, now it is possible to change db to wpdb

0.6

  • Preliminary version for the multiple databases
  • Bugfix : Captcha problem if the user makes 3 errors in his password in phpbb (reported by Ramon Fincken http://www.ramonfincken.com/ )
  • Bugfix : op_userexists function doesn’t exist (patch proposed by Brian Pan)
  • Bugfix : Blank user creation when logging in the first time from phpbb (Brian Pan tracked down the bug and I made the little fix)
  • Added options to the control Panel
  • Better install instructions.
  • Removed complicated installations steps.
  • Now Compatible with Onepress, totally new function names.

0.5

  • Enabled synchronisation

0.4.6

  • Bugfix : Blank page on admin area fix

0.4.4

  • Bugfix : Created a duplicata of wordpress user on every login
  • Bugfix : Cannot automatically create users

0.4.2

  • Bugfix : Url in options panel

0.4.1

  • Bugfix : Url to options panel

0.4

  • The login works now if the user exists in the two databases with the same password
  • New installation script
  • New Presentation of the options page

0.3

  • Bugfix : Corrected a bug wich accepted all passwords

0.2

  • Login working from wordpress
  • Options page finished

0.1

  • New options page
  • Fork of the onepress framework. dropping all framework dependencies

额外信息

  • 版本 0.9
  • 最后更新:12 年前
  • 活跃安装数量 10+
  • WordPress 版本 2.8.0 或更高版本
  • 已测试的最高版本为 3.6.0
  • 语言
    English (US)
  • 标签
    authenticationloginpasswordphpbbSingle Sign-on
  • 高级视图

评级

4.4 星(最高 5 星)。
  • 3 5-star reviews 5 星 3
  • 1 4-star review 4 星 1
  • 1 3-star review 3 星 1
  • 0 2-star reviews 2 星 0
  • 0 1-star reviews 1 星 0

添加我的评价

查看全部评论

贡献者

  • onigoetz

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗