changing color groups a bit


Subject: changing color groups a bit
hello :mricy:

i need on my forum to avoid normal users to get their nicknames in bold

so i delete from functions_colorgroups de bold style it haves

but now i want to add bold style for admins & mods

so i try to change this part

Code: [Download] [Hide] [Select]
$user_link = '<a href="' . append_sid($phpbb_root_path."profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$user_id") . '"' . $style_color .'>' . $username . '</a>';

if ( ($row['user_level'] == ADMIN) && ($row['user_level'] == MOD) )
{
$user_link = '<b><a href="' . append_sid($phpbb_root_path."profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$user_id") . '"' . $style_color .'>' . $username . '</a></b>';
}


is there anything i'm missing? there seems to be no problem with the code, but admins & mods aren't listed "bold" :S

thank u!

Subject: Re: changing color groups a bit
nevermind, i did it :P


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0827s (PHP: 19% SQL: 81%)
SQL queries: 10 - Debug Off - GZIP Enabled