The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
last five threads of each forum on forum home?
Anyone have a hack to do something like this? http://www.elitetrader.com/vb/
|
#2
|
||||
|
||||
if i was to think of a way to do it, it would be to introduce a new query for each forum, thus your server load goes up, but i aint a hacker, but it's pretty simple really, if no one helps you, i will try to
|
#3
|
||||
|
||||
ok great!
|
#4
|
||||
|
||||
since no one's helped you try this
this code is taken from nanoentity's top10 hack Code:
// Top 10 Thread Replys $pop = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,lastposter,views FROM thread WHERE forumid<>'17' AND forumid<>'18' AND forumid<>'20' AND forumid<>'46' AND forumid<>'47' AND forumid<>'57' ORDER BY lastpost DESC LIMIT 5"); while ($poptop = mysql_fetch_array($pop)): ++$poptopnbsp; $popthread .= "<a href=showthread.php?s=$session[sessionhash]&threadid=$poptop[threadid]>$poptop[title]</a> <a href=showthread.php?s=$session[sessionhash]&goto=newpost&threadid=$poptop[threadid]&goto=lastpost>»</a><br>"; $poppostusername .= "$poptop[postusername]<br>"; $poplastposter .= "$poptop[lastposter]<br>"; $popviews .= "$poptop[replycount] ($poptop[views])<br>"; endwhile; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|