AFAICT this will only show threads in the same forum.
How can I make this show threads from any forum?
Or how can I make this show threads in forums that are in the same category?
Thank You.
Remove
t.fid='{$thread['fid']}' AND from this line:
https://github.com/mybb/mybb/blob/featur....php#L1090 (or a similar line above if you use PostgreSQL).
WHERE t.fid='{$thread['fid']}' AND t.tid!='{$thread['tid']}' AND t.visible='1' AND t.closed NOT LIKE 'moved|%'{$own_perm} AND MATCH (t.subject) AGAINST ('".$db->escape_string($thread['subject'])."') >= '{$mybb->settings['similarityrating']}'
I don't think I'm using PostgreSQL. I think I'm using MySQL.
So this is all I have to remove from showthread.php
t.fid='{$thread['fid']}' AND
Will removing that show related threads from any forum or just threads in forums within the same category?
I'd like it if I could do it both ways if possible but I'll take anything I can get.