- Joined
- Sep 28, 2010
- Messages
- 475
- Points
- 0
- Age
- 31
- Location
- Pennsylvania, United States
- Mysidian Dollar
- 21,285
Newest Member Recognition Mod
By Kaeliah
Modification TOS
**Note that there is no viewable credit required for this mod**
I believe it was enddayne who suggested this Mod. It's just a small code snippet, so here it is.
Instructions: This code snippet is meant to be placed near the end of the stats.php page, just before the...
... however it can be placed elsewhere IF you know what your doing!!
That's pretty much it! Enjoy!
By Kaeliah
Modification TOS
**Note that there is no viewable credit required for this mod**
I believe it was enddayne who suggested this Mod. It's just a small code snippet, so here it is.
PHP:
$query = "SELECT * FROM ".$prefix."users ORDER BY membersince DESC LIMIT 1";
$result = mysql_query($query);
$num = mysql_numrows($result);
$i=0;
while ($i < $num) {
$username=@mysql_result($result, $i, "username");
$article_content = $article_content."<br>Please Welcome our newest user, <a href='profile.php?user=".$username."'>".$username."</a> ";
$i++;
}
// Newest Member Recognition Modification Snippet by Kaeliah of Mysidia Adoptables
Code:
// **********************************************************************
// Begin Template Definition
// **********************************************************************
That's pretty much it! Enjoy!
Last edited: