PDA

View Full Version : Showing latest threads on homepage



Anakin
Wed 29th May '02, 9:52am
I'm looking to promote my forums a bit more and as such want to do something similar to what SitePoint (http://www.sitepoint.com/) have done at the bottom of their pages -- display the latest ten threads on the forums. Now I'm fairly familiar with PHP and MySQL but have little idea as to how the vBulletin system works. Can anyone tell me how I could get this information and display it. Of course only threads from non-private forums should be shown.

Any help would be much appreciated.

Thanks :)

DirectPixel
Wed 29th May '02, 10:33am
Well, there are a few options when it comes to this.

You can either use your own script, use vbPortal, or use a hack from vBulletin.

Personally, I wouldn't go with vbPortal, as it is a bit of an overkill for just displaying recent threads.

Your best bet would be looking for a hack like this at vBulletin.org. If you know enough PHP to access databases and display the data, then you can write your own.:)

IDN
Wed 29th May '02, 3:33pm
theres a nice hack by steve i think or eva at VB.org i use it


www.nerdnations.com <- in use (has nice config option) and i am customizing mine via the .php file ;)

Steve Machol
Wed 29th May '02, 3:35pm
There are two hacks at vbulletin.org that I'm aware of - neither by me.

PluhNews
Last XX Posts on Non-vB Page

Floris
Wed 29th May '02, 3:47pm
I use bane's hack from talkloud.net to get the latest posts/threads/forum listed on my frontpage. It is a custom build file he has offered in his thread about vbstats (somewhere down that thread), and very easy to install too. Not sure if it is required to have vbstats installed too.

Anakin
Wed 29th May '02, 5:12pm
Thanks everyone. I've got something up now :)