Уважаемые пользователи!
C 7 ноября 2020 года phpBB Group прекратила выпуск обновлений и завершила дальнейшее развитие phpBB версии 3.2.
С 1 августа 2024 года phpBB Group прекращает поддержку phpBB 3.2 на официальном сайте.
Сайт официальной русской поддержки phpBB Guru продолжит поддержку phpBB 3.2 до 31 декабря 2024 года.
С учетом этого, настоятельно рекомендуется обновить конференции до версии 3.3.

Viewtopic_body.tpl style trouble

Есть любые вопросы, связанные со стилями/темами для phpBB 2.0.x? Ишите ответы здесь!
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 17 лет 1 месяц

Viewtopic_body.tpl style trouble

Сообщение bartezas16 »

How move to left these icons (see this http://img105.[censor].us/img105/1195/howzv5.png ) in my viewtopic_body.tpl?Please fix my viewtopic_body.tpl some wrong lines :

Код: Выделить всё

<td class="row1" width="100%" colspan="2" valign="bottom" nowrap="nowrap"><table width="100%" height="18" cellspacing="0" cellpadding="0" border="0">
	  <tr>
					<td width="100%" colspan="2"  height="28" valign="middle" nowrap="nowrap"><span class="nav">
					<a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a>{postrow.BUTTONS_PANEL}</tr></span>
			</table>
		</td>
		</tr>
	<tr>
		<td class="spacerow" colspan="2"><img src="{I_SPACER}" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16313
Стаж: 17 лет 10 месяцев
Откуда: Красноярск
Благодарил (а): 533 раза
Поблагодарили: 2119 раз
Контактная информация:

Сообщение rxu »

Can you show how the BUTTONS_PANEL is generating?
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 17 лет 1 месяц

Сообщение bartezas16 »

rxu писал(а):Can you show how the BUTTONS_PANEL is generating?
It's PCP (Profile Control Panel) mod.So but what sort of file I need to change to fix it?Because i think trouble isn't in viewtopic_body.tpl file :/
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16313
Стаж: 17 лет 10 месяцев
Откуда: Красноярск
Благодарил (а): 533 раза
Поблагодарили: 2119 раз
Контактная информация:

Сообщение rxu »

bartezas16 писал(а):It's PCP (Profile Control Panel) mod.
What version? I've checked v.2.0.0 and found that the string in viewtopic_body.php is different:

Код: Выделить всё

<tr>
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18"><tr>{postrow.BUTTONS_PANEL}</tr></table></td>
	</tr>
Anyway, maybe it's a part of profilcp/def/def_usermaps.php starting with:

Код: Выделить всё

	'PHPBB.viewtopic.buttons' => array(
		'title'		=> '',
		'fields'	=> array(
			'username' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 17 лет 1 месяц

Сообщение bartezas16 »

Yeah my version is v.2.0.0 too.In viewtopic_vody.tpl is my little change.Now i my result is http://img162.[censor].us/img162/3959/95640752fe8.png and
http://img528.[censor].us/img528/3971/74436012ot5.png

After i removed width="100%"

Код: Выделить всё

<tr>
					<td valign="middle" nowrap="nowrap"><span class="nav">
					<a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a>{postrow.BUTTONS_PANEL}</tr></span>
			</table>
		</td>
		</tr>
	<tr>
But how remove space from icons and make it both?I think is trouble at profilcp/def/def_usermaps.php

these lines:

Код: Выделить всё

	'PHPBB.viewtopic.buttons' => array(
		'title'		=> '',
		'fields'	=> array(
			'username' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_birthday' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_my_friend' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_my_ignore' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_pm' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_email' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_website' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_aim' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_yim' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_msnm' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
			),
			'user_icq' => array(
				'img'          => true,
				'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s</span></td>',
			),
		),
	),
How fix that?
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16313
Стаж: 17 лет 10 месяцев
Откуда: Красноярск
Благодарил (а): 533 раза
Поблагодарили: 2119 раз
Контактная информация:

Сообщение rxu »

Код: Выделить всё

<tr> 
               <td valign="middle" nowrap="nowrap"><span class="nav"> 
               <a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a>{postrow.BUTTONS_PANEL}</tr></span> 
         </table> 
      </td> 
      </tr> 
   <tr>
Looks like your changes are not quite right. Maybe it should look like this :?:

Код: Выделить всё

<tr> 
               <td valign="middle" nowrap="nowrap"><span class="nav"> 
               <a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a></td>{postrow.BUTTONS_PANEL}</span> 
         </table> 
</tr> 
<tr>
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 17 лет 1 месяц

Сообщение bartezas16 »

rxu писал(а):

Код: Выделить всё

<tr> 
               <td valign="middle" nowrap="nowrap"><span class="nav"> 
               <a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a>{postrow.BUTTONS_PANEL}</tr></span> 
         </table> 
      </td> 
      </tr> 
   <tr>
Looks like your changes are not quite right. Maybe it should look like this :?:

Код: Выделить всё

<tr> 
               <td valign="middle" nowrap="nowrap"><span class="nav"> 
               <a href="#top" class="nav"><img src="{I_GO_TOP}" border="0" alt="{L_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" /></a></td>{postrow.BUTTONS_PANEL}</span> 
         </table> 
</tr> 
<tr>

No still that some problem.Maybe need change this lines:

Код: Выделить всё

'PHPBB.viewtopic.buttons' => array(
      'title'      => '',
      'fields'   => array(
         'username' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_birthday' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_my_friend' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_my_ignore' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_pm' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_email' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_website' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_aim' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_yim' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_msnm' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s&nbsp;</span></td>',
         ),
         'user_icq' => array(
            'img'          => true,
            'style'        => '<td valign="absbottom" nowrap="nowrap"><span class="gensmall">%s</span></td>',
         ),
      ),
   ),
ofcourse if you or anybody can :)
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16313
Стаж: 17 лет 10 месяцев
Откуда: Красноярск
Благодарил (а): 533 раза
Поблагодарили: 2119 раз
Контактная информация:

Сообщение rxu »

Could you attach whole viewtopic_body.tpl here as an archive?
Изображение
Закрыто

Вернуться в «Стили для phpBB 2.0.x»