New Members Page
This modification is in the archives.
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. Made by request: index.php?t=122676 Installation
That's it your done.. aside from linking to the newmembers page. Here's an example of adding it to the navbar: Open the 'navbar' template. FIND HTML Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> HTML Code:
<td class="vbmenu_control"><a href="newmembers.php$session[sessionurl_q]">$vbphrase[newmembers]</a></td>
Changelog
WOL & Joindate If you want New Members Page on WOL and/or display joindate on the New Members Page, make the edits in the following posts: Spoiler (click to open)
Quote by Stifmeister2
For WOL, you'll need two plugins.
online_location_process: PHP Code:
if ($filename == 'newmembers.php')
PHP Code:
if ($userinfo['activity'] == 'newmembers')
PHP Code:
$bgclass = 'alt2';
PHP Code:
$newmembers['datejoined'] = vbdate($vbulletin->options['dateformat'], $newmembers['joindate'], true);
HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr align="center"> <td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[username]</td> <td class="thead" nowrap="nowrap">$vbphrase[avatar]</td> <td class="thead" nowrap="nowrap">$vbphrase[profile_picture]</td> </tr> $newmemberbits </table> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr align="center"> <td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[username]</td> <td class="thead" nowrap="nowrap">$vbphrase[avatar]</td> <td class="thead" nowrap="nowrap">$vbphrase[profile_picture]</td> <td class="thead" nowrap="nowrap">$vbphrase[join_date]</td> </tr> $newmemberbits </table> HTML Code:
<tr align="center"> <td class="alt1Active" align="$stylevar[left]" id="u$newmembers[userid]"><a href="member.php?$session[sessionurl]u=$newmembers[userid]">$newmembers[username]</a></td> <if condition="exec_switch_bg()"><td class="$bgclass"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$newmembers[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /></td></if> <if condition="exec_switch_bg()"><td class="$bgclass">$newmembers[profilepic]</td></if> <if condition="exec_switch_bg()"><td class="$bgclass">$newmembers[datejoined]</td></if> </tr> ![]() Close
Spoiler (click to open)
Quote by Stifmeister2
Let me take a look into that.
EDIT: oops, my bad :red: Forgot to add something to the query, open newmembers.php and find: PHP Code:
$getnewmembers = $db->query_read("
PHP Code:
$getnewmembers = $db->query_read("
Close
Make sure you click if you use this modification. Enjoy! Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Miscellaneous Hacks New Members Page | vBulletin 3.6 Add-ons |