Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://britishcelebrityfakers.co.uk/portal.php
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
Hello
I have been trying to alter the team block so it shows the staff on my forum.
Admin
Global moderators
Archive moderators
I did a search and found this https://www.phpbb.com/customise/db/mod/ ... 70#p247170
after following the instructions I get the admin and moderators showing but underneath I see the following text
Archive moderators
NO ARCHIVE MODERATORS
These are my edited files.
leaders_side.html:
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
	<strong<!-- IF S_CONTENT_DIRECTION eq 'rtl' --> style="float: right;"<!-- ENDIF -->>{L_ADMINISTRATORS}</strong><br />
	<!-- BEGIN admin -->
		<span style="float:<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->float:right; padding-right:5px;<!-- ELSE -->float:left; padding-left:5px;<!-- ENDIF --> padding-top:2px;"><strong>{admin.USERNAME_FULL}</strong></span><br style="clear:both" />
	<!-- BEGINELSE -->
		{L_NO_ADMINISTRATORS_P}<br /><br />
	<!-- END admin -->
	<br style="clear:both" />
	<strong<!-- IF S_CONTENT_DIRECTION eq 'rtl' --> style="float: right;"<!-- ENDIF -->>{L_MODERATORS}</strong><br />
	<!-- BEGIN mod -->
		<span style="float:<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->float:right; padding-right:5px;<!-- ELSE -->float:left; padding-left:5px;<!-- ENDIF --> padding-top:2px;"><strong>{mod.USERNAME_FULL}</strong></span><br style="clear:both" />
	<!-- BEGINELSE -->
		{L_NO_MODERATORS_P}
	<!-- END mod -->
   <br style="clear:both" />
   <strong>{L_ARCHIVE MODERATORS}</strong><br />
   <!-- BEGIN arc -->
      <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_ARCHIVE MODERATORS_P}
   <!-- END arc -->
	
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Code: Select all
'WHERE'        => 'u.group_id = g.group_id AND ' . $db->sql_in_set('g.group_name', array('ADMINISTRATORS', 'GLOBAL_MODERATORS', 'ARCHIVE_MODERATORS')), 
				'ORDER_BY'	=> 'g.group_name ASC, u.username_clean ASC'
			));Code: Select all
 	while ($row = $db->sql_fetchrow($result))
			{
				if ($row['group_name'] == 'ADMINISTRATORS')
				{
					$which_row = 'admin';
				}
				elseif ($row['group_name'] == 'GLOBAL_MODERATORS')
				{
					$which_row = 'mod';
				}
				                elseif ($row['group_name'] == 'ARCHIVE_MODERATORS')
                {
                    $which_row = 'arc';
                } 
Code: Select all
'NO_ADMINISTRATORS_P'	    => 'No Administrators',
	'NO_MODERATORS_P'		    => 'No Moderators',
	'NO_ARCHIVE_MODERATORS_P'   => 'No Archive Moderators', 
	'NO_GROUPS_P'			    => 'No Groups',
	'ACP_PORTAL_LEADERS'	    => 'The Team',Code: Select all
'PORTAL_LEADERS_EXT_EXP'	=> 'The standard block lists all admins/mods/Archive moderators, while the extended block includes all non-hidden groups with a legend.',
));Code: Select all
'AND'							=> 'And',
    'ARCHIVE_MODERATORS'            => 'Archive moderators', 
	'ARE_WATCHING_FORUM'			=> 'You have subscribed to be notified of new posts in this forum.',Code: Select all
'G_ADMINISTRATORS'			=> 'Administrators',
	'G_ARCHIVE_MODERATORS'      => 'Archive moderators', 
	'G_BOTS'					=> 'Bots',Thanks in advance
Paul[/i]

