The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Finding Last Video Post
A lot of site are allowing their members to post video object code, like YouTube for example. When submitted, vBulletin just stores the code like it is part of the message. The question is, how does one find posts that contain the object code, more specifically, how would you find the "last" post that contains video code as in "The Latest Video" to display a thumbnail on front page of the forum?
So basically, you need to find the most recent post that contains a video. Any ideas or an easy solution for this issue? Any help greatly appreciated. TIA |
#2
|
|||
|
|||
Code:
SELECT * FROM `post` WHERE `pagetext` LIKE '%<BBCODE>%' ORDER BY `postid` DESC LIMIT 0,30 |
#3
|
|||
|
|||
Perfect, exactly the direction I needed. I really appreciate it.
thanks very much, Michael |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|