![]() |
News Out - posts from forum(s) on any page
This script will let you pull the first posts from threads in a forum and display them on a non-vb page anywhere on your site.
For example you can use this to pull posts from a forum and display them as news. (Each post in the forum is a news item). Currently it will pull them on the basis of thread start date. This is very rough and ready. But maybe someone will find it useful. If you read the code and comments you can do things like strip out tags, snip the post off after the first para etc etc. You can choose to write out to a file or to write to screen. You can pull stuff from one or many forums. I'll try and answer any questions that come up, but this is a beta so.... Rafe |
Any screenshots? ;)
|
I didn't think there was much point. It pulls the text and images (and any stuff from the post). The intention is you integrate into other pages.
I use it to power various things at my site - http://www.allaboutsymbian.com Thew news there is done like this. |
Thank you Rafe, I'll try it out.
One thing tho, why don't you use the vb function to connect to mysql database, instead of putting it into this script? |
Quote:
|
Is this like VBAdvanced?
|
excuse me for the dumb question but what would be the best way to embed this content into a page.
|
Quote:
Code:
$sql_news = $DB_site->query("SELECT thread....... +++ |
Quote:
|
Quote:
Obviously copy / include where you want the code to appear and edit appropriately. |
All times are GMT. The time now is 04:11 PM. |
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:
|