Quote:
Originally Posted by hantousha
Edit your Index.php file,
Replace:
Code:
$newusername = $vbulletin->userstats['newusername'];
$newuserid = $vbulletin->userstats['newuserid'];
Replace with:
Code:
$newuser = $db->query_first("SELECT userid, username
FROM " . TABLE_PREFIX . "user
WHERE usergroupid NOT IN (3,4,8)
ORDER BY userid DESC
LIMIT 1");
$newuserid = $newuser['userid']; // set template variables
$newusername = $newuser['username'];
In the line "WHERE usergroupid NOT IN (3,4,8)" add the groups you don't want to show...
Hope this helps...
|
Thanks a lot.
I tried your solution and it seems that it works but the "WHERE usergroupid NOT IN (3)" still appears ((COPPA) Users Awaiting Moderation).
Best Regards