The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How can I make this code work for vb 3.5.x
Hello,
There is a hack used for vb 3.0.x, which has an instruction: Quote:
Code:
// Hack: most active user $start = TIMENOW - TIMENOW % 86400; $end = $start + 86400; $maxposter = $DB_site->query_first("SELECT user.username,user.userid,count(*) total FROM ".TABLE_PREFIX."user AS user,".TABLE_PREFIX."post AS post WHERE user.userid=post.userid AND post.dateline BETWEEN $start AND $end GROUP BY post.userid ORDER BY total DESC LIMIT 1"); eval('$navbar = "' . fetch_template('navbar') . '";'); Kind regards .. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|