Issue with sorting forum by Last Post
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #11
RE: Issue with sorting forum by Last Post
Because it's not XThreads "issue", I've moved this thread to Modifications forum. I hope you don't mind.

07-13-2012 05:44 AM
Find all posts by this user Quote this message in a reply
brad-t Offline
Member
***
Posts: 120
Joined: Apr 2011
Post: #12
RE: Issue with sorting forum by Last Post
Yes, thanks you. It's been reported as a bug on MyBB.
07-13-2012 06:10 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #13
RE: Issue with sorting forum by Last Post
Because it seems that you use the main page of usercp a lot, if you use the default MyBB's thread prefix, maybe this part of usercp.php is interesting for you:

PHP Code:
3385
3386
3387
3388
3389
3390
3391
3392
// If this thread has a prefix...
if($thread['prefix'] != 0)
{
	$query = $db->simple_select('threadprefixes', 'prefix, displaystyle', "pid='{$thread['prefix']}'");
	$threadprefix = $db->fetch_array($query);

	$thread['displayprefix'] = $threadprefix['displaystyle'].' ';
}

... and if you use the thread subscriptions:

PHP Code:
3212
3213
3214
3215
3216
3217
3218
3219
// If this thread has a prefix...
if($thread['prefix'] != 0)
{
	$query = $db->simple_select('threadprefixes', 'prefix, displaystyle', "pid='{$thread['prefix']}'");
	$threadprefix = $db->fetch_array($query);

	$thread['displayprefix'] = $threadprefix['displaystyle'].' ';
}


07-13-2012 06:34 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: