Thanks @Gautam
Call to undefined function bb_update_usermeta
https://trac.bbpress.org/ticket/1436
Not posting from dashboard
new reply from dashboard not visible in forum
https://trac.bbpress.org/ticket/1437
I am having issues with permalinks as well in 2743. The forums work if I use the default permalinks (?bbp_forum=x), but if I turn on custom permalinks (/%category%/%postname/) then the forums themselves 404 (forums/forum/x). The page I setup with the list of forums works correctly with permalinks enabled, but none of the links to the forums do.
I have tried turning them on and off multiple times.
Appreciate any other ideas anyone might have.
Maybe it’s not working for you because of the permalink structure you have. Try having it simply /%postname%/
.
@Gautam : Thanks for the quick response. That did work. I would think /%category%/%postname%/ is a pretty popular structure though.
How can I generate a list of topics created by a given user?
Use wordpress function query_posts().
Then give it the parameters of author_name and post_type.
@ Gautam/JJJ
Any major updates planned soon? Want to launch a site with this plugin end of the month, so would like it if I can build in the latest and greatest. Keep it up. ^^
I was hoping there’d be a way of using bbp_has_topics() like in loop-bbp_topics.php.
@Ryan Gannon
You *can* use bbp_has_topics()
. Use the same args that you use in WP_Query->query()
.
Oh, ok. I’ll give it a go.
Update: My only problem now is that bbp_get_user_topics_started() doesn’t seem to return a query at all.
depending on when that function is used you may need to pass it the $user_id
I passed it $bp->displayed_user->id
is that id correct, and has that id (/user) created any topics?
You may want to use bbp_get_displayed_user_id()
function.
That would only work is I were on the BBPress profile for the user.
bbp_get_displayed_user_id()
echoes the value of $bbp->displayed_user->ID
, so if you’re using the variable, you can use the function.
Which page are you on then?
The BuddyPress profile, that’s why I’m using $bp->displayed_user->id not $bbp->displayed_user->ID
Are you sure it’s id
and not ID
? (in BuddyPress, because I think it should be ID
)
I have it working with bbp_has_topics(array(‘author’ => $bp->displayed_user->id)) that’s not the problem. The problem is I can’t get it to work with bbp_get_user_topics_started() because it doesn’t seem to return the query.
Doesn’t bbp_get_user_topics_started( $bp->displayed_user->id );
work?
Thanks! More to look forward to too.
just checked out the latest revision, installed locally and I seem to be missing the:
Edit | Trash | Close | Spam | Sticky | Move
against topics, I’m just seeing Edit | Trash
is this a bug? Or have they been removed intentionally?
@Rich Pedley
Try reactivating the plugin.
@Ryan Gannon
Ok, figured that out. bbp_has_topics()
doesn’t return the query. You’d have to use bbPress functions like bbp_topics()
, bbp_get_topic_title()
etc.