![]() |
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! |
change visible = 2 to open = 0
|
Quote:
|
...and that is it...the fieldname is "open" and the value is "0" ... just follow what I said and it will work.
|
Quote:
|
All times are GMT. The time now is 01:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|