Code: Select all
'topic_first_poster_colour' => $update_user_colour,
Code: Select all
'topic_first_poster_colour' => $db->sql_escape($update_user_colour),
Code: Select all
/* Coloured usernames */
.username-coloured {
font-weight: bold;
display: inline !important;
padding: 0 !important;
}
Code: Select all
font-weight: bold;
Purged cache. Not working. Weird.mtrs wrote:Open
styles/prosilver/theme/links.css
FindFind and DeleteCode: Select all
/* Coloured usernames */ .username-coloured { font-weight: bold; display: inline !important; padding: 0 !important; }
I tested at localhost, it works. You may need to purge cache and refresh themes.Code: Select all
font-weight: bold;
Code: Select all
global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx, $cache;
$cache->destroy('sql', USERS_TABLE);
My mod only changes the value of default user_colour field in users_table, also update colour of this user in other table fields. So, that shouldn't be any problem.azzam wrote:2)Also color didn't change when i first try but before that mod i installed ign mod.I get two line from function_ser.php >>After adding this code colors changed 100 % perfectly.But i don't know about coding.Will this cause some problem?Code: Select all
global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx, $cache; $cache->destroy('sql', USERS_TABLE);
Thanks for replymtrs wrote:My mod only changes the value of default user_colour field in users_table, also update colour of this user in other table fields. So, that shouldn't be any problem.azzam wrote:2)Also color didn't change when i first try but before that mod i installed ign mod.I get two line from function_ser.php >>After adding this code colors changed 100 % perfectly.But i don't know about coding.Will this cause some problem?Code: Select all
global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx, $cache; $cache->destroy('sql', USERS_TABLE);