The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
Umm, do something like this on your index.php file:
Code:
$numbersthreads=$DB_site->query_first('SELECT COUNT(*) AS threads,MAX(threadid) AS maxthread FROM thread WHERE forumid=1'); $numberthreads=number_format($numbersthreads['threads']); $getnewestthreadforum=$DB_site->query_first("SELECT threadid,title FROM thread WHERE threadid=$numbersthreads[maxthread]"); $newthread=$getnewestthreadforum['title']; $newthreadid=$getnewestthreadforum['threadid']; Then, in the FORUMHOME template, put this wherever you want it: Code:
Newest Thread in Forum forum name: <a href="showthread.php?s=$session[sessionhash]&threadid=$newthreadid">$newthread</a> <a href=\"showthread.php?s=$session[sessionhash]&threadid=$newthreadid\">$newthread</a> Instead of: <a href="showthread.php?s=$session[sessionhash]&threadid=$newthreadid">$newthread</a> Hope that helps. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|