Medals.php style problem...

Ответы на вопросы, связанные с модами для phpBB 2.0.x, кроме относящихся к форуму Для авторов (phpBB 2.0.x).
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Medals.php style problem...

Сообщение bartezas16 »

If found a template (extreempixels) bug for this mod.When i go to medals.php see this http://img444.[censor].us/img444/6086 ... ed1an5.png


Where are others medals categories?

Plz edit this original medals_body.tpl file


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


<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="middle" width="100%"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> {L_MEDALS}</span></td>
  </tr>
</table>

<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	<tr> 
		<td class="catLeft" colspan="2" height="28"><span class="cattitle">{catrow.CAT_DESC}</span></td>
		<td class="rowpic" colspan="2" align="right">&nbsp;</td>
	</tr>
	<tr>
		<th class="thCornerL" width="15%" height="25" nowrap="nowrap">&nbsp;{L_MEDAL_NAME}&nbsp;</th>
		<th class="thTop" width="50%" nowrap="nowrap">&nbsp;{L_MEDAL_DESCRIPTION}&nbsp;</th>
		<th class="thTop" width="20%" nowrap="nowrap">&nbsp;{L_USERS_LIST}&nbsp;</th>
		<th class="thCornerR" nowrap="nowrap">&nbsp;{L_MEDAL_MODERATOR}&nbsp;</th>
	</tr>
	<!-- BEGIN medals -->
	<tr>
		<td class="row1" align="center" nowrap="nowrap">
			<span class="genmed">{catrow.medals.MEDAL_NAME}</span><br />{catrow.medals.MEDAL_IMAGE}</td>
		<td class="row1" valign="center" align="center">
			<span class="gen">{catrow.medals.MEDAL_DESCRIPTION}</span></td>
		<td class="row2" valign="center" align="center">
			<span class="gensmall">{catrow.medals.USERS_LIST}</span></td>
		<td class="row2" valign="center" align="center">
			<span class="gensmall">{catrow.medals.MEDAL_MOD}</span>
			<!-- BEGIN switch_mod_option -->
			<br /><span class="gensmall"><a href="{catrow.medals.U_MEDAL_CP}" class="gensmall">{L_LINK_TO_CP}</a></span>
			<!-- END switch_mod_option -->
		</td>
	</tr>
	<!-- END medals -->
</table>
<br />
<!-- END catrow -->
Аватара пользователя
Romy
phpBB 2.0.3
Сообщения: 396
Стаж: 20 лет
Откуда: tallinn.ee

Сообщение Romy »

bartezas16, please, give a mod (link or attach)
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

Romy
I suppose this is it
http://www.phpbb.com/phpBB/viewtopic.php?t=148362

Добавлено спустя 1 минуту:

P.S.
Russian is only language of this board!
Don't break the rules! :D
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Сообщение bartezas16 »

rxu писал(а):Romy
I suppose this is it
http://www.phpbb.com/phpBB/viewtopic.php?t=148362

Добавлено спустя 1 минуту:

P.S.
Russian is only language of this board!
Don't break the rules! :D
Yes it is but i need so help if you saw...
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

bartezas16 писал(а):Yes it is but i need so help if you saw...
No problem, you're welcome.
It was just a joke :)
Изображение
Аватара пользователя
Romy
phpBB 2.0.3
Сообщения: 396
Стаж: 20 лет
Откуда: tallinn.ee

Сообщение Romy »

rxu писал(а):I suppose this is it
thanks ;)
bartezas16, i hope, you can find help and fix on the off.board (link above) much quickely ;)
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

bartezas16
Did you try medals on subSilver? How does it look?
Are all of categories OK?
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Сообщение bartezas16 »

rxu писал(а):bartezas16
Did you try medals on subSilver? How does it look?
Are all of categories OK?
Yes it did.But on this (extreempixel) template medal.php page do not working correctly and i need to change this medals_body.tpl file.
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

bartezas16
What version are you using? Just look at this:
## 2006-04-04 - Version 0.4.6
## - Fix a few language errors
## - Fix toogle button to allow make it work in Firefox (thanks to 心靈捕手 from phpbb-tw)
## - Fix a bug with empty username in medalcp.php
## - Fix a bug with dropdown list ordering bug in admin_medal.php
## - Fix a bug with the showing of category in medals.php
Добавлено спустя 38 секунд:

Are you up to date?
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Сообщение bartezas16 »

rxu писал(а):bartezas16
What version are you using? Just look at this:
## 2006-04-04 - Version 0.4.6
## - Fix a few language errors
## - Fix toogle button to allow make it work in Firefox (thanks to 心靈捕手 from phpbb-tw)
## - Fix a bug with empty username in medalcp.php
## - Fix a bug with dropdown list ordering bug in admin_medal.php
## - Fix a bug with the showing of category in medals.php
Добавлено спустя 38 секунд:

Are you up to date?
I'm using Mod Version: 2.2.3
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

bartezas16
This is an older version. Look:
## 2005-09-25 - Version 0.4.3 { a.k.a 2.2.3 in the older release files}
## - Fix some bugs and re-wrote some bits of script
## - Added an add-on to remove toggle button effect from viewprofile
##
## 2005-12-06 - Version 0.4.4
## - Fix a problem concerning issuing medal to user that has a username consists of numbers
## (changes in medalcp.php only)
## - Change parts of the SQL syntax to add NOT NULL to a few places and removed "TYPE=MyISAM"
##
## 2005-12-07 - Version 0.4.5
## - Fix an error in a switch (thanks to 心靈捕手 from phpbb-tw)
## - Fix type-errors in Chinese lang file (thanks to 心靈捕手 from phpbb-tw)
##
## 2006-04-04 - Version 0.4.6
## - Fix a few language errors
## - Fix toogle button to allow make it work in Firefox (thanks to 心靈捕手 from phpbb-tw)
## - Fix a bug with empty username in medalcp.php
## - Fix a bug with dropdown list ordering bug in admin_medal.php
## - Fix a bug with the showing of category in medals.php
Perhaps you should try to update it :)
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Сообщение bartezas16 »

rxu писал(а):bartezas16
This is an older version. Look:
## 2005-09-25 - Version 0.4.3 { a.k.a 2.2.3 in the older release files}
## - Fix some bugs and re-wrote some bits of script
## - Added an add-on to remove toggle button effect from viewprofile
##
## 2005-12-06 - Version 0.4.4
## - Fix a problem concerning issuing medal to user that has a username consists of numbers
## (changes in medalcp.php only)
## - Change parts of the SQL syntax to add NOT NULL to a few places and removed "TYPE=MyISAM"
##
## 2005-12-07 - Version 0.4.5
## - Fix an error in a switch (thanks to 心靈捕手 from phpbb-tw)
## - Fix type-errors in Chinese lang file (thanks to 心靈捕手 from phpbb-tw)
##
## 2006-04-04 - Version 0.4.6
## - Fix a few language errors
## - Fix toogle button to allow make it work in Firefox (thanks to 心靈捕手 from phpbb-tw)
## - Fix a bug with empty username in medalcp.php
## - Fix a bug with dropdown list ordering bug in admin_medal.php
## - Fix a bug with the showing of category in medals.php
Perhaps you should try to update it :)

Thx when i updated medals categories works :) but the second problem is with white rows on table see this http://img154.[censor].us/img154/3046/wrowsed2.png how to remove it?
Аватара пользователя
rxu
phpBB Guru
phpBB Guru
Сообщения: 16950
Стаж: 18 лет 11 месяцев
Откуда: Красноярск
Благодарил (а): 549 раз
Поблагодарили: 1702 раза

Сообщение rxu »

In medals_body.tpl there's a code

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

<td class="rowpic" colspan="2" align="right">&nbsp;</td>
It looks like there's no td.rowpic class in your style .css file.
Изображение
bartezas16
phpBB 1.2.1
Сообщения: 29
Стаж: 18 лет 2 месяца

Сообщение bartezas16 »

rxu писал(а):In medals_body.tpl there's a code

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

<td class="rowpic" colspan="2" align="right">&nbsp;</td>
It looks like there's no td.rowpic class in your style .css file.
I fixed that.

Changed this

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

   <tr>
      <td class="catLeft" colspan="2" height="28"><span class="cattitle">{catrow.CAT_DESC}</span></td>
      <td class="rowpic" colspan="2" align="right">&nbsp;</td>
   </tr>

to

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

<tr>
      <td class="catLeft" colspan="4" height="28"><span class="cattitle">{catrow.CAT_DESC}</span></td>
   </tr>

Вернуться в «Поддержка модов для phpBB 2.0.x»