View Full Version : Find user profile by its number
Admin
01-15-2002, 10:00 PM
Wouldn't you like to know who your 500th member was? Your 1,000th member? Your 100,000th one (if you have that much! ;))?
With this hack, you can with ultra-ease! :D
To install this huge hack, open member.php and add this bit of code:
// "Find user profile by its number" hack by FireFly -->
if (isset($number)) {
$getuserid=$DB_site->query_first("SELECT userid FROM user ORDER BY joindate LIMIT ".(intval($number)-1).",1");
$userid=$getuserid[userid];
}
// <-- End "Find user profile by its number" hack by FireFly
right before this line:
if ($userid=="" and $username!="") {
and you're done! :)
Now, to find your 100th member, just go to this link (with your forum address, of course):
https://vborg.vbsupport.ru/member.php?s=&action=getinfo&number=100
Have fun. :)
illogicalx
01-16-2002, 09:52 PM
nice hack FireFly
thanks
Shenlong
01-16-2002, 11:26 PM
lol cant u go to userid=3 or whatever firefly?
Shenlong
01-16-2002, 11:44 PM
o NM NM i see, AWESOME hack firefly!
Admin
01-17-2002, 09:35 AM
Originally posted by Shenlong
lol cant u go to userid=3 or whatever firefly?
In case anyone else wonders, then no, you can't, because sometimes you delete users so the ID's aren't always accurate.
Lucky
01-17-2002, 10:22 AM
Thanks again buddy!
Lucky
01-17-2002, 10:26 AM
Is there anyway that you could incorporate this hack into the admin cp so that all you would just have to do is type in a number for example 69 and it would find the 69th member?
This would be even better.
Let me know.
bokhalifa
01-17-2002, 11:47 AM
nice ;)
nafae
01-17-2002, 04:26 PM
Originally posted by Lucky
Is there anyway that you could incorporate this hack into the admin cp so that all you would just have to do is type in a number for example 69 and it would find the 69th member?
This would be even better.
Let me know.
Yes this would be nice to have.
Edit: by the way the hack is helpful :D
DarkReaper
01-17-2002, 07:59 PM
My members are going to love this...lol.
Right when my board neared 5000 members, everyone was itching to know who the 5000th member would be. The evil person I am, I changed the numbers to be random between 2000 and 10000...*snicker* :)
Admin
01-18-2002, 12:48 PM
DarkReaper, that's actually why I created this hack in the first place:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34175
Lesane
01-18-2002, 05:19 PM
Great Hack, Thnx.
Bedhead
01-19-2002, 04:05 AM
Originally posted by Lucky
Is there anyway that you could incorporate this hack into the admin cp so that all you would just have to do is type in a number for example 69 and it would find the 69th member?
This would be even better.
Let me know.
Is this possible?
TIA:)
Lionel
01-19-2002, 08:33 AM
... taht I think I am done, you come up with something else to good to resist... :pleased:
Lucky
01-20-2002, 02:05 AM
Right on.
I'll be waiting!
nafae
01-24-2002, 07:15 PM
*bump* any info about a form-based version? :?:
Jawelin
02-15-2002, 12:59 PM
... and if I would retrieve the ordinal number of a specific user ?
I think I should retrieve his joindate and count the number of the user less or equal.
Is it right ?
Chen, do you think that info on welcome/forumhome should load too heavly the DB ?
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.