Jump to content

Recommended Posts

index.php?app=downloads&module=display&s

Название: Forum Icons Rus

Добавил: WzGeee

Добавлен: 04 Мар 2013

Категория: Русские компоненты и приложения IP.Board всех версий.

Автор локализации: WzGeee

Оригинальное название: Forum Icons

Версия IP.Board: 3.3.x, 3.4.x

Компонент добавляет возможность загружать иконки к форумам :)

Share this post


Link to post
Share on other sites

6 стилей ? Это что за портал такой?

это бедный, несчастный, замученный форум с сумасшедшей админшей, которой нечем заняться :D

ну а вообще, что плохого в большом выборе, каждый пользователь выбирает стиль по своему вкусу :cool:

у меня все стили используются юзверями, хотя когда вот надо править шаблоны для хуков всяких, это да - работка не на 3 минуты :hang:

Share this post


Link to post
Share on other sites

У меня не работает а в ац все работает захожу на сайт форума иконок нет

Прочитай установочную инструкцию, для установки мода нужно править шаблоны.

Share this post


Link to post
Share on other sites

это бедный, несчастный, замученный форум с сумасшедшей админшей, которой нечем заняться :D

ну а вообще, что плохого в большом выборе, каждый пользователь выбирает стиль по своему вкусу :cool:

у меня все стили используются юзверями, хотя когда вот надо править шаблоны для хуков всяких, это да - работка не на 3 минуты :hang:

Соня, при правильном подходе на поправку стиля уходит 2 минуты :10:

Share this post


Link to post
Share on other sites

Кому лень, вот для  делал:
forumIndexTemplate


 
{parse js_module="forums"}
<script type="text/javascript">
//<![CDATA[
	//Search Setup
	ipb.vars['search_type']		= 'forum';
	ipb.vars['search_type_id']	= {$this->request['showforum']};
	ipb.templates['topic_rename'] = new Template("<input type='text' id='#{inputid}' value='#{value}' class='input_text' size='50' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>");
	var markerURL  = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use &amp;
	var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";
	
	ipb.forums.modPerms	  = [];
	<if test="$this->memberData['g_is_supmod']">
		ipb.forums.modPerms['approve'] = 1;
		ipb.forums.modPerms['delete'] = 1;
		ipb.forums.modPerms['hide'] = 1;
		ipb.forums.modPerms['unhide'] = 1;
		ipb.forums.modPerms['pin'] = 1;
		ipb.forums.modPerms['unpin'] = 1;
		ipb.forums.modPerms['open'] = 1;
		ipb.forums.modPerms['close'] = 1;
		ipb.forums.modPerms['move'] = 1;
		ipb.forums.modPerms['merge'] = 1;
	<else />
		<if test="isset( $this->memberData['forumsModeratorData'][ $forum_data['id'] ] )">
			ipb.forums.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['topic_q']};
			ipb.forums.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']};
			ipb.forums.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_soft_delete']};
			ipb.forums.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_un_soft_delete']};
			ipb.forums.modPerms['pin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic']};
			ipb.forums.modPerms['unpin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']};
			ipb.forums.modPerms['open'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['open_topic']};
			ipb.forums.modPerms['close'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['close_topic']};
			ipb.forums.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['move_topic']};
			ipb.forums.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['split_merge']};
		</if>
	</if>
	
	ipb.templates['topic_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['f_comment_action_count']} </span><select id='tactInPopup' class='input_select'></select>&nbsp;&nbsp;<input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>");
//]]>
</script>
<if test="watchismember:|:$this->memberData['member_id']">
	<if test="hasFollowData:|:$other_data['follow_data']">
		{$other_data['follow_data']}
	</if>
</if>
<h1 class='ipsType_pagetitle'>{$forum_data['name']}</h1>
<div class='ipsType_pagedesc forum_rules'>
	<if test="rules:|:$forum_data['show_rules']">
		<if test="rulesinline:|:$forum_data['show_rules'] == 2">
			<strong>{$forum_data['rules_title']}</strong>
			{$forum_data['rules_text']}
		</if>
		<if test="ruleslink:|:$forum_data['show_rules'] == 1">
			<a href='{parse url="app=forums&amp;module=forums&amp;section=rules&amp;f={$forum_data['id']}" base="public"}' title='{$this->lang->words['view_forum_rules']}'>{$forum_data['rules_title']}</a>
		</if>
	<else />
		{$forum_data['description']}
	</if>
</div>
<br />
<if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )">
	<table class='ipb_table topic_list hover_rows' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='announcements'>
		<foreach loop="announcements:$announce_data as $aid => $adata">
			<tr class='row2 announcement' id='arow_{$adata['announce_id']}'>
				<td>
					<php>$_seoTitle	= $adata['announce_seo_title'] ? $adata['announce_seo_title'] : "%%{$adata['announce_title']}%%";</php>
					{parse replacement="t_announcement"}
					<h4>
						<a href="{parse url="showannouncement={$adata['announce_id']}&amp;f={$forum_data['id']}" seotitle="{$_seoTitle}" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a>
					</h4>&nbsp;
					<span class='desc'>{$this->lang->words['posted_by']} {parse template="userHoverCard" group="global" params="$adata"}
						<if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if>
					</span>
				</td>
			</tr>
		</foreach>
	</table>
	<br />
</if>
<!-- __-SUBFORUMS-__ -->
<if test="hassubforums:|:is_array( $sub_forum_data ) AND count( $sub_forum_data )">
	<div class='category_block block_wrap'>
		<h3 class='maintitle'>{$this->lang->words['sub_forum_title']}</h3>
			<div class='ipsBox_container'>
				<table class='ipb_table' summary="{$this->lang->words['cat_subforums']} '{$forum_data['name']}'">
					<foreach loop="subforums:$sub_forum_data as $_data">
						<if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
							<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
								<if test="forumRedirect:|:$forum_data['redirect_on']">
									<tr class='redirect_forum' id='f_{$forum_data['id']}'>
										<td class='col_c_icon'>
											<img src='{$this->settings['img_url']}/f_redirect.png' />
										</td>
										<td <if test="canSeeLastInfoRedirect:|:$this->memberData['gbw_view_last_info']">colspan='2'</if> class='col_c_forum'>
											<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'><if test="$forum_data['_name']">{$forum_data['_name']}<else />{$forum_data['name']}</if></a></h4>
											<p class='desc'>{$forum_data['description']}</p>
										</td>
										<td class='desc'>
											<ul class='last_post ipsType_small'>
												<li class='desc lighter'><em>{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}</em></li>
											</ul>
										</td>
									</tr>
								<else />
									<tr class='<if test="$forum_data['_has_unread']">unread</if>'>
										<td class='col_c_icon'>
											<if test="$forum_data['_has_unread']">
												<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon.png' /></if></a>
												<script type='text/javascript'>
													<if test="$this->settings['dp3_fi_mode'] == 'replace'">var unreadIcon = "{$forum_data['icon_read']}";</if>
													ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
												</script>
											<else />
												<if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon_read.png' /></if>
											</if>
										</td>
										<td class='col_c_forum'>
											<h4>
												<if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
													<a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}' class='ipsBadge ipsBadge_orange' data-tooltip="{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}" style='vertical-align: top'>{$this->lang->words['f_queued_badge']}</a>
												</if>
												<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'><if test="$forum_data['_name']">{$forum_data['_name']}<else />{$forum_data['name']}</if></a>
											</h4>
											
											<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
												<br />
												<ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>
													<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
														<if test="showSubForumsLit:|__data[3]"><li class='unread'><else /><li></if>
															<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$__data[1]}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if>
														</li>
													</foreach>
												</ol>
											</if>
											
											<p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p>
										</td>
										<td class='col_c_stats ipsType_small'>
											<ul>
												<li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>
												<li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>
											</ul>
										</td>
										<if test="canSeeLastInfoSubs:|:$this->memberData['gbw_view_last_info']">
										<td class='col_c_post'>
											<if test="hideLastInfo:|:$forum_data['hide_last_info']">
												<ul class='last_post ipsType_small'>
													<li class='desc lighter'><em>{$this->lang->words['f_protected']}</em></li>
												</ul>
											<else />
												<if test="hideTopicInTitle:|:$forum_data['_hide_last_date']">
												{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => '' )"}
												<else />
												{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"}
												</if>
												<ul class='last_post ipsType_small'>
													<if test="!$forum_data['last_id']">
														<li class='desc lighter'><em>{$this->lang->words['f_none']}</em></li>
													<else />
														<li>{$forum_data['last_topic_title']}</li>
														<if test="lastPosterID:|:$forum_data['last_poster_id']">
															<li>{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$forum_data"}</li>
														</if>
														<if test="hideDateUrl:|:$forum_data['_hide_last_date']">
															<li class='desc lighter blend_links'>{parse date="$forum_data['last_post']" format="DATE"}</li>
														<else />
															<li class='desc lighter blend_links'><a href='{parse url="showtopic={$forum_data['last_id']}&amp;view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="DATE"}</a></li>
														</if>
													</if>
												</ul>
											</if>
										</td>
										</if>
									</tr>
								</if>
							</foreach>
						</if>
					</foreach>
				</table>
			</div>
	</div>
	<br /><br />
</if>
<if test="showtopics:|:$forum_data['sub_can_post']">
	<div class='topic_controls clearfix'>
		{$forum_data['SHOW_PAGES']}
		<ul class='topic_buttons'>
			<if test="usercanpost:|:$forum_data['_user_can_post']">
				<li><a href='{parse url="module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' accesskey='s'>{$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span><if test="isGuestPostTopicTop:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li>
			</if>
			<if test="moderationDropdownLink:|:$this->memberData['is_mod'] == 1">
				<li class='non_button'>
					<a href='#' id='forum_mod_options' class='ipbmenu'>{$this->lang->words['forum_management']}</a>
				</li>
			</if>
			<li class='non_button'>
				<a data-clicklaunch="forumMarkRead" data-fid="{$forum_data['id']}" href='{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$forum_data['id']}" base="public"}' title='{$this->lang->words['mark_as_read']}'><img src='{$this->settings['img_url']}/icon_check.png' /> &nbsp;{$this->lang->words['mark_as_read']}</a>
			</li>
		</ul>
		
		
	</div>
	
	<if test="moderationDropdownMenu:|:$this->memberData['is_mod'] == 1">
		<ul class='ipbmenu_content' id='forum_mod_options_menucontent' style='display: none'>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_unapproved']}'>{$this->lang->words['mod_unapproved']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=hidden" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
			<if test="$this->memberData['g_is_supmod']">
				<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=prune_start&amp;f={$forum_data['id']}&amp;auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a></li>
			</if>
		</ul>
	</if>
	<div class='ipsFilterbar maintitle'>
		<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
			<span class='right'>
				<input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' />
				&nbsp;
			</span>
		</if>
		
		<ul class='ipsList_inline ipsType_small'>
			<li <if test="ka_last_post:|:$this->request['sort_key'] == 'last_post' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=last_post&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_recent']}</a></li>
			<li <if test="ka_start_date:|:$this->request['sort_key'] == 'start_date' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=start_date&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_start']}</a></li>
			<li <if test="ka_replies:|:$this->request['sort_key'] == 'posts' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=posts&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_replies']}</a></li>
			<li <if test="ka_viewed:|:$this->request['sort_key'] == 'views' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=views&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_views']}</a></li>
			<li <if test="$this->request['sort_by'] == 'A-Z' or !in_array( $this->request['sort_key'], array( 'last_post', 'start_date', 'posts', 'views' ) )">class='active'</if>><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li>
			<if test="answerLink:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )">
				<li <if test="ka_viewed:|:isset($this->request['answered'])">class='active'</if>><a href="#filter_answered_menucontent" id='filter_answered'>{$this->lang->words['tmenu_answered_link']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li>
			</if>
		</ul>
	</div>
	<if test="answerMenu:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )">
		<ul id='filter_answered_menucontent' class='ipbmenu_content' style='display: none'>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}&amp;answered=true" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_answered']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}&amp;answered=false" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_unanswered']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_show_all']}</a></li>
		</ul>
		<script type='text/javascript'>
			new ipb.Menu( $('filter_answered'), $('filter_answered_menucontent'), { stopClose: true } );
		</script>
	</if>
	<div id='forum_filter_menucontent' class='ipbmenu_content ipsPad' style='display: none'>
		<form id='filter_form' action="{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;changefilters=1" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}" method="post">
			<strong>{$this->lang->words['filter_type']}</strong><br />
			<select name="topicfilter" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_sort']}</strong><br />
			<select name="sort_key" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_direction']}</strong><br />
			<select name="sort_by" id='direction' class='input_select'>{$footer_filter['sort_order']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_time']}</strong><br />
			<select name="prune_day" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select>
			<br /><br />
		
			<input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label>
			<br /><br />
			
			<input type="submit" value="{$this->lang->words['sort_submit']}" class="input_submit" />
		</form>
	</div>
	<script type='text/javascript'>
		new ipb.Menu( $('forum_filter'), $('forum_filter_menucontent'), { stopClose: true } );
	</script>
		<div class='ipsBox_container'>
			<table class='ipb_table topic_list hover_rows <if test="topicsismod:|:$this->memberData['is_mod'] == 1">is_mod</if>' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='forum_table'>
				<tr class='main_header'>
					<th scope='col' class='col_f_icon'>&nbsp;</th>
					<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
					<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
					<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
					<if test="canSeeLastInfoHeader:|:$this->memberData['gbw_view_last_info']"><th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th></if>
					<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
						<th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th>
					</if>
				</tr>	
				<!-- BEGIN TOPICS -->
				<if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
					<foreach loop="topics:$topic_data as $tid => $data">
						{parse template="topic" group="forum" params="$data, $forum_data, $other_data, $inforum"}
					</foreach>
				<else />
					<tr> 
						<if test="notopicsspan:|:$this->memberData['is_mod'] == 1">
							<td colspan='6' class='no_messages'>
						<else />
							<td colspan='5' class='no_messages'>
						</if>
							{$this->lang->words['no_topics']}
						</td>
					</tr>
				</if>
			</table>
			<if test="hastopics:|:$other_data['hasMore']">
				<div id='more_topics' style='display: none'>
					<a href='#' id='forum_load_more'>{$this->lang->words['load_more_topics']}</a>
				</div>
				<script type='text/javascript'>
					ipb.forums.fetchMore = {
						'f': parseInt("{$this->request['showforum']}")	,
						'page': parseInt("{$this->request['page']}"),
						'sort_by': "{$this->request['sort_by']}",
						'sort_key': "{$this->request['sort_key']}",
						'topicfilter': "{$this->request['topicfilter']}",
						'prune_day': "{$this->request['prune_day']}",
						'max_topics': "{$this->settings['display_max_topics']}"
					};
				</script>
			</if>
		</div>
		
	<br />
	<div class='topic_controls clear'>
		{$forum_data['SHOW_PAGES']}
		<ul class='topic_buttons'>
			<if test="bottomusercanpost:|:$forum_data['_user_can_post']">
				<li><a href='{parse url="module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' rel='nofollow' accesskey='s'>{$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span><if test="isGuestPostTopic:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li>
			</if>
		</ul>
	</div>
	<br class='clear' />	
	<div id='forum_footer' class='statistics clear clearfix'>
		<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">
			<div id='forum_led_by' class='right ipsType_small'>
				<img src='{$this->settings['img_url']}/icon_users.png' /> &nbsp;{$this->lang->words['forum_led_by']}
				<foreach loop="moderators:$mod_data as $p => $r">
					<a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]"></if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if>
				</foreach>
			</div>
		</if>
		<if test="showactiveusers:|:is_array( $active_user_data ) AND count( $active_user_data )">
			<div id='forum_active_users' class='active_users stats_list'>
				<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_titlef'], $active_user_data['stats']['total'] )"}</h4>
				<p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['stats']['members'], $active_user_data['stats']['guests'], $active_user_data['stats']['anon'] )"}</p>
				<br />
				<ul class='ipsList_inline'>
					<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">
						{parse expression="implode( ', ', $active_user_data['names'] )"}
					</if>
				</ul>
			</div>
		</if>	
	</div>
</if>
<br class='clear' />
	
<div id='delPopUp' style='display:none'>
	<h3 class='bar'>{$this->lang->words['dlt_title']}</h3>
	<div class='general_box'>
		<form action='#{removeUrl}' method='POST'>
			<strong>{$this->lang->words['dlt_remove_from_view']}</strong>
			<p class='desc'>{$this->lang->words['dlt_remove_from_view_desc']}</p>
			<p style='padding:4px 0px 4px 0px'>{$this->lang->words['dlt_reason']} <input type='text' name='deleteReason' id='delPop_reason' value='' style='width:65%' /> <input type='submit' class='input_submit' value='{$this->lang->words['dlt_remove']}' /></p>
		</form>
		<div style='#{permaDelete}padding-top:5px'>
			<strong>{$this->lang->words['dlt_delete_from_topic']}</strong>
			<p class='desc'>{$this->lang->words['dlt_delete_from_topic_desc']}</p>
			<p style='padding:4px 0px 4px 0px'><input type='button' class='input_submit' onclick="window.location='#{permaUrl}';" value='{$this->lang->words['dlt_delete_now']}' /></p>
		</div>
	</div>
</div>
<if test="moderationform:|:$this->memberData['is_mod'] == 1">
	<form id='modform' class='right' method="post" action="{parse url="" base="public"}">
		<input type="hidden" name="app" value="forums" />
		<input type="hidden" name="module" value="moderate" />
		<input type="hidden" name="section" value="moderate" />
		<input type="hidden" name="do" value="topicchoice" />
		<input type="hidden" name="st" value="{$this->request['st']}" />
		<input type="hidden" name="f" value="{$forum_data['id']}" />
		<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
		<input type="hidden" name="modfilter" value="{$this->request['modfilter']}" />
		<input type="hidden" value="{$this->request['selectedtids']}" id='selectedtids' name="selectedtids" />
		<input type="hidden" name="tact" id="tact" value="" />
	</form>
</if>
<select style='display:none' id='multiModOptions'>
<if test="hasMultiModeratorOptions:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )">
	<foreach loop="mm:$multi_mod_data as $mm_data">
		<option value="t_{$mm_data[0]}">{$mm_data[1]}</option>
	</foreach>
</if>
</select>

 

boardIndexTemplate

 

 

{parse js_module="board"}
{parse variable="sidebar_enabled" default="$show_side_blocks"}
<if test="boardIndexTop:|:true"></if>
<div id='board_index' class='ipsLayout <if test="sideBarEnabledL:|:$this->templateVars['sidebar_enabled']">ipsLayout_withright</if> ipsLayout_largeright clearfix <if test="sidebarclosed:|:IPSCookie::get('hide_sidebar') == '1'">no_sidebar</if>'>	
	<div id='categories' class='ipsLayout_content clearfix'>
	<div class="site-name module-title main-header-title">{$this->settings['board_name']}</div>
	<!-- CATS AND FORUMS -->
		<if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )">
			<foreach loop="categories:$cat_data as $_data">
				<if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
					<div id='category_{$_data['cat_data']['id']}' class='category_block block_wrap'>
						<h3 class='maintitle'>
							<a class='toggle right' href='#' title="{parse expression="sprintf( $this->lang->words['toggle_cat'], IPSText::striptags( IPSText::htmlspecialchars($_data['cat_data']['name'] ) ) )"}">{parse expression="sprintf( $this->lang->words['toggle_cat'], $_data['cat_data']['name'] )"}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{parse expression="sprintf( $this->lang->words['view_cat'], IPSText::striptags( IPSText::htmlspecialchars($_data['cat_data']['name'] ) ) )"}'>{$_data['cat_data']['name']}</a>
						</h3>
							<div class='ipsBox_container'>
								<table class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'">
									<tr class='main_header'>
										<th scope='col' class='col_c_icon'>&nbsp;</th>
										<th scope='col' class='col_c_forum'>Directory</th>
										<th scope='col' class='col_c_stats stats'>Topics</th>
										<th scope='col' class='col_c_stats stats'>Posts</th>
										<if test="canSeeLastInfoHeader:|:$this->memberData['gbw_view_last_info']"><th scope='col' class='col_c_post'>Last Post</th></if>
									</tr>
									<!-- / CAT HEADER -->
									<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
										<if test="forumRedirect:|:$forum_data['redirect_on']">
											<tr class='redirect_forum' id='f_{$forum_data['id']}'>
												<td class='col_c_icon'>
													<img src='{$this->settings['img_url']}/f_redirect.png' />
												</td>
												<td <if test="canSeeLastInfoRedirect:|:$this->memberData['gbw_view_last_info']">colspan='2'</if> class='col_c_forum'>
													<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'><if test="$forum_data['_name']">{$forum_data['_name']}<else />{$forum_data['name']}</if></a></h4>
													<p class='desc'>{$forum_data['description']}</p>
												</td>
												<td class='altrow stats'>
													<ul>
														<li><span class="idx_stats_number">{parse format_number="$forum_data['redirect_hits']"}</span></li>
													</ul>
												</td>	
												<td class='altrow stats'>
												<div class='rd_hits'>
													<ul>
														<span class="idx_stats_number">{$this->lang->words['rd_hits']}</span></li>
													</ul>
												</div>	
												</td>
											</tr>
										<else />
											<tr class='<if test="hasUnreadClass:|:$forum_data['_has_unread']">unread</if>'>
												<td class='col_c_icon'>          
													<if test="hasUnread:|:$forum_data['_has_unread']">
														<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon.png' /></if></a>														
													<else />
														<if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'">{$forum_data['icon']}<else /><img src='{$this->settings['img_url']}/f_icon_read.png' /></if>
													</if>   
												</td>
												<td class='col_c_forum'>
													
													<h4>
														<if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
															<a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}' class='ipsBadge ipsBadge_orange' data-tooltip="{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}" style='vertical-align: top'>{$this->lang->words['f_queued_badge']}</a>
														</if>
														<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{parse expression="IPSText::striptags( IPSText::htmlspecialchars( $forum_data['name'] ) )"}'>{$forum_data['name']}</a>
													</h4>
														
													<p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p>
													<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
														<br />
														<ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>
															<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
																<if test="showSubForumsLit:|__data[3]"><li class='unread'><else /><li></if>
																	<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{parse expression="IPSText::striptags( IPSText::htmlspecialchars($__data[1]) )"}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if>
																</li>
															</foreach>
														</ol>
													</if>
																					
											
												</td>
											<td class='altrow stats'>
											<ul>
												<li><span class="idx_stats_number">{$forum_data['topics']}</span></li>
											</ul>
											</td>
										<td class='altrow stats'>
											<ul>
												<li><span class="idx_stats_number">{$forum_data['posts']}<span></li>
											</ul>
										</td>
												<if test="canSeeLastInfo:|:$this->memberData['gbw_view_last_info']">
												<td class='col_c_post'>
													<if test="hideLastInfo:|:$forum_data['hide_last_info']">
														<ul class='last_post ipsType_small'>
															<li class='desc lighter'><em>{$this->lang->words['f_protected']}</em></li>
														</ul>
													<else />
														<if test="hideTopicInTitle:|:$forum_data['_hide_last_date']">
														{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => '' )"}
														<else />
														{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"}
														</if>
														<ul class='last_post ipsType_small'>
															<if test="!$forum_data['last_id']">
																<li class='desc lighter'><em>{$this->lang->words['f_none']}</em></li>
															<else />
																<li>
																	{$forum_data['last_topic_title']}
																</li>
																<if test="lastPosterID:|:$forum_data['last_poster_id']">
																	<li>{$this->lang->words['by']} {parse template="userHoverCard" group="global" params="$forum_data"}</li>
																</if>
																<if test="hideDateUrl:|:$forum_data['_hide_last_date']">
																	<li class='desc lighter blend_links'>{parse date="$forum_data['last_post']" format="DATE"}</li>
																<else />
																	<li class='desc lighter blend_links'><a href='{parse url="showtopic={$forum_data['last_id']}&amp;view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="DATE"}</a></li>
																</if>
															</if>
														</ul>
													</if>
												</td>
												</if>
											</tr>
										</if>
									</foreach>
								</table>
							</div>
						<br />
					</div>
				</if>
			</foreach>
		</if>
	</div>
	<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">
		<div id='index_stats' class='ipsLayout_right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>
			<foreach loop="side_blocks:$side_blocks as $block">
				{$block}
			</foreach>
		<if test="showTotals:|:$this->settings['show_totals']">        
            <div class="ipsSideBlock clearfix _statistics">
            	<h3 id="anonymous_element">Forum Statistics</h3>
	            <div class="_wfscollapsable">
                   <ul class='ipsList_data sb_statistics clearfix'>
                     <li class='clearfix'>
                       <span class='wfs'>{$this->lang->words['total_posts']}</span>
                       <span class='wfsc'>{$stats['info']['total_posts']}</span>
                     </li>
                     <li class='clearfix'>
                       <span class='wfs'>{$this->lang->words['total_members']}</span>
                       <span class='wfsc'>{$stats['info']['mem_count']}</span>
                     </li>
                      <li class='clearfix'>
                       <span class='wfs'>{$this->lang->words['newest_member']}</span>
                       <span class='wfsc'>{IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}</span>
                     </li>
                     <li class='clearfix' data-tooltip='{$stats['info']['most_time']}'>
                       <span class='wfs'>{$this->lang->words['online_at_once']}</span>
                       <span class='wfsc'>{$stats['info']['most_online']}</span>
                     </li>                                                              
                   </ul>

				</div>
			</div> 
		</if>	
			
		<if test="showTotals:|:$this->settings['show_totals']">        
            <div class="ipsSideBlock clearfix _statistics">
            	<h3 id="anonymous_element">Online Users</h3>
	            <if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">
					<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</h4>
					<p class='statistics_brief desc'>
						{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
					<if test="onlineListEnabled:|:$this->settings['allow_online_list']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$this->lang->words['online_link']})</a></if>	
					</p>
				</if>
				<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
					<br />
					<p>
						<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
					</p>
				</if>
			</div> 
		</if>	
		</div>
		<a href='#' id='toggle_sidebar' title='{$this->lang->words['toggle_sidebar']}' data-closed="{$this->lang->words['_laquo']}" data-open="&times;">&nbsp;</a>
	</if>
</div>
<script type='text/javascript'>
//<![CDATA[
	var markerURL  = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use &amp;
	var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";
	
	<if test="markercatforums:|:is_array( $cat_data ) AND count( $cat_data )">
		<foreach loop="markercategories:$cat_data as $_data">
			<if test="markerhasforums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
				<foreach loop="markerforums:$_data['forum_data'] as $forum_id => $forum_data">
					<if test="markernotredirect:|:!$forum_data['redirect_on']">
						<if test="markerhasunread:|:$forum_data['_has_unread']">
						<if test="$this->settings['dp3_fi_mode'] == 'replace'">var unreadIcon = "{$forum_data['icon_read']}";</if>
	ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
						</if>
					</if>
				</foreach>
			</if>
		</foreach>
	</if>
//]]>
</script>

 

Естесственно - проверил.

Share this post


Link to post
Share on other sites

хватит уже тыкать свою ссылку на всех форумах подряд! прочтите правила для начала!

ты нормальный? Если у меня не грузятся скрины на ваш форум, то я сохраняю их на другой сервис и выкладываю сюда! Или чините своё или не тыкайте мне!

Share this post


Link to post
Share on other sites

да неужели?! почему же тогда другие могут грузить, а вы такой особенный, да? что аж на двух форумах не работает загрузчик  :facepalm:

post-9182-0-51464500-1370500720.jpeg

Share this post


Link to post
Share on other sites

ты нормальный? Если у меня не грузятся скрины на ваш форум, то я сохраняю их на другой сервис и выкладываю сюда! Или чините своё или не тыкайте мне!
Nicolayka, делается это через расширенную форму ответа путём прикрепления файла, если не получается, есть лайт версия загрузчика, которая включается около кнопки прикрепления файла!  :bomb:

Share this post


Link to post
Share on other sites

Может уже ответите по теме? А потом будем дискутировать по поводу скриншотов?!

Share this post


Link to post
Share on other sites

Nicolayka, пока не зальёшь не ответим. Вот тебе наводка:

 

Nicolayka, делается это через расширенную форму ответа путём прикрепления файла, если не получается, есть лайт версия загрузчика, которая включается около кнопки прикрепления файла!  :bomb:

 

 Если у тебя это не работает, то я не знаю через какой гавнобраузер ты сидишь, попробуй другой.

Share this post


Link to post
Share on other sites

Установил, шаблоны отредактировал. Возникла такая проблема: при нажатии на значок чтобы "отметить тему прочитанной" пропадает сам значок. После обновления он конечно появляется. Как можно исправить?

 

post-6351-0-15946400-1375595800.jpg

 

 

Share this post


Link to post
Share on other sites

WOLF,заменил все правильно, перепроверял несколько раз. Но вот какое дело, код в моем шаблоне немного отличается от стандартного, может в этом дело?

 

Стандартный:

<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a>

Мой:

<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a>

На что меняю:

<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'><if test="$forum_data['_name']">{$forum_data['_name']}<else />{$forum_data['name']}</if></a>

Остальное тоже менял, это для примера.

Share this post


Link to post
Share on other sites

Nicolayka, пока не зальёшь не ответим. Вот тебе наводка:

 

 

 Если у тебя это не работает, то я не знаю через какой гавнобраузер ты сидишь, попробуй другой.

:D

Share this post


Link to post
Share on other sites

Использую малость переделанный стиль Анимейт, и как-то совсем не могу найти нужные строки вообще... либо слишком сильно отличается от оригинального, либо лыжи не тем салом мажу...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×