Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Filtering Thread By Thread Author
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #15
RE: Filtering Thread By Thread Author
It seems the URL lead to your download attachment (.rar file). Try to change the query like this:

PHP Code:
1
2
3
4
5
6
7
8
9
10
		$query = $db->query('
			SELECT t.*, f.name, a.updatetime, a.md5hash, a.uploadtime, a.aid, a.attachname, a.filename
			FROM '.TABLE_PREFIX.'threads t
			LEFT JOIN '.TABLE_PREFIX.'xtattachments a ON (a.tid=t.tid)
			LEFT JOIN '.TABLE_PREFIX.'forums f ON (f.fid=t.fid)
			WHERE t.visible=1 AND t.uid='.intval($memprofile['uid']).' AND t.closed NOT LIKE "moved|%" AND a.thumbs!="" AND t.fid IN ('.implode(',', $mnxtigp_fid_array).')'.$mnxtigp_unviewwhere.'
			GROUP BY a.tid
			'.$mnxtigp_lr.'
			LIMIT 0,'.intval($mybb->settings['mnxtigp_num']).'
		');


08-15-2010 08:30 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Filtering Thread By Thread Author - RateU - 08-10-2010, 11:37 AM
RE: Filtering Thread By Thread Author - RateU - 08-15-2010 08:30 AM

 Standard Tools
Forum Jump: