Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.2.x Mods

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-20-2011, 12:23 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 33,643
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default Newest Member Recognition Mod [by Kae]

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.


PHP Code:
$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 
Instructions: This code snippet is meant to be placed near the end of the stats.php page, just before the...

Code:
// **********************************************************************
// Begin Template Definition
// **********************************************************************
... however it can be placed elsewhere IF you know what your doing!!

That's pretty much it! Enjoy!

Last edited by Kaeliah; 04-02-2011 at 01:21 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Member limit? [Solved] mugwumpr Questions and Supports 2 05-20-2009 12:50 PM
Any way to ban a member? Xius Questions and Supports 3 04-28-2009 02:54 PM
A way to show newest registered member? Xius Questions and Supports 3 04-15-2009 07:36 PM
what does the "Member Level" mean? mattalien Questions and Supports 2 03-26-2009 12:29 PM
How Does The Member Level Work ?? gjac1 Questions and Supports 3 02-23-2009 05:34 PM


All times are GMT -5. The time now is 12:49 PM.

Currently Active Users: 1052 (0 members and 1052 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636