UBB.Dev
Hey. I'm using the Memberlist hack, which outputs a list of all the members, in order of the number of posts they've made, from largest to smallest. It stores this in a separate file, with data that looks like so:

Code
code:

The long number string is, obviously, the member number. What I would like to do is be able to pull the top three off the file, match the member numbers with usernames, and throw the member's username into one variable and and the number of posts into another, for use in Stats2.cgi (the inline stats hack). I could put the code anywhere in Stats2, but it would need to be able to pull from two files, match three lines, and spit out two results.
I am trying to learn this as fast as I can - I got sucked into helping a friend with her UBB and am learning something new everytime i put a hack in [Linked Image].

Thanks for any help.


------------------
Kevin
Owner, Bigdogg's Lair
www.bigdoggslair.com
© UBB.Developers