![]() |
Can you do both of these at the same time?
Quote:
Code:
Then in either of your forumhome templates place $popularthread and the text "Most populat thread is THREADTITLE" |
have it like this
Code:
//Most Popular Thread by Replies Code:
//Most Popular Thread by Views Template Change Code:
Most popular thread by reply is <a href="showthread.php?s=$session[sessionhash]&threadid=$popularreply[threadid][threadid]">$popularreply[title]</a> Code:
Most popular thread by views is <a href="showthread.php?s=$session[sessionhash]&threadid=$popularview[threadid][threadid]">$popularview[title]</a> |
Thanks but I still don't understand quite yet. What about the eval part that goes under it? Don't I need 2 of them? And what do I call the templates? Can you give me the complete code with this stuff in it, please? :) And is there any way to incorporate Lesane's addon for the character limit in these?
Quote:
|
How could I do this for the following code?
Code:
//Most Popular Thread by Replies Quote:
|
musicfreak12399,
I figured it out. Instead of making any templates, I just used the template code you gave directly in the forum home template. I put the first 2 parts in the index.php and that last 2 lines of code in the forumhome template. Is that what you meant? |
Is there any way to make these so they won't show a private forum or thread?
|
Nice Hack thanks. Installed on v2.3 #3 Easily. The code I used was that which was posted by 'musicfreak12399' above. There is a slight code difference.
On the forum home template, you will note that his code has an extra: '[threadid]' on it - While it will work that way, its not correct. Just remove it from the end and you should be fine. Thanks! |
All times are GMT. The time now is 06:54 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:
|