![]() |
Howto: have the 10 newest posts on my homepage
I would like to have the 10 newest posts titles show up on the homepage for my site, the best idea I can come up with is to use an rss feed reader (although I don't think the forum software supports feeds) or something equivalent to that unless someone has a better idea.
|
Quote:
|
Create a new plugin
Product: vBulletin Hook: forumhome_complete In the box add: PHP Code:
|
This only displays one 'latest thread'
Is there a way to fix it? Thanks! |
He forgot a '.' :p
PHP Code:
|
AHH...thank you!
How would you go about coding this to follow forum permissions? I really appreciate any help! |
Does this still work in 3.7? I can't seem to get it to work...
|
thank you this works perfectly in vb 3.6.x
quick question for anyone is there anyway to limit it to only show titles from specific forums should i be doing select * from where something something is = to something thanks anyway |
Quote:
[sql] SELECT title, threadid FROM ". TABLE_PREFIX ."thread WHERE forumid IN (X, Y, Z) ORDER BY lastpost DESC LIMIT 10"[/sql] Change [minicode]title, threadid[/minicode] to * if you want to select all fields. X, Y, Z Being a comma separated list of the ForumID numbers. |
ahhh! many thanks opserty! that works absolutely absolutely perfectly
|
All times are GMT. The time now is 11:18 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:
|