![]() |
Top 5 "Hot" Topics on Forum Home Page
This little one puts a list of the five threads with the most replies that have been active in the past 7 days on your forum home page.
You can change the query to make it 10 topics with most views or whatever suits your needs. Things you may want to change: To get the top 10, 20 or whatever topics instead of 5, change Code:
LIMIT 5 To get the top topics based on views instead of replies, change Code:
ORDER BY replycount Code:
ORDER BY views Code:
WHERE dateline > $datecut Code:
WHERE lastpost > $datecut |
I installed it and modified the template a little bit to my liking. But you have a HUGE BUG!
Take this out of $topicstring in the plugin! "http://www.eaforums.com/forums/" |
Quote:
|
The problem is fixed in the zip.
|
Quote:
|
...but sorted it 'mesell'
|
Hahahahah! Love the 5th Topic's title amy!!
|
That's our Amy! ;)
If anyone is interested, I edited a few things to make this look more in line with the rest of the What's Going On box. See the attached pic. ;) It is also collaspable. ;) |
I did the same thing... I made it collapseable as well as moved the number of replies to the title attribute so that it shows only on mouseovers. I also replaced the breaklines with spaces.... One more change is since my board likes to have long lengthy discussions over months at a time, I made it the 5 hottest topics for the month. :)
Here's a screenshot. http://forums.5solas.org/ |
Yeah, my what's going on box is very different than most people's. That's why I put in there that the html was only a suggestion ;)
Amy |
All times are GMT. The time now is 08:41 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:
|