The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
output from MySQL
I want to show the last 10 posts from my forum on my website.
I used Phpbb previously where i could make one single MySQL request to get the following data: Topicname, number of posts(replys), Forum_ID, Username and the time of the post. How can i get these from vBulletin, so i can put links to the last posts on my website? I need an output with this condition forum_id !=12 AND forum_id != 13 |
#2
|
||||
|
||||
Quote:
if you want the raw contents of the post as well then include p.pagetext. if you want a link to the post include p.postid and then build a vbulletin url using showpost. |
#3
|
|||
|
|||
Thank you, mate
been on vacation since i posted the question, so i only tried it now and it worked |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|