Monday - January 20, 2003

mefi CI improvements

From a MetaTalk post I learned that a user was artificially inflating his MeFi contribution index. I was going to remove him from the list, but Matt took care of the problem by banning him from MeFi.

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.







Number of readers
- home
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
mefi
music
opinions
photos
web designs
tools
webmaster help

Sign up
Enter your email address to be notified of new posts



Search blog archives

Calendar
January 2003
S M T W T F S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  







Random quote
(View all quotes)
"I don't get even, I get odder."










Licensed under Creative Commons
(?) Choose theme:  X X X X X X


W3CCSS
Loaded in 0.0452 seconds