Get specific forum attachments?
#1
How would I get all attachments from a specific forum? 
Reply
#2
Query the attachments table, LEFT join posts table by pid: https://github.com/mybb/mybb/blob/featur...es.php#L82 and in WHERE check the fid: https://github.com/mybb/mybb/blob/featur...s.php#L529
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)