Skip to:
Content
Pages
Categories
Search
Top
Bottom

show user topic subscriptions

Published on March 7th, 2017 by brettdarnesh

Is there a way to add a list of topics users are subscribed to on a page so they can manage it?

I created a custom profile editor so they don’t go into the wordpress backend when users click on their forum gravatar seemed to be default on my installation. Or is there a front end profile editor I can use like in this forum (I can’t seem to find a plugin or anything for it)

bbp_new_reply action not firing when user replies to embedded thread

Published on March 7th, 2017 by Ryan Giglio

I’m working an educational website that produces video content and uses a BBPress forum for discussion rather than the native WordPress comments. Here’s how it works:

I have a hook on wp_insert_post that creates a new BBPress topic when a new video post is created and saves this new topic_id to a _comment_topic_id meta field.

In my single-video.php template where the video is displayed, I’m using the BBPress shortcode to display the topic thread and reply form for people to post comments.

All of this works great! I’m just having one problem – the “subscribe” feature of BBPress isn’t working when people post replies via the Video Single page. The reply is posted just fine, but subscribed users don’t receive a notification. If you’re not familiar – when a user subscribes to a thread, they receive an email whenever someone replies to the thread. This is still working fine when someone posts a reply via the actual Thread single page – it’s only a problem on the thread embedded via the shortcode on the Video single page.

I’ve tried digging into the core and I got so far as to discover that the bbp_new_reply action isn’t firing – BBPress uses a function called bbp_notify_topic_subscribers hooked into bbp_new_reply to send the notifications and that function isn’t running at all when a reply is made via the Video single page.

It seems that BBPress uses some hidden inputs to determine what actions to run after a reply has been submitted, but those seem to be included properly through the shortcode. These appear at the bottom of the Topic single form (that works properly);

    <input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="422573">
    <input type="hidden" name="bbp_reply_to" id="bbp_reply_to" value="0">
    <input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply">
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="83ea236cd1">
    <input type="hidden" name="_wp_http_referer" value="/forums/topic/SLUG/">

And these appear at the bottom of the Video single form (that doesn’t)

    <input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="422573">
    <input type="hidden" name="bbp_reply_to" id="bbp_reply_to" value="0">
    <input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply">
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="83ea236cd1">
    <input type="hidden" name="_wp_http_referer" value="/videos/SLUG/">

I’m at a loss for how to debug this issue further and could really use some help. BBPress has all kinds of page type/post type checks in the core that I’ve been ducking and weaving around, but this one has got me stumped. I suspect the problem is that SOMEWHERE it’s checking the post type of the current post, seeing it’s a video instead of a topic and bailing before the action runs, but I have no idea how or where to find that and how to patch around it.

Thanks!

only admin profile visible?

Published on March 7th, 2017 by Dan

my permalinks are set to month & name. my .htaccess has only the default WP rewrite rules. I have bbPress 2.5.12, jetpack 4.7, and woocommerce 2.6.14.

When i visit mysite/forums/topic/* I get my topic.
When i visit mysite/forums/user/admin I get the admin profile.
When i visit mysite/forums/user/anyone-else I get the site homepage.

This works wether I am logged in or out. I have no security plugins or cache plugins.

Please: Why is this happening and how do I fix it?

MyBB to Buddpress Conversation Error

Published on March 7th, 2017 by Saravanan

When i move datas from MyBB to Buddypress Theme I Got Error Like Below

Repair any missing information: Continue

Conversion Complete

No reply_to parents to convert

No replies to convert

No tags to convert

No super stickies to stick

No stickies to stick

No topics to convert

No forum parents to convert

No forums to convert

No passwords to clear

No users to convert

Starting Conversion

BBPress, Buddypress, and breadcrumbs

Published on March 7th, 2017 by dllawrence

This is a clean install

WordPress 4.7.3 – BBPress 2.5.12 – Buddypress 2.8.1

I have installed with Twentyseventeen theme and with BeTheme. Everything works fine except I have an problem and was hoping someone could help point me in the right direction to resolve an issue with the breadcrumbs.

When I am viewing the forums here is the breadcrumb string:

Home > Forums > “Forum name” > “Topic name”

That is exactly what I want. However, when I am viewing Buddypress pages, the breadcrumbs are:

Home > Forums > “Username”

I would prefer the breadcrumbs to be as follows:

Home > Members > “Username” when someone is viewing Buddypress pages.

Does anyone know how to achieve this????

Thanks in advance for your help.

Help with dynamic button positioning

Published on March 6th, 2017 by fastk9dad

I am looking to make my “New Topic” button below follow the pagination, by that I mean if there is only one page and the pagination links don’t exist I want the “New Topic” button to appear all the way to the right. If there is pagination I want it to sit at it’s left most side like my example below. Right now I’m just placing it there in a static position which means on pages with no pagination it’s just floating in space.

Example position:
button position

This is the static code I’m using for the button:

#bbpress-forums .new-topic {
    margin-top: -41px;
    margin-right: 80px;
    float: right;
}

bbp_reply_admin_links

Published on March 6th, 2017 by theredeclipse

Hi, I want to adapt forum styles for my theme. For example function bbp_reply_admin_links calls a bunch of links with different classes, like bbp-topic-edit-link bb-topic-close link and go on.

Guess only proper way to it via functions.php, but i’m quite new to php. Can someone show an example?

Using bbpress and LearnDash (LMS)

Published on March 6th, 2017 by A.

Hello!

When using bbpress and Learndash, it is possible to set a forum to “privat” and link it up to a specific Learndash course. Which is working absolutely fine.

But – as a “participant” who is not enrolled to that specific learndash course, it is possible for me to see all the topics, themes and replies of this forum. I can’t reply to it or create a new topic but still I’m able to read everything.

Although it is set to “private” and linked up to a specific LD course.

Is it possible, that a “participant”, who is not enrolled into a LD course, can’t see any replies, themes or topics of this specific forum?

Best,
Anke

Different user for WordPress and bbpress

Published on March 6th, 2017 by alexpreyer

I have an WordPress site where we have one login for many visitors, because not everyone should see the content.
Inside this WordPress installation is also bbpress installation. There we want to have each user separetly logged in with his own username. Because many users will login in the WordPress site, but only a few will use the forum we choosed this way.
Is it possible to get a separate login for bbpress when already logged in WordPress?

Thanks all for your help

Deleting BBpress website

Published on March 6th, 2017 by patlas1

Hi,

I have a problem here that I don’t know how to resolve. My page patlas.org/college seems to be under the influence of BBpress. However, it should be no different than patlas.org/career or patlas.org/company. I tried deleting the patlas.org/college page once and recreating it, but it continues to direct me to a BBPress page. I uninstalled BBpress, but that didn’t resolve it either. Any advice?

Best,

Patlas

Skip to toolbar