This plugin adds cute little page links next to the topic title in topic lists.
bbPress plugin browser »
Page links for bbPress (1.0.3)
Download
Version: 1.0.3
Last Updated: 2007-6-28
Requires bbPress Version: 0.80 or higher
Compatible up to: 1.0 alpha build 788
Average Rating





Your Rating
Author: Sam Bauers
-
i didnt get what this plugin do please explain more for me thx
Posted: 1 year ago # -
Warning: Division by zero in /home/mciarlo/public_html/forum/my-plugins/page-links.php on line 75
Help?
Posted: 1 year ago # -
same here.. and no answer for eight months >.<
Posted: 4 months ago # -
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 #
Add a Comment
You must log in to post.