![]() |
This is probably too small to qualify has a hack but i've seen one or two posts looking for it. This finds the most popular thread on the board.
Open index.php and before Code:
// get total posts Code:
//Most Popular Thread by Replies Code:
//Most Popular Thread by Views Code:
eval("\$popularthread = \"".gettemplate("popular_thread")."\";"); Then within the control panel click add templates. Template name is popular_thread and the code should be this Code:
Most popular thread is <a href="showthread.php?s=$session[sessionhash]&threadid=$popular[threadid]">$popular[title]</a> the threadtitle will be a link to the title. |
doesnt show up in forum home :(
|
Same here - doesn't work for me, either.
Phil~ |
|
don't work...
please fix bug's... :( |
Are you getting any error messages at all?
i've installed it twice on other boards and it worked fine. Another person pasted in both lines for getting most popular. Ie the one for popular by reply and the popular by views. Make sure you only paste one of them in. |
Ok. Thx! All work! Fine work!
You could not make Show most popular thread on index page at present (at the rate of 24 hours)? |
Not a bad idea but I think I'll skip this one. The one weakness to the linear style bulletin board is that once you go beyond one page it's much harder to read and manage than threaded bbs'es or some other style bbs'es (it does exist). On my board this would just encourage people to make those monster threads even more unmanageable.
|
all code is correct
just doesnt show up!? weird.... :) |
How can I use this on a non vb page?
|
All times are GMT. The time now is 04:58 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:
|