- /styles/your_style/template/portal/modulesleaders_side.html
- root/portal/modules/portal_leaders.php
- root/language/en/mods/portal/portal_leaders_module.php
- root/language/en/common.php
Let's go add a new group called "Colaborators", but first you have to create this group in your Forum, from ACP.
Basically is:
1- /styles/your_style/template/portal/modulesleaders_side.html:
Find the line...
Code: Select all
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Code: Select all
<br style="clear:both" />
<strong>{L_COLABORATORS}</strong><br />
<!-- BEGIN col -->
<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;"><strong>{col.USERNAME_FULL}</strong></span><br style="clear:both" />
<!-- BEGINELSE -->
{L_NO_COLABORATORS_P}
<!-- END col -->
Find the line...
Code: Select all
'WHERE' => 'u.group_id = g.group_id AND ' . $db->sql_in_set('g.group_name', array('ADMINISTRATORS', 'GLOBAL_MODERATORS')),
Code: Select all
'WHERE' => 'u.group_id = g.group_id AND ' . $db->sql_in_set('g.group_name', array('ADMINISTRATORS', 'GLOBAL_MODERATORS', 'Colaborators')),
Code: Select all
elseif ($row['group_name'] == 'GLOBAL_MODERATORS')
{
$which_row = 'mod';
}
Code: Select all
elseif ($row['group_name'] == 'Colaborators')
{
$which_row = 'col';
}
Find the line...
Code: Select all
'NO_MODERATORS_P' => 'No Moderators',
Code: Select all
'NO_COLABORATORS_P' => 'No Colaborators',
Code: Select all
'PORTAL_LEADERS_EXT_EXP' => 'The standard block lists all admins/mods, while the extended block includes all non-hidden groups with a legend.',
4- root/language/en/common.php:
Find the line...
Code: Select all
'G_BOTS' => 'Bots',
Code: Select all
'G_COLABORATORS' => 'Colaborators',
Code: Select all
'CLICK_VIEW_PRIVMSG' => '%sGo to your inbox%s',
Code: Select all
'COLABORATORS' => 'Colaborators',
Source: http://www.suportephpbb.com.br