The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Welcome to Newest Member Addon
Hi,
Can anyone know how to add Welcome to Newest member greeting in template ? I got the function in core/includes/functions_databuild.php Code:
function build_user_statistics() { $members = vB::getDbAssertor()->getRow('vBForum:fetchUserStats'); // get newest member $newuser = vB::getDbAssertor()->getRow('vBForum:fetchnewuserstats', array('userid' => $members['maxid'])); // make a little array with the data $values = array( 'numbermembers' => $members['users'], 'activemembers' => isset($members['active']) ? $members['active'] : 0, 'newusername' => $newuser['username'], 'newuserid' => $newuser['userid'] ); // update the special template vB::getDatastore()->build('userstats', serialize($values), 1); return $values; } can anyone guide me?spending many hours to search it and not found it... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|