bbPress

Simple, Fast, Elegant

bbPress plugin browser »

Page links for bbPress (1.0.3)

Download

Version: 1.0.3

Other Versions

Last Updated: 2007-6-28

Requires bbPress Version: 0.80 or higher

Compatible up to: 1.0 alpha build 788

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.


  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: 4 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: 4 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.