问题标签 [bbpress]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
456 浏览

wordpress - 无法安装 bbpress 主题

我遇到了 wordpress 和 bbpress 插件的问题。我需要安装一个 bbpress 主题,但我似乎无法让它们出现在管理员中,尽管我把它放在了正确的目录中。我也尝试过其他主题,结果相同。

0 投票
1 回答
877 浏览

wordpress - (wordpress) Displaying Cubepoints and Ranks in bbpress replies

i've been searching for a while now on how to show Cubepoints Points and Ranks in bbPress replies right below the user avatar and name...

Found the template file where to show the info, tho not sure this would be the correct one to grab the reply-author info, the "loop-single-reply.php" (using the default bbpress template files as a child-theme) and just bellow bbp_reply_author_link(); i'm placing the output (correct me if i'm wrong), and i discovered the functions to calculate and display Cubepoints and Ranks (cp_displayPoints($user->ID); & cp_module_ranks_getRank($user->ID)), correct me if i'm wrong again ^^

The question is, since working with bbpress is way more harder then wordpress due to the lack of easy to reach documentation (like wordpress codex), how can I get the reply-author ID and display the Cubepoints and Ranks, am I in the right way? what am I missing? thank you in advance!

0 投票
1 回答
136 浏览

wordpress - 我如何使用 bbp_get_reply_author_role()?(WordPress/bbpress)

无法弄清楚如何使用 bbp_get_reply_author_role(),我真的需要它,在尝试回显它时返回错误,而且我找不到像这样的 bbpress 模板标签的任何文档 =/ 任何帮助?

0 投票
1 回答
1215 浏览

wordpress - Where do I upload bbPress theme when installed as WordPress plugin?

I have a WordPress installation with bbPress plugin installed. I'm wondering where shall I upload additional WordPress themes so they will not be overwritten with bbPress upgrades?

The most straitforward guess would be wp-content/plugins/bbpress/bbp-themes/ dir, however there's an index.php inside that states:

ok. I uploaded theme there but I can't find a place to switch theme. Went to Admin --> Settings --> Forums but nothing there. I even tried to create a bbp-themes dir inside of wp-content/themes and upload theme there but still no results.

Any help will be appreciated.

0 投票
0 回答
174 浏览

bbpress - 登录/注册论坛

我在子目录“new”的域上安装了带有 bbpress 2 插件的 worpdress。我在菜单中添加了指向我的私人论坛的链接。现在:如果我登录到管理面板,我可以在现场访问论坛、阅读主题、发布消息等。但是当我注销并单击论坛链接时,我收到错误:“/new/forums/forum/qa / 在此服务器中未找到”。

为什么当我登录时我可以使用论坛而当我退出时 - wp 找不到论坛?我想要私人论坛 - 和未登录的注册/登录表格。

0 投票
1 回答
2087 浏览

php - bp_get_options_nav 外组?

是否可以为特定组调用 bp_get_options_nav() ?我需要在具有已定义帖子类型的每个帖子中获得相同的组内导航。

帖子通过 slugs 与 Groups 相关联,并且该组都具有 post id 的 meta 和 post 具有 group id 的 meta (组是从帖子创建的),我试图使它们之间的导航无缝。

0 投票
1 回答
3185 浏览

wordpress - 如何使 bbPress 论坛页面使用自定义页面模板

我创建了自定义页面模板 bbpress.php,以便我网站的论坛部分将显示一个侧边栏。

我只是不知道如何实现它。

任何帮助都会很棒。谢谢!

0 投票
1 回答
885 浏览

php - 如何在 Wordpress 循环中只运行一次 PHP 代码?

我正在尝试在 bbpress (wordpress 论坛)中循环运行一些 PHP 代码

我试图运行的代码是一个侧边栏:

我希望它只在第一个回复下方显示一次,在第二个、第三个回复等之后不再显示。

我怎样才能做到这一点?

0 投票
1 回答
63 浏览

wordpress - 如何在 bbpress 中将类应用于我的主题行?

我今天早上安装了 bbpress。我一直在慢慢地将它融入到我的 wrpdress 211 儿童主题中。我注意到的一件事是,我创建的示例置顶帖没有收到添加到其中的置顶类。

到目前为止,我所做的是将存档论坛、页面主题标签、侧边栏 bb-tagcloud、单论坛、单主题、单用户和分类主题标签复制到我的子主题中并格式化每个页面都与我现有的主题相匹配。如果我使用 bbpress 主题在实时预览中查看我的网站,我会看到 Sticky 类正在应用于粘性主题。我不确定为什么使用我的孩子主题没有发生这种情况?

我刚刚注意到所有类型的类都没有应用于各个主题行?使用实时预览查看同一页面,我看到应用了以下类:2019 年后主题类型-主题状态-发布 hentry 奇数超级粘性 bbp-parent-forum-1998 user-id-1。

而在我的孩子主题中,我完全没有应用任何课程。

0 投票
2 回答
732 浏览

wordpress - 如何在论坛帖子上方显示 bbpress Super Sticky 或 Sticky 帖子?

我希望能够在论坛帖子上方显示 Super Sticky 或 Sticky 帖子。换句话说。我将在页面上发布帖子,并且超级/粘性帖子将在那里。但是,在帖子列表的上方,我也希望在那里有超级/粘性帖子。有点像“特色讨论”类型的部分。