The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Select closed threads
Hello guys, I have a piece of code to get all deleted threads, but I need the number so I can get the closed threads, here is the piece of code so its self explanatory.
Code:
$vbulletin->db->query_read("SELECT threadid,forumid FROM " . TABLE_PREFIX . "thread WHERE visible=2"); Which number do I have to put into Visible= to select closed threads instead of value 2 = deleted? Thanks! |
#2
|
|||
|
|||
change visible = 2 to open = 0
|
#3
|
||||
|
||||
Sorry I didnt explain very good, I need to know the value for closed threads
|
#4
|
|||
|
|||
...and that is it...the fieldname is "open" and the value is "0" ... just follow what I said and it will work.
|
#5
|
||||
|
||||
Oh sorry, thanks mate
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|