The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Latest Battles and Top stats shown on my index php...
hi how would i do this the codes for my latest battles is
$getlastt = $db->query("SELECT DISTINCT(threadid), title, lastpostid, dateline FROM " . TABLE_PREFIX . "thread WHERE forumid='9' AND threadid != '6' ORDER BY dateline DESC LIMIT 0,10"); while ($thrds = $db->fetch_array($getlastt)) { if ($thrds[threadid] > 0) { $lastathreads.= date("d-m") . " <a href=\"showthread.php?t=$thrds[threadid]\">".fetch_trimmed_title($thrds[title])."</a><br />"; } else $nothread = true; } and this is the info for latest forum stats i juyst cant work it out. You can have Main Stats box shown on several pages... It's shown by default on forumhome (to disable it set "Main Top Stats box on ForumHome" to "None") To activate another location: a) put location-name in "Stats on Custom Pages" field in hack settings Explanation: When you open some vBulletin php file you'll see this at the top - "define('THIS_SCRIPT', 'XXX');" XXX is location-name we need. It's usually the same as php filename (without extension, of course) Note: When setting several locations then separate location-names by commas b) add "$cybtopstats" to the template called on page where you wish to have stats shown www.micforum.com is where i would like these atm you can see both at www.micforum.com/forum --------------- Added at 11:08 --------------- anyone? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|