如何将 phpBB 与 WordPress 集成

发布于 2024-11-09 18:19:39 字数 132 浏览 3 评论 0原文

有没有办法将 phpBB 与 Wordpress 集成。我已经有一个 WordPress 博客,我需要将 phpBB 集成到其中。我想同步phpBB和wordpress的用户表。用户可以通过登录任何一个站点来访问这两个站点。谁能帮我解决这个问题...

Is there any way to integrate phpBB with Wordpress. I already have a wordpress blog and I need to integrate phpBB to it. I want to synchronize the user table of both phpBB and wordpress. User can access both sites by logging into anyone of the sites. Can anyone help me on this...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

柠檬 2024-11-16 18:19:39

可以集成/同步用户表。甚至还有一个插件,请参阅 WP phpBB Bridge

顺便说一句:我同意,作为一个独立的论坛,phpBB 是迄今为止最好的开源/免费解决方案。对于 WP,还有出色的 simple:press 论坛。使用它代替 phpBB 绝对更适合未来,一次设置所需的维护更少,并且更容易以光学方式集成到站点中。一开始它可能看起来很丑,但是它的 css 非常灵活,只要稍加修改,你就可以很好地集成它。

编辑

刚刚收到赞成票,我重新审视了这个答案。它已经有 2 年历史了,我想补充一点,考虑到开发团队最近的决定,我不太愿意推荐 simple:press over go the extra mile 并集成 phpBB...

You can integrate/synchronize the user tables. There's even a plugin for that, see WP phpBB Bridge.

As an aside: I agree that as a standalone forum, phpBB is by far the best opensource/free solution. For WP, there's also the excellent simple:press forum. Using that instead of phpBB is definitely more future-proof, less maintenance requiring once setup and easier to optically integrate into the site. It might look pretty ugly at first, but its css is very flexible and with a bit of tinkering, you can integrate it very well.

EDIT

It having just received an upvote, I revisited this answer. And it being 2 years old, I want to add that given recent decisions of the dev team, I feel less inclined to recommend simple:press over going the extra mile and integrating phpBB...

坏尐絯℡ 2024-11-16 18:19:39

我认为 BBPress 论坛是与 WordPress 集成的最佳主意。我最近将 BBPress 论坛与我的 WordPress 博客集成在一起。您可以从此处获取添加 BBPress 论坛的指南 http ://www.bloggingalerts.com/2011/11/how-to-integrate-forum-with-wordpress.html

I think BBPress Forum is best idea to integrate with wordpress. I recently integrate the BBPress Forum with one my wordpress blog. You can get guide for adding BBPress Forum from here http://www.bloggingalerts.com/2011/11/how-to-integrate-forum-with-wordpress.html

口干舌燥 2024-11-16 18:19:39

WP-United 提供单点登录和模板集成模块。它会自动执行这两项操作。

WP-United provides modules for both single sign-on and template integration. It does both of these automatically.

笔落惊风雨 2024-11-16 18:19:39

好的,严格按照这些步骤操作,这花了我几天的时间才解决。

  1. 正常安装 wordpress 和 phpbb。
  2. 确保您已退出 WordPress(否则您的 phpbb 标题顶部将出现一个空白,即 WordPress 管理栏所在的位置)。
  3. 现在转到您的 WordPress 博客页面(当您退出 WordPress 管理员时)并右键单击,转到查看源代码。
  4. 从页面顶部复制源代码,直到您看到类似页面内容等的 div(根据您的主题而有所不同),请记住我们只需要标题。
  5. 现在将其粘贴到 phpbb 模板中的overall_header.php 的顶部。
  6. 现在转到您的 phpbb 管理员,然后转到样式,然后转到模板,在当前模板上单击刷新,以便通过我们所做的更改重新缓存overall_header.php。
  7. 你可以用同样的方式做页脚,从你想要使用的wordpress页面复制页脚html,并将其添加到overall_footer.php中。
  8. 您可以通过将博客中的 css 文件链接到 phpbb 来获得相同的样式。

您现在应该能够链接到您的 phpbb 并且它将有一个 wordpress 标头。

Ok, follow these steps exactly, this took me days to work out.

  1. Install wordpress and phpbb as normal.
  2. Make sure you are logged out of wordpress (otherwise you will get a gap at the top of your phpbb header, where the wordpress admin bar would go).
  3. Now go to your wordpress blog page, (when you are logged out of wordpress admin) and right click, go to view source.
  4. Copy the source from the top of the page until you see a div like page content etc (will vary on your theme), remember we just want the header.
  5. Now paste that right at the top of your your overall_header.php in your phpbb template.
  6. Now go to your phpbb admin, and go to styles, then templates, click refresh on your current template, so that the overall_header.php will be re-cached with the changes we have made.
  7. You can do the footer in the same way, copy the footer html from the wordpress page that you want to use, and add it to overall_footer.php.
  8. You can ever get the same styles by linking your css file from your blog to phpbb.

You should now be able to link to your phpbb and it will have a wordpress header.

笑忘罢 2024-11-16 18:19:39

我已使用 wp-phpbb-bridge 执行以下步骤:

1)安装后插件,激活它;

2)在插件设置中设置正确的phpbb目录路径。

3)进入Widgets并将您需要的Phpbb Bridge Users(或哪一个)放入侧边栏中。

然后用户(登录或其他数据)将自动同步。

这个方法对我有用。

i have used wp-phpbb-bridge with these steps:

1) after installation of the plugin, activate it;

2) set the correct paths of phpbb directory in the plugin's settings.

3) go to Widgets and put the Phpbb Bridge Users (or which one) you need into the sidebar.

then the users(login or other data) will be automatically synchronized.

this method worked for me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文