Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: virsa punjabi - joulukuu 29, 2013, 03:24:14 AP

Otsikko: How to show online member group color
Kirjoitti: virsa punjabi - joulukuu 29, 2013, 03:24:14 AP
Could anyone please tell me What is the code to show online member color? I know there is a mod too but it only works in few sections. Thank you!
Otsikko: Re: How to show online member group color
Kirjoitti: lurkalot - joulukuu 29, 2013, 07:32:06 IP
Use this mod SimpleColorizer (http://custom.simplemachines.org/mods/index.php?mod=3067)  ;)
Otsikko: Re: How to show online member group color
Kirjoitti: virsa punjabi - joulukuu 30, 2013, 06:43:47 AP
Lainaus käyttäjältä: lurkalot - joulukuu 29, 2013, 07:32:06 IP
Use this mod SimpleColorizer (http://custom.simplemachines.org/mods/index.php?mod=3067)  ;)
Thank you for the mod but i am creating a custom block so these mods doesnt work in custom blocks.
Otsikko: Re: How to show online member group color
Kirjoitti: Kays - joulukuu 30, 2013, 08:24:30 AP
Hi, have you tried that mod? It looks like it's universal so it should display in a block also. ???

If that don't work, take a look at either mod and see how they do it. Your answer is right there. ;)
Otsikko: Re: How to show online member group color
Kirjoitti: lurkalot - joulukuu 30, 2013, 11:09:30 AP
Lainaus käyttäjältä: virsa punjabi - joulukuu 30, 2013, 06:43:47 AP
Lainaus käyttäjältä: lurkalot - joulukuu 29, 2013, 07:32:06 IP
Use this mod SimpleColorizer (http://custom.simplemachines.org/mods/index.php?mod=3067)  ;)
Thank you for the mod but i am creating a custom block so these mods doesnt work in custom blocks.

It works in my portal blocks as far as I can see.  Like Kays just asked, did you try it?
Otsikko: Re: How to show online member group color
Kirjoitti: virsa punjabi - tammikuu 09, 2014, 07:24:51 AP
Lainaus käyttäjältä: lurkalot - joulukuu 30, 2013, 11:09:30 AP
Lainaus käyttäjältä: virsa punjabi - joulukuu 30, 2013, 06:43:47 AP
Lainaus käyttäjältä: lurkalot - joulukuu 29, 2013, 07:32:06 IP
Use this mod SimpleColorizer (http://custom.simplemachines.org/mods/index.php?mod=3067)  ;)
Thank you for the mod but i am creating a custom block so these mods doesnt work in custom blocks.

It works in my portal blocks as far as I can see.  Like Kays just asked, did you try it?
Yes i did try it :) i am saying that i have a custom block where this mod doesnt work i need to manually add color code to show up color. I found this code style="color: ' . $row['online_color'] . ';">' but i am not sure where to use and is it complete or not!