11
BigJim
Re: Change top users block to display random users
  • 2007/10/31 11:13

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


That did it for me too thanks to mjoel and zyspec!

12
antifmradio
Re: Change top users block to display random users

i see a username but i see no Avatar
not even BLANK avatar

i am using the Yogurt module
and thusly have change the code to this

***See line 7 for image source changed path***
$random_member = mysql_fetch_assoc(mysql_query("SELECT uid, uname, user_avatar FROM xoops_users ORDER BY RAND() LIMIT 1"));

print "

";
print "Random member:
";
print "$random_member[uname]
";
print "avatar";
print "

";

Login

Who's Online

337 user(s) are online (246 user(s) are browsing Support Forums)


Members: 0


Guests: 337


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits