Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-4135

Two issues with acp_users -> groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.x
    • ACP
    • None
    • PHP Environment:
      Database:

      When viewing a user's groups in the acp (Manage users, select user, select "Groups" from the dropdown), there's two problems relating to special groups:

      1. In the template (adm/style/acp_users.html), there's following:

      		<!-- IF group.S_NEW_GROUP_TYPE -->
      		<tr>
      			<td class="row3" colspan="4"><b>{group.GROUP_TYPE}</b></td>
      		</tr>
      		<!-- ELSE -->
      			<!-- IF group.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
      			<td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
      			<td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>
      			<td><!-- IF not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ENDIF --></td>
      			<td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
      		<!-- ENDIF -->

      This part produces an empty column if there are only special groups:

      <td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>

      2. If you add the user to all groups that exist in the

      {S_GROUP_OPTIONS}

      dropdown, the dropdown will be empty, perhaps add an if to it...

            Acyd Burn Meik Sievertsen [X] (Inactive)
            igorw Igor Wiedler [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: