miniBB ®  
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual | miniBB Mobile
Bugs miniBB Support Forums / Bugs /   

Page navigation links

Author Vishal
Registered
#1 | Posted: 6 Nov 2007 04:49 
When I set up the "Sort topics by:" as "New topics" in my profile, links to topic pages (2,3,4,5...) appear broken. ".html" is missing

Example: http://www.work-at-home-forum.com/2_2
Author Paul
CEO
#2 | Posted: 6 Nov 2007 09:18 | Edited by: Paul 
Yes there is such bug... Fixed now in 2.1b. Thanks for the reporting.

Manual fix: edit bb_func_vtopic.php file and locate the line saying:

if(isset($mod_rewrite) and $mod_rewrite and $sortBy==0) $urlp="{$main_url}/{$forum}_";
else $urlp="{$main_url}/{$indexphp}action=vtopic&forum=$forum&sortBy={$user_sort}&page=";


change $sortBy to $user_sorting so it says:

if(isset($mod_rewrite) and $mod_rewrite and $user_sort==0) $urlp="{$main_url}/{$forum}_";
else $urlp="{$main_url}/{$indexphp}action=vtopic&forum=$forum&sortBy={$user_sort}&page=";
Author Vishal
Registered
#3 | Posted: 8 Nov 2007 22:34 
Hi Paul,

Now the navigation urls are not mod-rewrited and appear as dynamic ones.

Vishal
Author Paul
CEO
#4 | Posted: 9 Nov 2007 04:09 | Edited by: Paul 
It is the way like they should appear if you sort by New Topics. If you check default sorting by New Topics clicking on the link (not setting this in the profile), you will see it also works that way.

The question is... why?

The mod-rewritten URL is set by default for "Newest Replies" sorting. For example it will be 1_0.html, 1_1.html etc. If we would use the same URLs for "Newest Topics" mode, they would be the same - 1_0.html, 1_1.html etc. But the page's content would be difrerent. I.e. you would refer to the same URLs but with different content.

Doesn't it remind you the Google penalties? ;-)
Author Vishal
Registered
#5 | Posted: 10 Nov 2007 04:09 
Oh got it!

Thanks.
Bugs miniBB Support Forums / Bugs / Page navigation links Top
This topic is closed. New replies are not allowed.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Attract your miniBB-community, letting members
publish their own photos with the Photo album add-on!
Photo album addon for miniBB