![]() |
latest newest x members
I'm looking for a mod to do the following :
show a welcome message for the last x registered members scrolling under navbar message simple: Admin user name: welcome to our newest member (member user name) .............. (icon) ( next message ) and so on Thanks in Advance :) |
I can show you how to do a single user :p - possibly someone could elaborate on my "single" user code.
Simply place this code within a marquee or however you are displaying your scroll bar. PHP Code:
|
Thank you Mr-Moo for your reply
i found this code in an older thread by kiril_cvetkov Code:
$sql=$db->query_read("SELECT username,userid FROM ".TABLE_PREFIX." user ORDER BY userid desc LIMIT 5"); Quote:
other ways i found: I don't know a lot about programming but i managed to put this code together from 2 separated mods i found, each one of them was doing half of what i wanted can someone please tell me if this code is right ? will it work ? Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
Try something like this ;)
PHP Code:
|
Yes, indeed that works much better since it pulls a query from the latest 5.
Thank you Gio~Logist, Everything looks good with Gio~Logist's code, however if you are looking to have it in a marquee, make sure you take out the </ br> and replace it with a "-" or something on those lines. The </ br> will make it drop a line down. |
Great, thank you Geo~Logist and Mr-Moo for your help :up:
|
All times are GMT. The time now is 06:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|