![]() |
Forum topics in external php file
Hi,
I just downloaded and installed my first vbulletin forum. I am trying to figure out how to display recent posts from the forum. I tried to use the external javascript file however it seems that the javascript file is rather limited in it's usefulness and I was wondering if something can be written with php. I am trying to pull two items from the forums. The ten most recent posts and the time the last reply was written in the post. Basically... Code:
(title) (last post time) Any thoughts? |
When you say not related to the forum, do you mean not even on the same server or with database access?
There are mods that will pull the latest posts for your forum - go find one of those and then you can grab the mysql query that you would use. You'll have to modify it, of course, to suit your needs and it will only be useful if you have database access. If you don't have database access, you are stuck using the javascript. |
Quote:
http://www.domain.com/forums/ http://www.domain.com/external-file.php external-file.php is the file that will pull the forum topics. |
Then you may create a page using this article, [How-To] vBulletin API Basics: Creating Custom Pages & Misc., and add your query in there.
|
All times are GMT. The time now is 09:56 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:
|