The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I created a php script to show a link to the latest post on my home page (non vbulletin).
I want to exclude on particular forum (forumid # 7 in example below) from that list. Here's what I have, but is not working. Code:
SELECT * FROM vb_post, vb_thread where vb_post.threadid = vb_thread.threadid and vb_thread.forumid != 7 and postid in (select max(postid) FROM vb_post, vb_thread where vb_post.threadid = vb_thread.threadid and vb_thread.forumid != 7)" Thanks! |
#2
|
|||
|
|||
![]()
Use the NOT IN clause
|
#3
|
|||
|
|||
![]()
Thanks! I figured it out a different way. Probably inefficiently, but it works.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|