Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Problem with Thread Prefix (not display style)
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Problem with Thread Prefix (not display style)
Gah, bug.  Thanks for pointing out.

If you want to fix it, open up inc/xthreads/xt_forumdhooks.php
Find and delete:

PHP Code:
		if(!isset($mybb->input['sortby']) && !empty($forum['defaultsortby']))
			$mybb->input['sortby'] = $forum['defaultsortby'];

Then find:

PHP Code:
if($fid < 1 || !($forum = get_forum($fid))) return;

Add below:

PHP Code:
	if(!isset($mybb->input['sortby']) && !empty($forum['defaultsortby']))
		$mybb->input['sortby'] = $forum['defaultsortby'];


My Blog
07-04-2012 08:27 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Problem with Thread Prefix (not display style) - ZiNgA BuRgA - 07-04-2012 08:27 PM

 Standard Tools
Forum Jump: