Страница 4 из 7

Добавлено: 19.05.2006 23:39
P S J
Мда, не подумал, извиняйте :oops:

Добавлено: 16.08.2006 23:05
Sharkboy
поставил мод, все работает, возможно кривовато.
проблема в следующем, при появлении нового поста ссылка не становится другим цветом, как было до установки мода, поскажите как сделать?

Добавлено: 17.08.2006 1:25
Xpert
А на какой стиль ставили? Может в этом дело?

Добавлено: 17.08.2006 10:40
Sharkboy
Стиль Jet, просто хотелось бы чтобы ссылки на новые темы подсвечивались, а не просто менялась картинка

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

вот посмотрите

Добавлено: 22.09.2006 22:04
severnet
Xpert, возможно я нашел несовестимость Topics Sorted By Type At Forum View с AbTrack BT-Tracker MOD. Не отображается список тем в определенном "торрент-форуме". Покумекал немного.. имхо, дело в файле viewforum_torrent.tpl, который из инклуда работает с viewforum_body.tpl. Привожу ниже файл viewforum_torrent.tpl:

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

<table width="100%" border="0" cellpadding="4" cellspacing="1" class="forumline">
	<tr>
		<th class="thCornerL" align="center" colspan="2" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>

		<th class="thTop" align="center" nowrap="nowrap" title="{L_SEEDERS} | {L_LEECHERS}">&nbsp;{L_TORRENTS}&nbsp;</th>
		<th class="thTop" align="center" nowrap="nowrap" title="{L_AUTHOR}">&nbsp;{L_AUTHOR}&nbsp;</th>

		<th class="thTop" align="center" nowrap="nowrap" title="{L_REPLIES} | {L_VIEWS}">&nbsp;{L_REPLIES}&nbsp;</th>
		<th class="thCornerR" align="center" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN topicrow -->
	<!-- IF topicrow.TOPICS_SEPARATOR -->
	<tr>
		<td class="row3" colspan="6" style="padding: 0px 0px 0px 12px; height: 23px"><span class="topicSep">{topicrow.TOPICS_SEPARATOR}</span></td>
	</tr>
	<!--	<tr>
		<td class="spaceRow" colspan="6" style="padding: 0px"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="5" /></td>
	</tr> -->
	<!-- ENDIF -->
	<tr>
	 <td class="row1" align="center" valign="middle"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
		<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- {topicrow.TOPIC_ATTACHMENT_IMG} -->{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><br /><span class="gensmall" style="line-height: 160%">{topicrow.GOTO_PAGE}</span></td>

		<td class="row2" align="center" nowrap="nowrap" title="{L_DL}"><!-- BEGIN tor --><div class="gensmall" style="cursor: pointer" onClick="window.location.href='{topicrow.tor.DL_TORRENT_HREF}'"><div><span class="seedmed" title="{topicrow.tor.SEEDERS_TITLE}"><b>{topicrow.tor.SEEDERS}</b></span><span class="genmed"> | </span><span class="leechmed" title="Leechers"><b>{topicrow.tor.LEECHERS}</b></span></div><div class="gensmall" style="margin-top: 2px"><a href="{topicrow.tor.DL_TORRENT_HREF}" class="gensmall" style="text-decoration: none">{topicrow.tor.TORRENT_SIZE}</a></div></div><!-- END tor --></td>
		<td class="row3" align="center"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>

		<td class="row2" align="center" nowrap="nowrap"<!-- BEGIN compl --> title="{L_COMPLETED}: {topicrow.compl.COMPLETED}"<!-- END compl -->><span class="genmed" title="{L_REPLIES}">{topicrow.REPLIES}</span><span class="genmed"> | </span><span class="genmed" title="{L_VIEWS}">{topicrow.VIEWS}</span></td>
		<td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
	</tr>
	<!-- END topicrow -->
	<!-- BEGIN switch_no_topics -->
	<tr>
		<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
	</tr>
	<!-- END switch_no_topics -->
	<tr>
		<td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;{S_DISPLAY_ORDER}
		<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
		</span></td>
	</tr>
</table>
Прошу помочь. :wink:

Добавлено спустя 5 часов 46 минут 28 секунд:

Господа гуру.. где же вы? :?:

Добавлено: 24.09.2006 22:07
severnet
:?: :!:

Добавлено: 25.09.2006 11:29
Boochy
Установил мод, вроде все нормально. У меня стояли еще описание темы и глобальное объявление, тоже работает. Но утром сегодня встаю и возле каждой темы появились "0", что это и как исправить? http://www.sexboard.ru/viewforum.php?f=29

Добавлено: 25.09.2006 11:45
Поручик
Для начала ошибку в lang_main.php исправь

Добавлено: 25.09.2006 13:56
Boochy
Какую?

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

Если "Прикреплена", то исправил!

Добавлено спустя 1 час 15 минут 7 секунд:

Поручик
Не знаешь как "0" убрать перед названием темы?

Добавлено спустя 49 минут 32 секунды:

Вот viewforum.php

Добавлено: 25.09.2006 17:13
severnet
А мне помогите. :cry:

Добавлено: 25.09.2006 21:39
Boochy
Никто не знает как убрать "0"?

Добавлено: 25.09.2006 23:07
MXM
Boochy, вообщем я быстро посмотрел код и заметил:
// [begin] Topics Sorted By Type At Forum View
if( $topic_type == POST_ANNOUNCE )
{
$topic_type = $lang['Topic_Announcement'] . ' ';
$topic_block = 'anno_row';
}
// Start add - Global announcement MOD
else if( $topic_type == POST_GLOBAL_ANNOUNCE )
{
$topic_type = $lang['Topic_global_announcement'] . ' ';
$topic_block = 'anno_row';
}
// End add - Global announcement MOD
else if( $topic_type == POST_STICKY )
{
$topic_type = $lang['Topic_Sticky'] . ' ';
$topic_block = 'sticky_row';
$sticky_cnt++;
}
else
{
$topic_type = ''; // Где эта строчка у тебя, куда ты ее дел???
$topic_block = 'normal_row';

}
// [end] Topics Sorted By Type At Forum View
Често - не знаю, решает она твою проблему или нет.

Добавлено: 26.09.2006 7:47
Boochy
Спасибо, помогло! :wink:

Добавлено: 26.09.2006 15:31
severnet
Xpert, лично прошу.. скажи как мне исправить. Не хочется сносить твой мод. :roll:

Добавлено: 29.09.2006 1:30
zelk
Установил мод global_topic v.1.1.2. автор OXPUS. (http://www.oxpus.de/hacks_list.php?sort ... =&start=75)

Скорее всего просьба к Xpert-у, можно ли сделать аддон, чтоб оба мода работали друг с другом.