Enrich your miniBB-forums content, creating public files storage
with the File Bank addon! Click here to read more.
Files Bank for miniBB
miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Search | Statistics | Manual |
Bugs miniBB Community Forum / Bugs /
Short link for this topic:

Page navigation links

 
Author Vishal
Forums Member
#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
Forums Member
#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
Forums Member
#5 | Posted: 10 Nov 2007 04:09
Oh got it!

Thanks.
 
Bugs miniBB Community Forum / Bugs / Page navigation links Top
This topic is closed. You can't post a reply.
 
miniBB Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts