![]() |
Soft-deleted topics
I use a little "vbulletin-hack" to display the latest topics on a non-vb page on my server, but i currently have the problem, that it also displays soft-deleted topics.
Here is the current code: PHP Code:
Thanks in advance, Martin |
Yep. Don't reinvent the wheel. Go read the code for some of the portals that pull threads to the portal. See their query and use it in your own script.
|
Quote:
Would be great, if someone could help me there. It just needs to compare the "threadid" and "primaryid" fields. My problem is, that these two fields are in two seperate tables, which exceeds my sql-knowledge. |
Code:
LEFT JOIN ' . TABLE_PREFIX . 'deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = \'thread\')'; |
All times are GMT. The time now is 07:57 AM. |
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:
|