Forums

Join
bbPress Support ForumsRequests and FeedbackPossible solution to build recent replies table

Info

Possible solution to build recent replies table

  1. Hey bbPress devs!

    How can I query the database to build a recent replies table (as on profile pages), outside the bbPress environment?
    Nothing practical is striking me at the moment.
    Would love to hear your thoughts on the subject!

  2. There are two ways to do this.

    One is to use bbPress itself and make a plugin that hooks new post, and then just quickly writes the info you want into plain html file somewhere that you just use file_get_contents to insert elsewhere.

    The other way is to use my bbdb tool which allows you to query any of the bbpress/wordpress databases outside of bbpress by just including one file.

    I think the first way is probably much easier.

  3. Hi _ck_

    Hooking into bbPress will also required me to save much information as the recent replies table will be different for each user.

    What's your bbdb tool? I am more interested into querying the database directly but I am not able to think of how I can do it other than iteratively quering the database but since it will be the first screen after login (and that too different for each user), so I really can't iteratively queries here.

  4. Found out a way! Will get back after testing ;)

    _ck_, I am still interested in your bbdb tool, let me know :)

  5. Got it done! Will share on blog and provide a link here :)

  6. You must log in to post.