bbPress

Simple, Fast, Elegant

bbPress plugin browser »

Page links for bbPress (1.0.4)

Download

Version: 1.0.4

Other Versions

Last Updated: 2008-10-6

Requires bbPress Version: 0.80 or higher

Compatible up to: 1.0 alpha build 1773

Author Homepage »

Plugin Homepage »

Average Rating

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

Your Rating

Author: Sam Bauers

This plugin adds cute little page links next to the topic title in topic lists.

The functionality of this plugin is built-in to bbPress 1.0 - do not use this plugin with bbPress 1.0, use the topic page links function instead.


  1. i didnt get what this plugin do please explain more for me thx

    Posted: 1 year ago #
  2. Warning: Division by zero in /home/mciarlo/public_html/forum/my-plugins/page-links.php on line 75

    Help?

    Posted: 1 year ago #
  3. monstr

    Member

    same here.. and no answer for eight months >.<

    Posted: 7 months ago #
  4. The division by zero error must happen because the front_page_topics plugin must have been installed at some point and removed. Therefore line 65 is passing as true for some reason and line 66 makes $perPage set as null/zero.

    So to solve the division by zero, make a new line 67 after

    if ($perPage = bb_get_option('front_page_topics')) {
    		$perPage = $perPage['topic-page'];

    and make it say
    if (!$perPage) {$perPage = bb_get_option('page_topics');}

    so the whole new block looks like this:

    if ($perPage = bb_get_option('front_page_topics')) {
    		$perPage = $perPage['topic-page'];
                    if (!$perPage) {$perPage = bb_get_option('page_topics');}
    	} else {
    		$perPage = bb_get_option('page_topics');
    	}
    Posted: 7 months ago #
  5. This plugins functionality is being rolled into bbPress 1.0 - without the errors : )

    Posted: 1 month ago #
  6. Nekita

    Member

    First off, thanks for integrating "Page links for bbPress" into the new Alpha2, I think it's a very good feature.

    However, there seem to be some issues still.
    It seems to randomly assign page numbers to topics (see example). The marked thread has in fact five pages, but the correct number is only shown in the topic page (screenshot No.3):

    1. Front Page View:
    http://i259.photobucket.com/albums/hh308/Nekita79/bug1.jpg

    2. Forum View:
    http://i259.photobucket.com/albums/hh308/Nekita79/bug2.jpg

    3. Topic View:
    http://i259.photobucket.com/albums/hh308/Nekita79/bug3.jpg

    Posted: 1 month ago #
  7. Nekita

    Member

    Ok, it's quite obviously a problem with the TopicsPerPage Plugin ( http://bbpress.org/plugins/topic/page-links-for-bbpress/ ).

    Posted: 1 month ago #
  8. Nekita

    Member

    This one of course: http://bbpress.org/plugins/topic/front-page-topics/page/2/

    Posted: 1 month ago #
  9. version 0.0.2 of topics-per-page should fix the problem with bbPress 1.0a2 and this page-links plugin

    Posted: 1 month ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.