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

Если тут те, кто разбирается в валидации? 

__validator.w3.org/check?uri=http%3A%2F%2Fprigor.od.ua%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices

не понятно, что за name?

<meta name="identifier-url"
  • Author

Удали этот мета-тег из шаблона.

Я его найти не могу

 

Вот <head>

<head>
		<meta charset="{$this->settings['gb_char_set']}" />
		<title>{$header_items['title']}</title>
		<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge" /><![endif]-->
		<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
		<link rel="image_src" href='{$this->settings['meta_imagesrc']}' />
		<script type='text/javascript'>
		//<![CDATA[
			jsDebug			= {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */
			DISABLE_AJAX	= parseInt({$this->settings['disable_text_ajax']}); /* Disables ajax requests where text is sent to the DB; helpful for charset issues */
			inACP			= false;
			var isRTL		= false;
			var rtlIe		= '';
			var rtlFull		= '';
		//]]>
		</script>
<link href='//fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css' />
		{parse template="includeCSS" group="global" params="$css"}
		<meta property="og:title" content="{$this->registry->output->encodeMetaTagContent( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>
		<meta property="og:site_name" content="{$this->registry->output->encodeMetaTagContent( $this->settings['board_name'] )}"/>
		<meta property="og:type" content="article" />
		{parse template="includeMeta" group="global" params="$metaTags"}
		<if test="isLargeTouch:|:$this->registry->output->isLargeTouchDevice()">
		<!--<meta name="viewport" content="width=device-width;">-->
		</if>
		<if test="isSmallTouch:|:$this->registry->output->isSmallTouchDevice()">
		<meta name="viewport" content="width=1024px">
		</if>
{parse template="_ipbfsConfig" group="global" params=""}
<script type='text/javascript'>!window.jQuery && document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>')</script>
		<script type='text/javascript'>!window.jQuery && document.write('<script src="{style_images_url}/js/jquery.min.js"></script>')</script>
		<script type='text/javascript' src="{style_images_url}/js/cookie.js"></script>
		<script type='text/javascript' src="{style_images_url}/js/ipbforumskins.js"></script>
		{parse template="includeJS" group="global" params="$jsModules"}
		{parse template="includeFeeds" group="global" params="$documentHeadItems"}
		{parse template="includeRTL" group="global" params=""}		
		{parse template="includeVars" group="global" params="$header_items"}
	</head>

Edited by AlexBrtn

  • Author

Глобальные --> includeMeta

 

Закомментировал 

<if test="metatags:|:is_array( $metaTags ) AND count( $metaTags )">
	<foreach loop="metaTags:$metaTags as $tag => $id">
		<foreach loop="metaTagsInner:$metaTags[ $tag ] as $content">
		<if test="ogCaveman:|:stristr( $tag, 'og:' )">
			<meta property="{$tag}" content="{$content}" />
		<else />
			<!-- <meta name="{$tag}" content="{$content}" /> -->
		</if>
		<if test="hasIdentifier:|:$tag == 'identifier-url'">
			<meta property="og:url" content="{$content}" />
		</if>
		<if test="hasDescription:|:$tag == 'description'">
			<meta property="og:description" content="{$content}" />
		</if>
		</foreach>
	</foreach>
</if>
<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>

Замечен ещё в MetaEditor

<div class='ipsFloatingAction left' id='seoMetaTagEditor'>
<div class='ipsBox ipsPad'>
	
	<h2 class='ipsType_subtitle left'>{$this->lang->words['meta_editor_title']}</h2>
	
	<span class='right'><a href='{parse url="app=core&module=global&section=meta&do=end&url={parse expression="urlencode($url)"}" base="public"}'><img src="{$this->settings['img_url']}/close_popup.png" alt="X" /></a></span>
	
	<br class='clear' />
	
	<form action='{parse url="app=core&module=global&section=meta&do=save" base="public"}' method='post'>
		<input type='hidden' name='url' value='{$url}' />
		<table class='ipb_table'>
			<tr>
				<th>{$this->lang->words['meta_tag_title']}<br /><span class='desc ipsType_smallest'>{$this->lang->words['meta_tag_title_desc']}</span></th>
				<th>{$this->lang->words['meta_tag_content']}</th>
			</tr>
		</table>
		<div style='max-height: 150px' class='fixed_inner'>
		<table class='ipb_table'>
			<foreach loop="$tags as $k => $v">
				<if test="$k != 'identifier-url'">
					<tr>
						<td><input name='meta-tags-title[]' value='{$k}' class='input_text' /></td>
						<td><input name='meta-tags-content[]' value='{$v}' class='input_text' /></td>
					</tr>
					<php>$_metaTagId++;</php>
				</if>
			</foreach>
		</table>
		</div>
		<table class='ipb_table'>
			<tr>
				<td><input name='meta-tags-title[]'  class='input_text' /></td>
				<td><input name='meta-tags-content[]' class='input_text' /></td>
			</tr>
			<tr>
				<td colspan='2'>
					<input type='submit' class='ipsButton right clickable' value='{$this->lang->words['meta_save']}' />
				</td>
			</tr>
		</table>
	</form>
	
</div>
</div>

 

Ни как на целостность кода не повлияет?

Закомментировал 
Вы данным действием закомментировали почти все мета-теги.

не понятно, что за name?
Тег не понятен известен валидатору, т.к. в его базе нет такого. IPB его использует, если смотреть код 
		<if test="hasIdentifier:|:$tag == 'identifier-url'">
			<meta property="og:url" content="{$content}" />
		</if>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 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.