Ideas in short version:
- View groups on teampage (also without m_ or a_ permissions)
- Custom sort groups on the teampage (and also in group legend)
- View users in multiple groups not only their first one
- Make "display-forums" optional (as it's database intensive)
Pull-Request: https://github.com/phpbb/phpbb3/pull/59
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Original post:
The team page has a number of problems...
1. It lists moderators as being on the team (sometimes private groups have moderation permissions in private forums and they are not on the team)
2. It only lists people who are administrators or moderators (sometimes people on the team do not have administrative or moderation privileges)
So I've looked a what it would take to change that to not automatically list moderators as members on the team and give the option to specify groups as team members.
The edit for a simple test of it is actually quite simple.
First you need a new column in the groups table named group_list_team (boolean value)
As tortoisemerge seems to be full of fail I can't create a diff, but it's only one edit for a quick test:
memberlist.php
find:
Code: Select all
'WHERE' => $db->sql_in_set('u.user_id', array_unique(array_merge($admin_id_ary, $mod_id_ary)), false, true) . '
Code: Select all
'WHERE' => '(' . $db->sql_in_set('u.user_id', $admin_id_ary, false, true) . ' OR g.group_list_team = 1)
I don't have access to a board with team members other than administrators however, so I haven't been able to perform a full test.
If this looks good I can go ahead and finish the rest of it up. Some language keys need to be changed, a few other minor issues, and then the option to mark groups as group_list_team in the group management page.