MyBB Community Forums

Full Version: Bugfix: forumdisplay - sort order -> from: the beginning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
i have found a little bug. wenn you will sort the threads by "from: the beginning" you can't switch to page 2,3 or something else. you will redirected to the forum default setting.

the other options: e.g. 20 days ago are workking fine.


so here is the little fix for this bug:

open the forumdisplay.php in your mybb root and search:
if($datecut > 0 && $datecut != 9999)

and replace
if($datecut > 0 && $datecut != 99999)

search again:
	if($datecut > 0 && $datecut != 9999)

and replace 2nd:
	if($datecut > 0 && $datecut != 99999)

the last step:
go in the acp to template-sets ยป default templates (or your using templet direction)

edit the forumdisplay_threadlist

search:
<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>


replace:
<option value="99999" {$datecutsel['99999']}>{$lang->datelimit_beginning}</option>


thats all^^
This was already reported as a bug and fixed. You can use the patched files from there

http://dev.mybb.com/issues/1409
thanks ^^
i had not searched the bugtracker. too much bugs xD

but the new pagination for forums in threads has the same problem, the datecut is missing and redirct to default settings.
push!

why mybb don't fix this bug in 1.6.3 ...
(2011-05-04, 11:12 PM)h4ppycor3 Wrote: [ -> ]push!

why mybb don't fix this bug in 1.6.3 ...

They will in 1.6.4
(2011-05-04, 11:12 PM)h4ppycor3 Wrote: [ -> ]push!

why mybb don't fix this bug in 1.6.3 ...

1.6.3 was a security release, meaning it fixed high risk security issues that could not wait. Hence, the next maintenance release was pushed up to 1.6.4 which will contain bug fixes.