bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Bbpress Latest Discussion (1.6.4)

Download

Version: 1.6.4

Other Versions

Last Updated: 2009-12-2

Requires bbPress Version: 2.0.5 or higher

Compatible up to: 2.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(23)

Your Rating

Author: Atsutane Shirane


  1. Nope I'm working with bbpress 1.0-rc2 and wordpress 2.8-beta.

    I still activated the 'Backward Compatibility option' but it gave me the same result.

    But since this morning (i updated my bbpress to the latest build) my name-based permalinks stopped working so maybe that broke something..

    Posted: 9 months ago #
  2. Still cant find what went wrong on ur side... Try uncheck the 'backward compatibility' and update yr BBpress - BbAdmin setting...

    See what will happen next...

    Posted: 9 months ago #
  3. thekmen

    Member

    Using WordPress 2.8beta 2 & bbPress RC 1, I am getting the same Warning: Division by zero in .../wp-content/plugins/bbpress-latest-discussion/BBpress.php on line 164 error.

    Posted: 9 months ago #
  4. @thekmen

    Try download this http://downloads.wordpress.org/plugin/bbpress-latest-discussion.zip

    It should be tag with 1.3.7. If this still not fix it tell me...

    Posted: 9 months ago #
  5. thekmen

    Member

    Hi Atsutane, thanks but that version didn't fix the issue either.
    Commenting out line 164 on the plugins BBpress.php does fix it though.

    // $pageno = round($total / $limit);

    Posted: 9 months ago #
  6. I get the same error on WP 2.7.1 bbpress 0.9.4

    Posted: 9 months ago #
  7. Well... $pageno = round($total / $limit); is required for url that has more then 1 page.... It wierd since it not happen to me and another 1 person...

    @Thekmen

    Can u kind enuff to put echo $total; and echo $limit; before the line 164. Above $pageno = round($total / $limit); Maybe i can figure out something from there...

    @dragunoff

    version 1.3.6 has wrong table name for bbpress 9.0.4. Try download the development version @ here

    http://downloads.wordpress.org/plugin/bbpress-latest-discussion.zip

    Posted: 9 months ago #
  8. thekmen

    Member

    Atsutane, I added

    echo $total.'-total<br />';
    	echo $limit.'-limit<br />';

    just above `
    if ($total > $limit && $total != 0) {`

    and it prints out both values twice, see below.

    0-total
    30-limit
    1-total
    -limit

    if I change $pageno = round($total / $limit); to $pageno = round($total / 30); it does work without the error.

    Posted: 9 months ago #
  9. Nvm i found the culprit already. It seem the method i use for query is wrong. It send the data as array while i need it in plain text... :( My mistake... Fix will be roll out in a minute with tag 1.3.9

    Posted: 9 months ago #
  10. thekmen

    Member

    Just updated to 1.3.9 & it works perfectly, thanks.

    Posted: 9 months ago #
  11. 1.3.9 fixed it for me, thanks for the fast support. :)

    Posted: 9 months ago #
  12. thekmen

    Member

    Is it possible to use

    <php wp_bb_get_discuss(); ?>

    and limit the number of posts returned? I am using the sidebar widget & the setting there to return the last 7 posts, but I would also like to add this function to a template returning the last 1 or 2 posts.

    Posted: 8 months ago #
  13. thekmen

    Member

    I'd also love to have a Freshness column added...

    Posted: 8 months ago #
  14. Is there a way to display threads from a single forum? Based on the info you've got on the installation page I thought

    <?php wp_bb_get_discuss(9); ?>

    I need it to display ONLY threads from forum 9. When I tried it thought it still left a bunch of other forums in the mix. Ideas?

    Posted: 8 months ago #
  15. About the FORUM listings. I want to be able to hide Child / Sub forums.

    I have a few forums, but I dont want the Subforums to display. And now I have to go in and manually hide everytime a new forum is created (They are created by users when users add a new group : Group forum)

    Could I alter the Forum Filter function in your PHP code somehow to only display Parent forums?

    Posted: 7 months ago #
  16. I made a little fix.

    Instead of excluding forums in the admin panel, I changed it so you Include the forums that you select. That way if any new forums are created (with for example Buddypress groups) they will not appear.

    It was really simple really. First you go into the plugin and edit bbpress.php
    Then you are looking for the followin function:

    function bbld_filter_forums()

    In that function you can find this line:

    $where = "AND ".$bbld_option['prefix']."topics.forum_id NOT IN ('$forum_ids')";

    Replace with this:

    $where = "AND ".$bbld_option['prefix']."topics.forum_id IN ('$forum_ids')";

    Basically remove the "NOT". That's it.
    And I think, Choosing forums to display rather than excluding might be a better option as defaults for this plugin.

    Posted: 7 months ago #
  17. pikatore

    Member

    What the hell?

    All the plugin folders downloaded by Plugin Browser are Read Only!!! I can't modify or delete any of them or even their contents in FTP! ARGHGHHH WHAT THE HELL.

    Posted: 7 months ago #
  18. _ck_

    Moderator

    They aren't read-only, they are owned by PHP which superceeds your user login in FTP.

    Go to my-plugins and chmod it 777 and see if that helps.

    If not, it has to be deleted from PHP, your host control panel might be able to delete them.

    Posted: 7 months ago #
  19. Hi!

    wp 2.8.4, bbpress 1.02, bbld 1.6.2, PHP5

    I had a cannot yet handle MBCS in html_entity_decode()!... in bbpress.php line 423 error whenever I tried to use the widget to show the latest posts.

    I solved the problem by removing that html_entities in line 423. I only had this error on my live installation, in my local installation, same configuration, the plugin worked fine.

    Posted: 4 months ago #
  20. Hi

    Just did polish (pl_PL) translation for this great plugin.

    Should I send it thru the "Add your plugin!" form?

    Regards,
    Kuba

    Posted: 4 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.