The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread of the day Details »» | |||||||||||||||||||||||||
With this hack you can select a thread of the day
The thread of the day is a thread randomly picked from all threads STARTED the day before. Then the thread of the day appears at your forumhome. You can customize different options in the threadoftheday.php file, for the people that installed my member of the day hack this one is very similar, but it selects a thread instead of a member to show at the forum home. *Update* For showing always the thread with most replies instead of a random thread: https://vborg.vbsupport.ru/showpost....9&postcount=14 Info for hackers: You may modify, improve, upgrade, redistribute this hack, include it in another hack or yours or translate it provided you do it free of charge and you distribute it in www.vbulletin.org at least, there is no need to pm me asking for permission Some portions of the code are (c) Jelsoft Enterprises Ltd. Show Your Support
|
Comments |
#12
|
||||
|
||||
Is there a way to add a feature to this that displays something like a Top New Thread of the Day? It might be a way to help encourage new threads to blossom instead of die out.
|
#13
|
|||
|
|||
Nice hack...
BUT... Is it possible, to show a random thread, so every refresh the thread changes? C. |
#14
|
||||
|
||||
Quote:
Quote:
|
#15
|
||||
|
||||
For showing always the thread with most replies instead of a random thread use this file instead of threadoftheday.php
Please note, this doesn't make a single thread to always appear in the top of the page because only threads started the day before are considered, so there is a new pool of threads each day. |
#16
|
|||
|
|||
Quote:
C. |
#17
|
||||
|
||||
ok not sure what's the easiest way to ask this so i'll just ask.
i'd like this to use only threads that have been active in the past 7 days but not a thread that has been chosen within the past 14 days, does this already do this? |
#18
|
||||
|
||||
Would be great if we can actualy select the thread we like to show on the forum home page... (can be like this vb2 hack -- https://vborg.vbsupport.ru/showthread.php?t=53170)
|
#19
|
|||
|
|||
I agree.
Is an avatar supposed to show up as well? If so is it restricted in size as your pic has one, yet I cant get one to show in our development forum. Anyway also to make the horizontal size match so it takes up less space, and match with the default forum styles. Excellent hack just not keen on the size. |
#20
|
|||
|
|||
It's a great hack.
Style improvement. Replace the threadoftheday template with: HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_threadoftheday')"><img id="collapseimg_forumhome_threadoftheday" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_threadoftheday].gif" alt="" border="0" /></a> Top Thread of the Day </td> </tr> </tbody> <tbody id="collapseobj_forumhome_threadoftheday" style="$vbcollapse[collapseobj_forumhome_threadoftheday]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="Top Thread of the Day" border="0" /></td> <td class="alt1" colspan="0"><div class="smallfont"> <table class="alt1" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td><img src="image.php?$session[sessionurl]u=$tday[postuserid]" height="100"></td> <td> <span class="smallfont"><b>Top Thread of the Day:</b> <a target="_top" href="showthread.php?$session[sessionurl]t=$tday[threadid]">$tday[title]</a><br/><br/> <b>Posted by:</b> <a href="member.php?$session[sessionurl]u=$tday[postuserid]">$tday[postusername]</a><br/> <b>Posted on:</b> $tday[dateline]<br/><br/> <b>Preview:</b> $tday[pagetext]</span> </td> </tr> </table> </div></td> </tr> </tbody> </table> <br/> HTML Code:
<img src="image.php?$session[sessionurl]u=$tday[postuserid]" height="100">
@Kentaurus: Can one actually get this thing somehow to parse URLs and smilies? I agree that a possibility to select the thread of the day would be a good addition. |
#21
|
|||
|
|||
can you have more than one thread of the day?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|