MyBB Community Forums

Full Version: Pagination Broken After Upgrade to 1.6.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Pagination after upgrade to 1.6.1 no longer works correctly. This never used to be an issue prior to the upgrade but 1.6.1 files bust the boards up.

Basically, this applies to multipage threads. You are for example on page 2 and want to go to page 3, you click on the respective button (button labelled "3") but the button contains a hyperlink to the same page you are on, not to the page it should link to. So you want to navigate to the next page, but remain on the same one.

Tech savvy users can just manually change the URL in the address bar, but it still makes the navigation through multipage threads dysfunctional.
URL??
Please exercise caution browsing through this board. I am linking a page that doesn't contain offensive material, but please be advised that there is a lot of blood and gore on the site!

http://www.bestgore.com/forum/gore-pictu...424-4.html

Hover over "Page 1" button to see that it links to the same page you are on. My members noticed it right away and brought it up in this thread:

http://www.bestgore.com/forum/report-a-b...-3395.html

Again, this was not happening prior to upgrade to 1.6.1
Ugh, horrible site :-X

Quote:Again, this was not happening prior to upgrade to 1.6.1

MyBB 1.6.1 stopped adding ?page=1 to the first multipage selection link, which in turn reveals a bug in the "SEO Links" plugin you're using - it just adds the current page number back for URLs to the current thread that don't have a page number specified.

Another new feature in MyBB 1.6 is the forum pagination (the little blue arrow in the breadcrumbs). If you click on that you'll also notice that the "SEO Links" plugin does not actually replace those links, they still say forumdisplay.php?fid=x&page=5 etc.

"SEO Links" aka MyBB SEO / Spicefuse SEO is buggy and quite simply not compatible with MyBB 1.6.
You all could not resist, could you? I issued warning before the link and only posted links that don't contain questionable material, but curiosity got the best of you, didn't it? You couldn't help but see for yourself, disregarding the warning and now you feel offended. This is a news website. It reports on actual events that take place at various places around the world. Not posting about it would not mean these things don't happen. Thanks to this website, there are many former reckless drivers who saw how fragile human body is and no longer drive recklessly. Also, thanks to this website there are safer communities after perpetrators have been identified through cooperation of the community. There is a very good reason why a website like that exist and it contributes to better, safer societies, but that's beyond the point.

The issue with broken pagination started occurring after upgrade to 1.6.1 - all previous versions, including 1.6 worked fine. Is there anything a guy could do to make it work again?
frostschutz explained why it's broken after the upgrade, something changed in 1.6.1 that has broken the plugin. The plugin isn't supported or actively developed, it's not fully compatible with 1.6, so you'll need to fix the code yourself, as the author isn't around to do it.
(2010-12-29, 11:57 AM)Tranny Wrote: [ -> ]Is there anything a guy could do to make it work again?

You can disable the SEO Links plugin. It's unmaintained, so unless you know PHP and can fix the plugin yourself, expect more things to break over time. Alternatively you can revert the change in inc/functions.php that revealed this plugin bug.

You can also have a look at the Google SEO plugin. It does similar things for URLs as the SEO Links plugin, it's maintained, and it's compatible with MyBB 1.6.
Sounds good, will give this a try. Thanks for your help guys. Frostschutz, could you elaborate on the following:

(2010-12-29, 12:08 PM)frostschutz Wrote: [ -> ]Alternatively you can revert the change in inc/functions.php that revealed this plugin bug.

As a side note - does open source phylosophy this script follows allow developers to modify plugins of other programmers and share the modified (aka fixed, up to date) version with the community? If so, how would one go about it?
It's a shame really with Google SEO. That plugin doesn't work at all. So much hassle to have it all set up only to find out that it doesn't work at all. Shame.
Google SEO works fine, loads of forums use it...
Pages: 1 2