I have a community where I have a "username" and also another variable called "username_color". The "username" variable contains the name of the user. for i.e username = zilveer
but the "username_color" variable contains css code which for instance could contain:
<div style="float: left; "><span style="color: #FFFF00">zilv</span><span style="color: #FF00FF">eer</span></div>.
this makes it possible and great to use different colors on different letters in the username.
wouldnt it be great if there was an extra variable so we can set the username_color in phpfreechat?
for i.e:
- Code: Select all
$username_color = '<div style="float: left; "><span style="color: #FFFF00">zilv</span><span style="color: #FF00FF">eer</span></div>';
$params["username_color"] = $username_color;
I dont know if this is possible yet, that is why I am posting it in this part of the forum.
anyhow, if you someone could do shuch a thing it would be great.