by Ape November 22nd 2021, 5:59 pm
Admin Control panel settings. In View > Templates > Groups > phpBB2 groupcp_info_body:
phpBB2Add:
- 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} <!-- 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} <!-- 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} <!-- 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.
|