I would love some help with this, too.
There was a hack available to restrict the selection of the "newest member" to certain usergroups; I had it installed on an earlier version of vB, but it doesn't seem to work with the current version.
I believe this is the code from the previous hack:
PHP Code:
$newuser = $DB_site->query_first("SELECT userid, username
FROM " . TABLE_PREFIX . "user
WHERE usergroupid NOT IN (3,4)
ORDER BY userid DESC
LIMIT 1");
$newuserid = $newuser['userid']; // set template variables
$newusername = $newuser['username'];
I tried substituting the above for the following in the index.php file, which I believe is the equivalent of where it worked in previous versions of vB:
PHP Code:
$newusername = $vbulletin->userstats['newusername'];
$newuserid = $vbulletin->userstats['newuserid'];
However, this gave a fatal error; there are some differences between the coding styles in the old vs. newer versions of vB, but unfortunately I only know enough about PHP to do very low-level tweaks to suit my forum's needs.
If anybody who knows their way around these things could help out, it would be much appreciated!
EDITED TO ADD: I am using 3.6.4.