Topic: User/Group Colors
I'm currently working on an extension that allows users/groups to have different colors.
The only way I have found to do this so far is:
<hook id="fn_forum_link_end">
global $forum_url;
if($link==$forum_url['user'])
{
//Get user/group color from DB query
$gen_link .= '" style="color:#'.$color;
}
</hook>
Issues
Could end up doing too many DB queries
Some profile links that are not usernames (like Profile link on navbar) get colored
Usernames that do not have links generated by forum_link() function do not get colored
If you know another possible way to do this, post it here. Thanks