Since I was already looking at the code, I made three minor improvements. The first is that the links to the user’s CI are now based on the user ID instead of the name. This means that you will always be able to click on a user in the top lists and get a valid result. Before the fix, a link for users with certain characters (like a period) in their name would error out.
The second fix is that if someone only posted 1 link, it will now show that instead of 0. The problem was that it was only matching the word links, so it will now match link with an optional ‘s’.
The third change is that it now stores the highest 100 values instead of 25. It will still display 25 by default but if you give it a limit it will use that instead. So, you can see the top 3, top 10, top 50 or whatever you want up to 100.
If you notice any problems, please let me know.