![]() |
Show last 50 posts on homepage
How can I show the last 50 posts on the homepage instead of the list of forums and sub-forums?
I'd suppose this could be done via .htaccess... Anyone? |
.htaccess is for server configuration. What you want could theoretically be done with a CMS like vBadvanced or something similar. It's more basic then what it's designed for, but would most likely do the job.
|
VBadvanced seems like quite a complex way of achieving what I want...
I'm looking at something simple... I've managed to do it with MyBB on another forum and now would like the same on a site running vBulletin... On MyBB I did it with .htaccess |
Less complex than you'd think. I'm sure there's other ways to get a PHP file to do what you want, but you'd still need something that lets you pull vBulletin content into an external page. I suggested vBadanced because you wouldn't need to know any coding to make that happen, and you could pick and choose and fine tune what parts of the threads you'd want listed.
|
VBadvanced is a good idea, it's pretty easy to install but I guess it can be a little tricky to learn. The thing with using .htaccess (which I'm sure we all know) is having a page to redirect to, and the closest thing I can find is search.php?do=getdaily , but that doesn't seem to let you select the page size and might return less than 50 (I haven't tried it a lot).
|
Yup, if it would be the max daily number of posts, which could be more or less than 50. With a single page size vBa module, you wouldn't even need to use a redirect.
|
Ok how about a redirect to a sub-forum...
So it shows the specific sub-forum instead of the general overview... Is that possible? |
Just to show the posts, you could always turn on the rss in your board and then install SimplePie on your web site and just have your front page be an rss feed of the latest 50 posts from your board only. that is what I'd do, its the easiest way if you make a custom template & have a custom front page.
|
Quote:
|
|
All times are GMT. The time now is 01:02 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:
|