The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Pulling only "visible" threads from the database
I'm pulling the latest threads from the database to link to them from another page. I just want to be sure to only pull "visible" ie not moderated and deleted threads. Is the 'visible' field the right one to use or is there something I should do with the 'hiddencount' and 'deletedcount' fields?
Code:
select `title` , `threadid` from `thread` where `visible`=1 order by `threadid` desc limit 5 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|