Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Problem with Thread Prefix (not display style)
InfraWorld Offline
Junior Member
**
Posts: 3
Joined: Mar 2012
Post: #3
RE: Problem with Thread Prefix (not display style)
(07-04-2012 08:27 PM)ZiNgA BuRgA Wrote:  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'];


Zinga thank you very much I made the changes to the file and it worked wonderfully
(This post was last modified: 07-05-2012 03:23 AM by InfraWorld.)
07-05-2012 03:23 AM
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) - InfraWorld - 07-05-2012 03:23 AM

 Standard Tools
Forum Jump: