Foren / Cotonti / Extensions / Color Usernames

Give each letter it's own look.

TwistedGA
#10093 17. März 2009, 08:31
# Spartan : Not to sound rude, but your code isn't even efficient. It issues a SQL query to the database for each user name displayed per page. So say you were looking at a forum topic that had 10 posts that is 10 extra queries. I made a core hack for LDU/Seditio years ago, on my own site though I recycled the code and it doesn't issue a query for each user. You can see an example of what it, here:
http://vilegaming.com/league.x/standings1/3

No, I don't find it rude at all man. I thought I had explained the reason for returning to this method. I can change it around and make it not add the extra queries, but it's far more invasive to the core and with future releases said to support this feature from the getgo, I find little reason to invade the core and remove the extra queries for use until then..
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]