The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
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.
|
#3
|
|||
|
|||
![]() 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. |
#4
|
||||
|
||||
![]() Code:
LEFT JOIN ' . TABLE_PREFIX . 'deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = \'thread\')'; WHERE thread.visible = 1 AND thread.open != 10 AND deletionlog.primaryid IS NULL' |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|