the code seems to be based on
{group.user.FORUMS}
but I can't seem to figure out what exactly matches this variable.{group.user.FORUMS}
but I can't seem to figure out what exactly matches this variable.From looking at the code it would appear that the forums are inMB_MathemaTeX wrote: ↑Fri May 14, 2021 10:44 am he display order of moderator forums in memberlist_team.html
forum_id
order.
Not without changing core code - and it would not be an easy thing to do.
I did not find the part of the code which took care of this classification, could you indicate it to me ?
Code: Select all
Moderator forums for user A : { forum_id = 18 ; forum_id = 19 } (ok)
Moderator forums for user B : { forum_id = 34 ; forum_id = 44 } (ok)
Moderator forums for user C : { forum_id = 44 ; forum_id = 6 } (strange)
Code: Select all
Moderator forums for user A : { forum_id = 18 ; forum_id = 19 } (ok)
Moderator forums for user B : { forum_id = 44 ; forum_id = 34 } (strange)
Moderator forums for user C : { forum_id = 6 ; forum_id = 44 } (ok)
Moderator forums for user D : { forum_id = 6 ; forum_id = 44 } (ok)
Moderator forums for user E : { forum_id = 6 ; forum_id = 44 } (ok)
memberlist.php
around line 244Code: Select all
$perm_ary = $auth->acl_get_list($user_ids, array('m_'), false);
{ 0 ; 34 ; 44 ; 6 ; 18 ; 19 }
.'ORDER_BY' => 'u.username_clean ASC',
$user_ids[] = (int) $row['user_id'];
$user_ids = array_unique($user_ids);
$perm_ary = $auth->acl_get_list($user_ids, array('m_'), false);
core.memberlist_team_modify_query
It probably can but unless you understand the structure of the forums table then it will not be easy, and even if you do it will not be easyMB_MathemaTeX wrote: ↑Fri May 14, 2021 4:13 pm I'm not sure this can be done just by changing the user query