Skip to:
Content
Pages
Categories
Search
Top
Bottom

Possible solution to build recent replies table

  • 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!

Viewing 4 replies - 1 through 4 (of 4 total)

  • _ck_
    Participant

    @_ck_

    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.

    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.

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

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

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar