The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to exclude threads which were soft deleted from "latest forum topics" SQL query?
Hello, I wonder if anyone can help me: someone wrote a custom Joomla module for me which gets the most-recently updated threads from my VBulletin forum and displays them in Joomla. The problem is I have to delete a lot of forum spam, but if I only use "soft delete" these deleted threads still appear in the list of most recently-updated threads, according to the SQL code below:
PHP Code:
Thanks for any help anyone can give on this. I am running VB 3.8.x. --------------- Added [DATE]1291123075[/DATE] at [TIME]1291123075[/TIME] --------------- Sorry this was easy. I should have checked the DB table structure. I just added WHERE visible='1' to my SQL query. Please consider this thread closed. Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|