Jump to content


* * * - - 2 votes

(DP32) Forum Icons 2.0.0


  • Please log in to reply
182 replies to this topic

#161 pilotsnipes

pilotsnipes

    n00b

  • Members
  • Pip
  • 2 posts
  • IPB Version:v2.3.x

Posted 13 July 2011 - 12:02 AM

View PostXeoria, on 22 September 2010 - 04:52 PM, said:

I've installed this on my 3.1.2 and I haven't got an error like you...

Everything's OK :)


View PostVladeksh, on 26 May 2011 - 07:20 AM, said:

i have installed Forum Icons 1.0.1 on 3.1.4 board, but only ON icons working

help please :(


Some confusing information.

DawPi - Would you be able to clarify. Does this mod work for 3.1.4?

Many thanks for taking the time to release these mods. *I* appreciate it very much.

#162 ironfly

ironfly

    n00b

  • Members
  • Pip
  • 3 posts
  • IPB Version:v3.1.x

Posted 26 July 2011 - 12:06 PM

any news on porting this to 3.2?

#163 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 04 August 2011 - 09:54 AM

New version is ready to use now! :)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#164 Jose Dieguez Rojas

Jose Dieguez Rojas

    n00b

  • Members
  • Pip
  • 2 posts
  • Real Name:Jose Dieguez
  • IPB Version:v3.1.x

Posted 05 August 2011 - 04:59 AM

Hi, use the version 1.0.1 in a forum 3.1.2 but i have a problem, i only see the icons in the forums, not in categorys, i mean, i dont see the icons when i am viewing the index of the board

How can i solv this?

#165 Claus Trier Kjerkegaard

Claus Trier Kjerkegaard

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Claus Trier
  • IPB Version:v3.2.x

Posted 05 August 2011 - 04:49 PM

Hi DawPi,

Had Forum Icons 1.01 up and working on my IPB3.1.2

Am now trying to install Forum Icons 2.0.0 on my new IPB 3.2 install, but having trouble getting it to work. I uploaded and installed and did skin edits per instructions. I can upload new icon in Admin CP and shows fine in Admin CP - but not on the public forums...

This is my 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'>
	<!-- 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' style="border:0px;">
						 <div class="rows_t"> <div class="rows_tl"> <div class="rows_tr">  <div style="height:73px;">   <h3 class='maintitle' style="background:none; border:0px solid #fff !important; border-top:0px solid #fff !important; padding-top:23px; 	-webkit-box-shadow: inset 0px 0px 0 #528cbc;	-moz-box-shadow: inset 0px 0px 0 #528cbc;	box-shadow: inset 0px 0px 0 #528cbc; padding-left:16px; font-weight:bold; text-shadow:-1px -1px 0px #559a3c;">
							<a class='toggle right' href='#' title="{$this->lang->words['toggle_cat']}">{$this->lang->words['toggle_cat']}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['view_cat']}'>{$_data['cat_data']['name']}</a> 
						</h3> </div></div></div></div>
						<div class='ipsBox table_wrap' style="margin:-16px 15px 0px 15px; position:relative;">
							<div class='ipsBox_container'>
								<table class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'">
									<tr class='header hide'>
										<th scope='col' class='col_c_icon'>&nbsp;</th>
										<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
										<th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th>
										<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
									</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 colspan='2' class='col_c_forum'>
													<h4><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></h4>
													<p class='desc'>{$forum_data['description']}</p>
												</td>
												<td class='desc'>
													{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}
												</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=all" 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='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</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='{$this->lang->words['go_to_forum']}'>{$__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>
												<td class='col_c_post'>
													<if test="hideLastInfo:|:$forum_data['hide_last_info']">
														<ul class='last_post'>
															<li class='desc'>{$this->lang->words['f_protected']}</li>
														</ul>
													<else />
														<if test="hasphoto:|:$forum_data['pp_small_photo']">
															<a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' class='ipsUserPhotoLink left'>
																<img src='{$forum_data['pp_small_photo']}' alt='{$this->lang->words['photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />
															</a>
														<else />
															<div class='left'>{IPSMember::buildNoPhoto(0, 'mini' )}</div>
														</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']} {IPSMember::makeProfileLink($forum_data['last_poster_name'], $forum_data['last_poster_id'], $forum_data['seo_last_name'])}</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>
											</tr>
										</if>
									</foreach>
								</table>
							</div>
						</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>
		</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  = "{parse url="app=forums&module=ajax&section=markasread&i=1" base="public"}"; // 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>
<if test="showTotals:|:$this->settings['show_totals']">
	<div id='board_stats'>		
		<ul class='ipsType_small ipsList_inline'>
			<li class='clear'>
				<span class='value'>{$stats['info']['total_posts']}</span>
				{$this->lang->words['total_posts']}
			</li>
			<li class='clear'>
				<span class='value'>{$stats['info']['mem_count']}</span>
				{$this->lang->words['total_members']}
			</li>
			<li class='clear'>
				<a href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}' class='value'>{$stats['info']['last_mem_name']}</a>
				{$this->lang->words['newest_member']}
			</li>
			<li class='clear' data-tooltip="{$stats['info']['most_time']}">
				<span class='value'>{$stats['info']['most_online']}</span>
				{$this->lang->words['online_at_once']}
			</li>
		</ul>
	</div>
</if>
<div id='board_statistics' class='statistics clearfix'>
	<ul id='stat_links' class='ipsList_inline right ipsType_small'>
		<if test="statsLinks:|:1==1"> <!-- Hook point -->
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
			<li><a href="{parse url="app=members&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
		</if>
	</ul>
	
	<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'] )"}
		&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$this->lang->words['online_link']})</a>
	</p>
	
	<if test="activeNames:|:count($stats['NAMES'])">
		<br />
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>					
		</p>
	</if>
</div>


This is my 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  = "{parse url="app=forums&module=ajax&section=markasread&i=1" base="public"}"; // Ajax URL so don't use &amp;
	var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";
//]]>
</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 table_wrap'>
			<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 colspan='2' class='col_c_forum'>
											<h4><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></h4>
											<p class='desc'>{$forum_data['description']}</p>
										</td>
										<td class='desc'>
											{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}
										</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=all" 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='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</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='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a>
														</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>
										<td class='col_c_post'>
											<if test="hideLastInfo:|:$forum_data['hide_last_info']">
												<ul class='last_post'>
													<li class='desc'>{$this->lang->words['f_protected']}</li>
												</ul>
											<else />
												<if test="hasphoto:|:$forum_data['pp_small_photo'] AND !$forum_data['hide_last_info']">
													<a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' class='ipsUserPhotoLink left'>
														<img src='{$forum_data['pp_small_photo']}' alt='{$this->lang->words['photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />
													</a>
												</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>By {parse expression="IPSMember::makeProfileLink($forum_data['last_poster_name'], $forum_data['last_poster_id'], $forum_data['seo_last_name'])"}</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>
									</tr>
								</if>
							</foreach>
						</if>
					</foreach>
				</table>
			</div>
		</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>{$this->lang->words['forum_no_start_topic']}</span></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>
	<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:|:empty($this->request['sort_key']) || $this->request['sort_key'] == 'last_post'">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'">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'">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'">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><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']}</a></li>
		</ul>
	</div>
	<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'>
		<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='header hide'>
					<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>
					<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
					<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 )">
					{parse striping="forumTable" classes="row1,row2"}
					<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']}")	,
						'st': parseInt("{$this->request['st']}"),
						'sort_by': "{$this->request['sort_by']}",
						'sort_key': "{$this->request['sort_key']}",
						'topicfilter': "{$this->request['topicfilter']}",
						'prune_day': "{$this->request['prune_day']}"
					};
				</script>
			</if>
		</div>
	</div>
	
	<if test="moderationform:|:$this->memberData['is_mod'] == 1">
		<div class='ipsBox ipsPad clear clearfix' id='topic_mod'>
			<div class='row2 ipsBox_container ipsPad moderation_bar with_action clearfix'>
				<a href='#' id='forum_mod_options' class='ipbmenu input_submit alt ipsPad_half left'>{$this->lang->words['forum_management']}</a>
				<ul class='ipbmenu_content' id='forum_mod_options_menucontent' style='display: none'>
					<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>
					<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=resync&amp;f={$forum_data['id']}&amp;auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_resync']}'>{$this->lang->words['mod_resync']}</a></li>
					<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=invisible_topics" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
					<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=invisible_posts" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden_posts']}'>{$this->lang->words['mod_hidden_posts']}</a></li>
				</ul>
				<form id='modform' class='right' method="post" action="{parse url="" base="public"}">
					<fieldset>
						<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" />
				
						<select name="tact" id='mod_tact'>
							<option value="close">{$this->lang->words['cpt_close_f']}</option>
							<option value="open">{$this->lang->words['cpt_open_f']}</option>
							<option value="pin">{$this->lang->words['cpt_pin_f']}</option>
							<option value="unpin">{$this->lang->words['cpt_unpin_f']}</option>
							<option value="move">{$this->lang->words['cpt_move_f']}</option>
							<option value="merge">{$this->lang->words['cpt_merge_f']}</option>
							<option value="delete">{$this->lang->words['cpt_delete_f']}</option>
							<if test="$this->registry->class_forums->can_Un_SoftDeleteTopics( $forum_data['id'], array() )"><option value="sundelete">{$this->lang->words['cpt_undelete_f']}</option></if>
							<option value="approve">{$this->lang->words['cpt_approve_f']}</option>
							<option value="unapprove">{$this->lang->words['cpt_unapprove_f']}</option>
							<if test="$forum_data['queued_topics'] AND $this->registry->class_forums->canQueuePosts( $forum_data['id'] )">
							<option value="t_approve">{parse expression="sprintf( $this->lang->words['nmo_t_approve'], $forum_data['queued_topics'])"}</option>
							</if>
							<if test="$forum_data['queued_topics'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data['id'], array() )">
								<option value="t_delete_approve">{parse expression="sprintf( $this->lang->words['nmo_t_delete_approve'], $forum_data['queued_topics'])"}</option>
							</if>
							<if test="$forum_data['permissions']['TopicSoftDeleteRestore'] AND $forum_data['deleted_topics']">
								<option value="t_restore">{parse expression="sprintf( $this->lang->words['nmo_t_restore'], $forum_data['deleted_topics'])"}</option>
							</if>
							<if test="$forum_data['deleted_topics'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data['id'], array() )">
								<option value="t_delete_softed">{parse expression="sprintf( $this->lang->words['nmo_t_delete_softed'], $forum_data['deleted_topics'])"}</option>
							</if>
							<if test="mmdata:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )">
								<option value="-1">------------------------------</option>
								<option value="-1">{$this->lang->words['mm_title']}</option>
								<option value="-1">------------------------------</option>
								<foreach loop="mm:$multi_mod_data as $mm_data">
									<option value="t_{$mm_data[0]}">--  {$mm_data[1]}</option>
								</foreach>
							</if>
						</select>&nbsp;
						<input type="submit" name="gobutton" value="{$this->lang->words['f_go']}" class="input_submit alt" id='mod_submit' />
					</fieldset>
				</form>
			</div>
		</div>
	</if>	
	
	<br />
	<div class='topic_controls clear'>
		{$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']}' rel='nofollow' accesskey='s'>{$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
			</if>
			<if test="moderationlink:|:$this->memberData['is_mod'] == 1">
				<li class='non_button' style'display: none'>
					<a href='#topic_mod' id='moderator_toggle' title='{$this->lang->words['show_mod_tools_desc']}'><img src='{$this->settings['img_url']}/moderation_cog.png' />&nbsp; {$this->lang->words['show_mod_tools']}</a>
				</li>
			</if>
		</ul>
	</div>
	<if test="moderationjs:|:$this->memberData['is_mod'] == 1">
		<script type='text/javascript'>
			$('topic_mod').hide();
			$('moderator_toggle').up('li').show().observe('click', function(e){
				Event.stop(e);
				$('moderator_toggle').up('li').hide();
				$("topic_mod").show();
			});
			$('modform').observe('submit', ipb.forums.submitModForm);
			$('mod_tact').observe('change', ipb.forums.updateTopicModButton);
		</script>
	</if>
	<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:|:!$this->settings['no_au_forum']">
			<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['members'] + $active_user_data['guests'] + $active_user_data['anon'] ) )"}</h4>
				<p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['members'], $active_user_data['guests'], $active_user_data['anon'] )"}</p>
				<br />
				<ul class='ipsList_inline'>
					<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">
						<foreach loop="activeusers:$active_user_data['names'] as $p => $r">
					<li>{$r['p_start']}<if test="aumemberid:|:$r['id']"><a href='{parse url="showuser={$r['id']}" seotitle="{$r['seo']}" template="showuser" base="public"}' title='{$r['p_title']}'></if>{$r['name']}<if test="aumidend:|:$r['id']"></a></if>{$r['p_end']}<if test="auaddcomma:|:$p + 1 != count( $active_user_data['names'] )">,</if></li>
						</foreach>
					</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>


#166 Claus Trier Kjerkegaard

Claus Trier Kjerkegaard

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Claus Trier
  • IPB Version:v3.2.x

Posted 05 August 2011 - 04:58 PM

Oh, and I forgot to mention how much I appreciate your work, this mod is one of my favorite mods at all, really makes the forum much more styled  :thumbsup:

#167 Claus Trier Kjerkegaard

Claus Trier Kjerkegaard

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Claus Trier
  • IPB Version:v3.2.x

Posted 05 August 2011 - 10:54 PM

My mistake! Got it working, forgot to set hide tab setting, sorry! ;-)

#168 ironfly

ironfly

    n00b

  • Members
  • Pip
  • 3 posts
  • IPB Version:v3.1.x

Posted 10 August 2011 - 02:40 PM

View PostDawPi, on 04 August 2011 - 09:54 AM, said:

New version is ready to use now! :)
Thank you!

#169 marcusnjs93

marcusnjs93

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:Marcus
  • IPB Version:v3.1.x

Posted 13 August 2011 - 01:14 PM

I am getting this error message when uploading the picture

System Error
Can't move file.

#170 PoDo

PoDo

    Novice

  • Members
  • PipPip
  • 13 posts
  • Real Name:Paolo Boemi
  • IPB Version:v3.2.x

Posted 14 August 2011 - 05:57 PM

I inform everyone that after setting all need a Global Rebuild Caches Cache
Thanks dawpi ;)

#171 urasnobucho

urasnobucho

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:N/A

Posted 25 August 2011 - 06:39 AM

Hi, newbie to IPB here. I managed to get this working, but the images have its opacity. How do I remove the opacity? Thanks

#172 MACADEMIC

MACADEMIC

    n00b

  • Members
  • Pip
  • 4 posts
  • IPB Version:v1.3.x

Posted 20 September 2011 - 10:55 PM

Hi everybody,

First of all many thanks for DawPl for making this mod.
As a total newbie I've had a few problems getting this running but now all
works fine - great modification.

I'm having version 2.0.0 with IPB 3.2.2 which I have hosted by Invisonpower.
The mod didn't work first, I always got an error: System error: Unable to move file.
Didn't find anything here to help me with this but I found the right info on forumscriptz.org:

Quote

right in the uploads/forumicons make sure that folder is writable as in (777) then it should work

After doing this, the mod works like a charm. Hope this info helps someone as well!

Cheers DawPl, if we'll use your mod publicly (presently only testrun) I'll make sure some
paypal donation finds its way to you.

MAC

#173 MACADEMIC

MACADEMIC

    n00b

  • Members
  • Pip
  • 4 posts
  • IPB Version:v1.3.x

Posted 23 September 2011 - 10:54 AM

BUG_REPORT

Custom icons revert to other 'Read Custom Icon' when clicking the 'Mark Forum Read' popup message which comes up when hovering over an unread forum.
Goes to correct icon upon page refresh.

Does anybody have a fix for this?


EDIT: got it solved for now, in ACP Forum Icons App deleted the custom icon from its forum (that showed incorrectly as read icon),
uploaded a different icon for that forum, deleted this one again and uploaded the original icon to that forum - now all works as it
should, hope it stays that way.

Edited by MACADEMIC, 23 September 2011 - 11:39 AM.


#174 fernando25

fernando25

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:Spiros
  • IPB Version:v3.1.x

Posted 30 September 2011 - 09:03 PM

this mod is the best but doesnt work to me...  i put display mode and i enable it but nothing.... then i update my cache but nothing again... Can you help me ???

#175 Breez

Breez

    Novice

  • Banned
  • PipPip
  • 19 posts
  • IPB Version:v3.0.x

Posted 15 October 2011 - 09:43 PM

HI I have an issue Im running

3.0.4 and I tried following your instructions

this part here

												<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'><img src='{$this->settings['img_url']}/f_icon.png' /></a>													<else />														<img src='{$this->settings['img_url']}/f_icon_read.png' />													</if>												</td>

I dont have I just have this part on my forums

								<th scope='col' class='col_c_icon'>&nbsp;</th>								<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>								<th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th>								<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>							</tr> 


Can you please tell me if this will work on 3.0.4 if so can you tell me how to edit my files please.

Thank you

#176 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 16 October 2011 - 12:04 AM

Hello,
I'm not supporting so old IP.Board releases. And this mod is for 3.2 version only.
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#177 Breez

Breez

    Novice

  • Banned
  • PipPip
  • 19 posts
  • IPB Version:v3.0.x

Posted 16 October 2011 - 12:07 AM

View PostDawPi, on 16 October 2011 - 12:04 AM, said:

Hello,
I'm not supporting so old IP.Board releases. And this mod is for 3.2 version only.


HI and thanks for reply. at least you let me know instead of just ignoring the whole question.

Thanks again I guess I have to buy new one.

#178 s22

s22

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:shi
  • IPB Version:v3.0.x

Posted 17 October 2011 - 04:03 PM

Hello i'm having a problem. When i install the forum icons instead of showing up with the picture the text shows up instead. like welcome.png how do i resolve this?

#179 Marius Iulian

Marius Iulian

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:N/A

Posted 17 January 2012 - 12:47 PM

View Postfernando25, on 30 September 2011 - 09:03 PM, said:

this mod is the best but doesnt work to me...  i put display mode and i enable it but nothing.... then i update my cache but nothing again... Can you help me ???


I have same problem...the forum icon dosen't appear !

I have 3.2.3 version !

Sorry for my English !

Edited by Marius Iulian, 17 January 2012 - 12:48 PM.


#180 gr8simba

gr8simba

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:Core
  • IPB Version:v3.1.x

Posted 04 April 2012 - 11:52 AM

View Postmarcusnjs93, on 13 August 2011 - 01:14 PM, said:

I am getting this error message when uploading the picture

System Error
Can't move file.

Get same error follow all instructions properly and check twice but still getting this error.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users