Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Как исправить ошибку?

Featured Replies

Posted

post-1581-0-25966400-1358532761_thumb.pn

 

Создал тему, но удалить или еще что сделать не могу, как это исправить? Знаю что это из за того что шаблон не адаптирован к новой версии IPB.

Какой у тебя ipb?

попробуй в -внешний вид-твой стиль-список тем форума-topic

замени все там на: (свой сохрани на всякий пожарный)

<if test="queuedtopic:|$this->memberData['is_mod'] AND ! $data['approved']) OR $data['_isDeleted']">
<tr class='__topic expandable moderated' id='trow_{$data['_tid']}' data-tid="{$data['_tid']}">
<else />
<tr class='__topic <if test="!$data['folder_img']['is_read']">unread<else />notnew</if> expandable' id='trow_{$data['_tid']}' data-tid="{$data['_tid']}">
</if>
	<td class='col_f_icon altrow short'>
		{parse template="generateTopicIcon" group="global_other" params="$data['folder_img'], isset($data['_unreadUrl']) ? $data['_unreadUrl'] : ''"}
	</td>
	<td class='col_f_content <if test="hasmodlinks:|:$this->memberData['is_mod'] == 1 || $forum_data['permissions']['TopicSoftDelete']"> with_mod_links</if>'>
		<if test="topicDeletedReason:|:$data['_isDeleted']">
			<span class='ipsBadge ipsBadge_red' data-tooltip="{parse expression="sprintf( $this->lang->words['tdb__forumindex'], $other_data['sdData'][ $data['tid'] ]['members_display_name'] )"} {parse date="$other_data['sdData'][ $data['tid'] ]['sdl_obj_date']" format="long"}
					<if test="showReason:|:$forum_data['permissions']['SoftDeleteReason']">
						<br /><span><if test="$other_data['sdData'][ $data['tid'] ]['sdl_obj_reason']">{$other_data['sdData'][ $data['tid'] ]['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if></span>
					</if>
				">{$this->lang->words['f_deleted_badge']}</span>
		</if>
		<if test="topicUnapproved:|:$data['approved'] == 0">
			<span class='ipsBadge ipsBadge_orange'>{$this->lang->words['f_queued_badge']}</span>
		</if>
		<if test="hasPrefix:|:!empty($data['tags']['formatted']['prefix'])">
			{$data['tags']['formatted']['prefix']}
		</if>
		<h4>{$data['prefix']}<a id="tid-link-{$data['_tid']}" href="{$data['_url']}" title='{$this->lang->words['topic_started_on']} {parse date="$data['start_date']" format="LONG"}' class='topic_title highlight_unread'>{$data['title']}</a></h4>
		<br />
		<span class='desc lighter blend_links topic_desc'>
			{parse expression="sprintf( $this->lang->words['topic_started_by'], $data['starter'] )"} {parse date="$data['start_date']" format="DATE"}
			<if test="hasTags:|:isset($data['tags']) AND $data['tags']">
				&nbsp; <img src='{$this->settings['img_url']}/icon_tag.png' /> {$data['tags']['formatted']['truncatedWithLinks']}
			</if>
		</span>
		<if test="multipages:|:isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )">
			<ul class='mini_pagination'>
			<foreach loop="pages:$data['pages'] as $page">
					<if test="haslastpage:|:$page['last']">
						<li><a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} {$this->lang->words['_rarr']}</a></li>
					<else />
						<li><a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a></li>
					</if>
			</foreach>
			</ul>
		</if>
	</td>
	<td class='col_f_preview __topic_preview'>
		<if test="$this->registry->permissions->check( 'read', $forum_data )">
			<a href='{$data['_url']}' class='expander closed' title='{$this->lang->words['view_topic_preview']}'>&nbsp;</a>
		</if>
	</td>
	<td class='col_f_views desc blend_links'>
		<ul>
			<li>
				<if test="queuedpostsImg:|$this->memberData['is_mod'] AND $data['_hasqueued'])">
					<a href='{parse url="showtopic={$data['tid']}&amp;modfilter=invisible_posts" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_uapproved_posts']}' data-tooltip="{parse expression="sprintf( $this->lang->words['topic_queued_count'], $data['topic_queuedposts'] )"}"><img src='{$this->settings['img_url']}/bullet_error.png' alt='' /></a>
				</if>
				<if test="deletedPostsImg:|$forum_data['permissions']['PostSoftDeleteSee'] AND $data['topic_deleted_posts'])">
					<a href='{parse url="showtopic={$data['tid']}&amp;modfilter=deleted_posts" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_deleted_posts']}'><img src='{$this->settings['img_url']}/bullet_delete.png' alt='' /></a>
				</if>
				<if test="isLink:|:$data['state'] != 'link'">
					<if test="isHot:|:$data['folder_img']['is_hot']">
						<span class='ipsBadge ipsBadge_orange'>{$this->lang->words['topic_is_hot']}</span>&nbsp;
					</if>
					<a href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=who&amp;t={$data['tid']}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$data['tid']} );">{parse format_number="$data['posts']"} <if test="replylang:|:intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></a>
				</if>
			</li>
			<li class='views desc'>{parse format_number="$data['views']"} {$this->lang->words['views']}</li>
		</ul>
	</td>
	<td class='col_f_post'>
		<a href='{parse url="showuser={$data['last_poster_id']}" seotitle="{$data['seo_last_name']}" template="showuser" base="public"}' class='ipsUserPhotoLink left'>
			<img src='{$data['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />
		</a>
		<ul class='last_post ipsType_small'>
			<li class='highlight_unread'>{$data['last_poster']}</li>
			<li class='desc lighter blend_links'>
				<a href='{parse url="showtopic={$data['tid']}&amp;view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse date="$data['last_post']" format="DATE"}</a>
			</li>								
		</ul>
	</td>
	<if test="mmicon:|:$this->memberData['is_mod'] == 1 and $inforum == 1">
		<td class='col_f_mod short'>
			<a href='#' class='ipsModMenu' id='topic_mod_{$data['real_tid']}' title='{$this->lang->words['mod_actions']}'>&nbsp;</a>
			<if test="mmtidon:|:$data['tidon'] == 0">
				<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' />
			<else />
				<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' checked='checked' />
			</if>
			<if test="topicIsDeleted:|:$data['_isDeleted']">
				<ul id='topic_mod_{$data['real_tid']}_menucontent' class='ipbmenu_content' style='display: none'>
					<if test="tidRestore:|:$forum_data['permissions']['TopicSoftDeleteRestore']">
						<li class='t_restore'><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=sundelete" base="public"}' title='{$this->lang->words['dlt_restore_topic']}'><img src='{$this->settings['img_url']}/arrow_rotate_clockwise.png' alt='{$this->lang->words['dlt_restore_topic']}' title='{$this->lang->words['dlt_restore_topic']}' class='icon' /> {$this->lang->words['dlt_restore_topic']}</a></li>
					</if>
					<if test="$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']">
						<li class='t_restore'><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;st={$this->request['st']}&amp;t={$data['real_tid']}&amp;auth_key={$this->member->form_hash}&amp;do=03" base="public"}' title='{$this->lang->words['dlt_delete_topic']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['dlt_delete_topic']}' title='{$this->lang->words['dlt_delete_topic']}' class='icon' /> {$this->lang->words['dlt_delete_topic']}</a></li>
					</if>
				</ul>
			<else />
				<if test="topicmoderator:|:$this->memberData['is_mod'] == 1  || $forum_data['permissions']['TopicSoftDelete']">
					<ul id='topic_mod_{$data['real_tid']}_menucontent' class='ipbmenu_content' style='display: none'>
						<li><a class='t_rename' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;auth_key={$this->member->form_hash}&amp;do=05" base="public"}' title='{$this->lang->words['topic_rename']}'><img src='{$this->settings['img_url']}/textfield_rename.png' alt='{$this->lang->words['topic_rename']}' title='{$this->lang->words['topic_rename']}' class='icon' /> {$this->lang->words['topic_rename']}</a></li>
						<if test="$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic'] || $forum_data['permissions']['TopicSoftDelete']">
							<li><a class='t_delete' id='t_deletelink_{$data['tid']}' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;st={$this->request['st']}&amp;t={$data['real_tid']}&amp;auth_key={$this->member->form_hash}&amp;do=03" base="public"}' title='{$this->lang->words['topic_delete']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['topic_delete']}' title='{$this->lang->words['topic_delete']}' class='icon' /> {$this->lang->words['topic_delete']}</a></li>
						</if>
						<if test="islink:|:$data['state'] != 'link'">
							<if test="ispinned:|:$data['pinned'] && ($this->memberData['g_is_supmod'] OR $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic'])">
								<li><a class='t_pin' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=16&amp;from=forum" base="public"}' title='{$this->lang->words['topic_unpin']}'><img src='{$this->settings['img_url']}/award_delete.png' alt='{$this->lang->words['topic_unpin']} icon' title='{$this->lang->words['topic_unpin']}' class='icon' /> {$this->lang->words['topic_unpin']}</a></li>
							<else />
								<if test="issupermod:|:$this->memberData['g_is_supmod'] OR $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']">
									<li><a class='t_pin' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=15&amp;from=forum" base="public"}' title='{$this->lang->words['topic_pin']}'><img src='{$this->settings['img_url']}/award.png' alt='{$this->lang->words['topic_pin']} icon' title='{$this->lang->words['topic_pin']}' class='icon' /> {$this->lang->words['topic_pin']}</a></li>
								</if>
							</if>
						</if>
						<if test="closedtopic:|:$data['state'] == 'closed' && $other_data['can_open_topics']">
							<li><a class='t_lock' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=01" base="public"}' title='{$this->lang->words['topic_open']}'><img src='{$this->settings['img_url']}/lock_open.png' alt='{$this->lang->words['topic_open']}' title='{$this->lang->words['topic_open']}' class='icon' /> {$this->lang->words['topic_open']}</a></li>
						</if>
						<if test="opentopic:|:$data['state'] == 'open' && $other_data['can_close_topics']">
							<li><a class='t_lock' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=00&amp;_from=forum" base="public"}' title='{$this->lang->words['topic_close']}'><img src='{$this->settings['img_url']}/lock.png' alt='{$this->lang->words['topic_close']}' title='{$this->lang->words['topic_close']}' class='icon' /> {$this->lang->words['topic_close']}</a></li>
						</if>
						<if test="islink2:|:$data['state'] != 'link' && $other_data['can_move_topics']">
							<li><a class='t_move' href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=topicchoice&amp;tact=move&amp;selectedtids={$data['tid']}" base="public"}'><img src='{$this->settings['img_url']}/page_white_go.png' alt='{$this->lang->words['topic_close']}' title='{$this->lang->words['topic_close']}' class='icon' /> {$this->lang->words['topic_move']}</a></li>
						</if>
					</ul>
				</if>
			</if>
			<script type='text/javascript'>
				new ipb.Menu( $('topic_mod_{$data['real_tid']}'), $('topic_mod_{$data['real_tid']}_menucontent') );
			</script>
		</td>
	</if>
</tr>
<if test="adCodeCheck:|:isset($data['_adCode']) AND $data['_adCode']">
<tr>
	<th scope='col' colspan='<if test="adCodeColSpan:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
		{$data['_adCode']}
	</th>
</tr>
</if>

Edited by egorea1999

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.