Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress 2.0 – Updates

Viewing 25 replies - 326 through 350 (of 1,184 total)
  • @intimez

    Participant

    Thanks @Gautam

    Call to undefined function bb_update_usermeta

    https://trac.bbpress.org/ticket/1436

    Not posting from dashboard

    @intimez

    Participant

    new reply from dashboard not visible in forum

    https://trac.bbpress.org/ticket/1437

    @chuckmac

    Member

    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.

    @gautamgupta

    Participant

    Maybe it’s not working for you because of the permalink structure you have. Try having it simply /%postname%/.

    @chuckmac

    Member

    @Gautam : Thanks for the quick response. That did work. I would think /%category%/%postname%/ is a pretty popular structure though.

    @ryangannon

    Member

    How can I generate a list of topics created by a given user?

    @willabee

    Member

    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. ^^

    @ryangannon

    Member

    I was hoping there’d be a way of using bbp_has_topics() like in loop-bbp_topics.php.

    @gautamgupta

    Participant

    @Ryan Gannon

    You *can* use bbp_has_topics(). Use the same args that you use in WP_Query->query().

    @ryangannon

    Member

    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.

    @rich-pedley

    Member

    depending on when that function is used you may need to pass it the $user_id

    @ryangannon

    Member

    I passed it $bp->displayed_user->id

    @rich-pedley

    Member

    is that id correct, and has that id (/user) created any topics?

    @ryangannon

    Member

    Yes and yes.

    @gautamgupta

    Participant

    You may want to use bbp_get_displayed_user_id() function.

    @ryangannon

    Member

    That would only work is I were on the BBPress profile for the user.

    @gautamgupta

    Participant

    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?

    @ryangannon

    Member

    The BuddyPress profile, that’s why I’m using $bp->displayed_user->id not $bbp->displayed_user->ID

    @gautamgupta

    Participant

    Are you sure it’s id and not ID? (in BuddyPress, because I think it should be ID)

    @ryangannon

    Member

    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.

    @gautamgupta

    Participant

    Doesn’t bbp_get_user_topics_started( $bp->displayed_user->id ); work?

    @ryangannon

    Member

    @johnjamesjacoby

    Keymaster

    Thanks! More to look forward to too. :)

    @rich-pedley

    Member

    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?

    @gautamgupta

    Participant

    @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.

Viewing 25 replies - 326 through 350 (of 1,184 total)
  • The topic ‘bbPress 2.0 – Updates’ is closed to new replies.
Skip to toolbar