Improvement : View the number of members in group's Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

    Improvement : View the number of members in group's

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19123
    Reputation : 1993
    Language : fluent in dork / mumbojumbo & English haha

    Improvement : View the number of members in group's Empty Improvement : View the number of members in group's

    Post by Ape November 22nd 2021, 5:58 pm

    Improvement : View the number of members in group's



    Dear users,

    Following one of your suggestions, a new option allows you to display the number of members of the group on the page of each group.
    You will find it right here.

     Admin Control Panel.
    Admin Panel Users & GroupsGroupsGroup Administration
    Improvement : View the number of members in group's Captu462

    If the admin chooses to display it, the number of members present in the group appears in the information of each group:
    Improvement : View the number of members in group's Captu463

    This improvement requires an update of the template groupcp_info_body.
    If you modified this template before 18/11/2021, some changes will be necessary to benefit from this new
    option.


    From The Forumotion Team king

    Administrators who have customized the groupcp_info_body template should consider the changes below. (Administrators who have not customized this template are not affected by these changes included natively in the basic template of the forum)




    Improvement : View the number of members in group's Left1212Improvement : View the number of members in group's Center11Improvement : View the number of members in group's Right112
    Improvement : View the number of members in group's Ape_b110
    Improvement : View the number of members in group's Ape1010

    SLGray, Terminator44, Winging and qatala like this post

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19123
    Reputation : 1993
    Language : fluent in dork / mumbojumbo & English haha

    Improvement : View the number of members in group's Empty Re: Improvement : View the number of members in group's

    Post by Ape November 22nd 2021, 5:59 pm

    Template Settings


    Admin Control panel settings.
    In View > Templates > Groups > phpBB2 groupcp_info_body:

    phpBB2

    Add:
    Code:
    <!-- BEGIN switch_count_users_group -->
    <tr>
        <td class="row1" width="20%"><span class="gen">{switch_count_users_group.L_GROUP_COUNT}:</span></td>
        <td class="row2"><span class="gen">{switch_count_users_group.GROUP_COUNT}</span></td>
    </tr>
    <!-- END switch_count_users_group -->

    After:
    Code:
    <tr>
        <td class="row1" width="20%"><span class="gen">{L_GROUP_MEMBERSHIP}:</span></td>
        <td class="row2">
            <span class="gen">{GROUP_DETAILS}&nbsp;
            <!-- BEGIN switch_subscribe_group_input -->
                <input class="mainoption" type="submit" name="joingroup" value="{L_JOIN_GROUP}" />
            <!-- END switch_subscribe_group_input -->
            <!-- BEGIN switch_unsubscribe_group_input -->
                <input class="mainoption" type="submit" name="unsub" value="{L_UNSUBSCRIBE_GROUP}" />
            <!-- END switch_unsubscribe_group_input -->
            </span>
        </td>
    </tr>

    Invision, Modernbb, PhpBB3, PunBB:


    Add:
    Code:
    <!-- BEGIN switch_count_users_group -->
    <dl>
        <dt><label>{switch_count_users_group.L_GROUP_COUNT}:</label></dt>
        <dd>{switch_count_users_group.GROUP_COUNT}</dd>
    </dl>
    <!-- END switch_count_users_group -->

    After:
    Code:
    <dl>
        <dt><label>{L_GROUP_MEMBERSHIP}:</label></dt>
        <dd>{GROUP_DETAILS}&nbsp;
            <!-- BEGIN switch_subscribe_group_input -->
            <input type="submit" name="joingroup" value="{L_JOIN_GROUP}" class="button" />
            <!-- END switch_subscribe_group_input -->
            <!-- BEGIN switch_unsubscribe_group_input -->
            <input type="submit" name="unsub" value="{L_UNSUBSCRIBE_GROUP}" class="button" />
            <!-- END switch_unsubscribe_group_input -->
        </dd>
    </dl>

    Awesomebb:


    Add:
    Code:
    <!-- BEGIN switch_count_users_group -->
    <dt>{switch_count_users_group.L_GROUP_COUNT}:</dt>
    <dd>{switch_count_users_group.GROUP_COUNT}</dd>
    <!-- END switch_count_users_group -->

    After:
    Code:
    <dd>{GROUP_DETAILS}&nbsp;
        <!-- BEGIN switch_subscribe_group_input -->
        <input class="btn btn-default" type="submit" name="joingroup" value="{L_JOIN_GROUP}" />
        <!-- END switch_subscribe_group_input -->
        <!-- BEGIN switch_unsubscribe_group_input -->
        <input class="btn btn-default" type="submit" name="unsub" value="{L_UNSUBSCRIBE_GROUP}" />
        <!-- END switch_unsubscribe_group_input -->
    </dd>

    Please don't forget to save and publish your templates.





    Improvement : View the number of members in group's Left1212Improvement : View the number of members in group's Center11Improvement : View the number of members in group's Right112
    Improvement : View the number of members in group's Ape_b110
    Improvement : View the number of members in group's Ape1010

    SLGray and qatala like this post