Version: 1.0.2, by Eric
Developer Last Online: Jun 2023
Version: 3.5.5
Rating:
Released: 08-06-2006
Last Update: 08-09-2006
Installs: 12
Uses Plugins Template Edits
Additional Files
No support by the author.
New Members Page
Updated to 1.0.2
This modification will produce a New Members page listing the username, avatar, and profile pic of the latest users sorted by joindate. The amount listed is based on an admin configurable limit. If the user has no avatar or profile pic, a default one is used.
Upload newmembers.php to your forum root. Upload noavatar.gif and noprofilepic.gif to images/misc/. If you want to use your own remember that you will have to go into the admincp and give it's filename + size.
Options can be set in AdminCP -> vBulletin Options -> New Members Page
That's it your done.. aside from linking to the newmembers page. Here's an example of adding it to the navbar:
Ok ok it's not necessary, but I'd like it. If someone can give me some help how to do it myself I'd appreciate.
Yet another question though. Does anyone know how to edit this? (SEE ATTACHED IMAGE)
It would really make this cool mod look even cooler if you could add a text like "Viewing Newest Members" or something like that instead of that "Unknown Locaton".
Ok ok it's not necessary, but I'd like it. If someone can give me some help how to do it myself I'd appreciate.
Yet another question though. Does anyone know how to edit this? (SEE ATTACHED IMAGE)
It would really make this cool mod look even cooler if you could add a text like "Viewing Newest Members" or something like that instead of that "Unknown Locaton".
Sure, here in a little while I'll do that. And make a post with a way to add joindate
Forgot to add something to the query, open newmembers.php and find:
PHP Code:
$getnewmembers = $db->query_read(" SELECT user.userid, user.username, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight FROM " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN " . TABLE_PREFIX . "customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) WHERE user.joindate >= $cutoff ORDER BY user.joindate DESC LIMIT " . ($limitlower - 1) . ", $perpage ");
Replace with
PHP Code:
$getnewmembers = $db->query_read(" SELECT user.userid, user.username, user.joindate, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight FROM " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN " . TABLE_PREFIX . "customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) WHERE user.joindate >= $cutoff ORDER BY user.joindate DESC LIMIT " . ($limitlower - 1) . ", $perpage ");