"sgomes";p="23827" wrote:There seems to be a bug regarding group moderators, where they show up as "username_color" instead of with the correct group name. To view this, just assign to any group the moderation of a forum and view that forum.
After banging my head for a while (I don't know any PHP) I was able to find and fix the problem. Just go to includes/functions_categories_hierarchy.php and replace
- Code: Select all
$s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['user_group_id'][$j], $data['group_name'][$j])));
with
- Code: Select all
$s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['group_id'][$j], 0, $data['group_name'][$j])));
on line 425.
I hope this is useful to someone!
SÃÂÂ ©rgio Gomes
This fix worked fine for me... Thnx, but there is a nother little problem with it... don't know if it has to do with "cache" yet... will have to check that!
If you change the name of a group, for example from "Administrators" to "Admins"... it keeps displaying "Administrators"...
Like I said... have to check if it's a caching thing, but I currently solved it by going into the group/permissions for a group and without changing anything simply "Submit" again.
After that it's changed to "Admins"