The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I REALLY need to find a way to get the top 5 - 10 latest replies on all pages
It's going on my sidebar which is on the right side, so it's in the footer, so i need to find a way to get the top 5-10 latest replies in the footer, so it shows up on all pages |
#2
|
||||
|
||||
![]()
Create a plugin for it at global_start or global_complete would do.
|
#3
|
||||
|
||||
![]()
heh, any help on that?
I have no clue what to add in the plugin |
#4
|
||||
|
||||
![]()
Here goes the most basic one, without having forum mask or forums viewing permissions:
PHP Code:
|
#5
|
||||
|
||||
![]()
didnt work
![]() |
#6
|
||||
|
||||
![]()
I am after something simple like this aswell, but couldn't get the code to work, had a good play with it though but just ended up with a whitepage (ie an error somewhere) when i tried to load it.
|
#7
|
||||
|
||||
![]()
Here is my current code:
Code:
$latestforum = $db->query_first('SELECT title,threadid FROM ' . TABLE_PREFIX . 'thread ORDER BY dateline DESC LIMIT 0,5'); $latestforumposts .= "<a href=\"showthread.php?t=".$latestforum['threadid']."\">".$latestforum['title']."</a>"; ![]() Anyone got any ideas? If I use $db->query_first it is ok, if I use $db->query_read it goes nuts and will only show a white page ![]() |
#8
|
||||
|
||||
![]()
I just did this:
http://www.vbulletin.com/forum/showthread.php?t=158895 |
#9
|
|||
|
|||
![]() Quote:
Thank you! great job |
#10
|
|||
|
|||
![]()
I just tried it. It wasn't updating. I'm not sure why, but I had well over 10 new threads that weren't being show with this script. These threads were spaced over the past 12 hours or so.
Ideally, there would be something that would instantly display the latest 10 or so replies. Brandon |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|