Quote:
Originally Posted by albarq
ya, i have the last plug-in
see this example for your code
PHP Code:
## GET LATEST THREADS ##
SELECT thread.*,thread.iconid AS threadiconid $previewfield
FROM ".TABLE_PREFIX."thread AS thread
LEFT JOIN ".TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
$previewjoin
WHERE open <> 10
AND forumid NOT IN (0$limitfids)
AND thread.visible = '1'
AND deletionlog.primaryid IS NULL
ORDER BY lastpost
DESC LIMIT 10");
|
The only reason I can see for it showing the threads to people who aren't allowed to see them is that you have not got the latest plugin running :ermm:
Satan