(not a mycode request) - Edit Search Function
I think that this is actually in the member php.

On or about line 1452 there is this query:

$query = $db->simple_select("threads", "tid", "fid IN (0$flist) AND visible = 1", array('order_by' => 'lastpost', 'order_dir' => 'DESC', 'limit' => '1'));

You could try changing the variable (0$flist) to something like ('1','2','3'). If you do decide to edit a core file I suggest you use the patches plugin as it makes upgrades much easier.

Code not tested.
Random Fish and Sims Maniac
Help MyBBSupport help you - remember to mark your threads as solved


Messages In This Thread
RE: (not a mycode request) - Edit Search Function - by Leefish - 2014-04-04, 03:51 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)