Смотрите видео ниже, чтобы узнать, как установить наш сайт в качестве веб-приложения на домашнем экране.
Примечание: В настоящее время эта функция требует доступа к сайту с помощью встроенного браузера Safari.
понятно, но я не знаю что посоветовать, я вот выше писал, что установил, на форум и все работает, дистанционно о том, что происходит на твоем форуме, я не могу узнать, поэтому не могу дать ответ, почему у тебя не работает, может в extra.less скрыто отображение, кто ж знает.Но тут проблема у всех слетят контакты, т.к он по новому будет создавать доп поля.
<modification type="public" template="member_view" modification_key="svg_messengers_member_block" description="Messengers member view block" execution_order="10" enabled="1" action="str_replace">
<find><![CDATA[<!--[XF:tab_panes:end]-->]]></find>
<replace><![CDATA[<li data-href="" role="tabpanel" aria-labelledby="messengers">
<div class="blockMessage">{{ include('svg_messengers') }}</div>
</li>
<modification type="public" template="member_view" modification_key="svg_messengers_member_tabs" description="Messengers member view tab" execution_order="10" enabled="1" action="str_replace">
<find><![CDATA[<!--[XF:tabs:end]-->]]></find>
<replace><![CDATA[<xf:if is="!{{ $xf.visitor.is_banned }} && {{ $xf.visitor.hasPermission('SvgMessengers', 'viewMessengers') }}">
<a href="{{ link('', $user) }}"
class="tabs-tab"
id="messengers"
role="tab">{{ phrase('svg_mes_messengersTab') }}</a>
</xf:if>
$0]]></replace>
</modification>
Там как бы условие на саму вкладку и ее не увидят те, кому не надо, значит и содержимое вкладки не откроют.Ну и конечно же если ничего не указано, открывается пустая страница
Ну наверное права то есть на просмотр, но нет подключенных мессенджеровКхм сам у себя в профиле смотрю
А я о чём написал?Ну и конечно же если ничего не указано, открывается пустая страница
xf:contentcheck
svg_messengers
<xf:js src="//cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js"></xf:js>
<xf:if is="!{{ $xf.visitor.is_banned }} && {{ $xf.visitor.hasPermission('SvgMessengers', 'viewMessengers') }}">
<div class="svg-messeng">
<xf:if contentcheck="true">
<xf:contentcheck>
<xf:if is="{$xf.visitor.user_id} != $user.user_id && {$xf.visitor.hasPermission('SvgMessengers', 'viewConversation')}">
<xf:if is="$xf.visitor.canStartConversationWith($user)">
<span class="messeng-pm">
<a href="{{ link('conversations/add', null, {'to': $user.username}) }}" data-xf-init="tooltip" title="{{ phrase('start_conversation')}}" data-xf-click="overlay"><span class="msg-pm"></span></a>
</span>
</xf:if>
</xf:if>
<xf:if is="{$xf.visitor.user_id} != $user.user_id && {$xf.visitor.hasPermission('SvgMessengers', 'vievEmail')}">
<span class="messeng-email">
<a href="mailto:{$user.email}" data-xf-init="tooltip" title="email: {$user.email}"><span class="msg-email"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.website}">
<span class="messeng-home">
<a href="{$user.Profile.website}" data-xf-init="tooltip" title="website: {$user.Profile.website}" target="_blank"><span class="msg-home"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.telegram}">
<span class="messeng-telegram">
<a href="tg://resolve?domain={$user.Profile.custom_fields.telegram}" data-xf-init="tooltip" title="telegram: {$user.Profile.custom_fields.telegram}"><span class="msg-telegram"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.whatsapp}">
<span class="messeng-whatsapp">
<a href="//api.whatsapp.com/send?phone={$user.Profile.custom_fields.whatsapp}" target="_blank" data-action="share/whatsapp/share" data-xf-init="tooltip" title="whatsapp: {$user.Profile.custom_fields.whatsapp}"><span class="msg-whatsapp"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.icq}">
<span class="messeng-icq">
<a href="//www.icq.com/whitepages/cmd.php?uin={$user.Profile.custom_fields.icq}&action=message" data-xf-init="tooltip" title="icq: {$user.Profile.custom_fields.icq}"><span class="msg-icq"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.skype}">
<span class="messeng-skype">
<a href="skype:{$user.Profile.custom_fields.skype}?chat" data-xf-init="tooltip" title="skype: {$user.Profile.custom_fields.skype}"><span class="msg-skype"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.jabber}">
<span class="messeng-jabber">
<a href="xmpp:{$user.Profile.custom_fields.jabber}?message;type=chat" data-xf-init="tooltip" title="jabber: {$user.Profile.custom_fields.jabber}"><span class="msg-jabber"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.viber}">
<span class="messeng-viber">
<a href="viber://add?number={$user.Profile.custom_fields.viber}" data-xf-init="tooltip" title="viber: {$user.Profile.custom_fields.viber}"><span class="msg-viber"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.vk}">
<span class="messeng-vk">
<a href="{$user.Profile.custom_fields.vk}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-vk"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.ok}">
<span class="messeng-ok">
<a href="{$user.Profile.custom_fields.ok}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-ok"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.facebook}">
<span class="messeng-facebook">
<a href="//www.facebook.com/{$user.Profile.custom_fields.facebook}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-facebook"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.twitter}">
<span class="messeng-twitter">
<a href="//twitter.com/{$user.Profile.custom_fields.twitter}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-twitter"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.instagram}">
<span class="messeng-instagram">
<a href="{$user.Profile.custom_fields.instagram}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-instagram"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.pinterest}">
<span class="messeng-pinterest">
<a href="{$user.Profile.custom_fields.pinterest}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-pinterest"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.steam}">
<span class="messeng-steam">
<a href="{$user.Profile.custom_fields.steam}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-steam"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.battle}">
<span onclick="copied()" class="messeng-battle" data-xf-init="tooltip" title="battletag: {$user.Profile.custom_fields.battle}. {{ phrase('svg_mes_click_to_copy')}}" data-clipboard-text="{$user.Profile.custom_fields.battle}"><span class="msg-battle"></span></span>
<xf:js>
var clipboard = new Clipboard('.messeng-battle'); function copied() { alert("{{ phrase('svg_mes_copied')}}"); }
</xf:js>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.discord}">
<span class="messeng-discord">
<a href="{$user.Profile.custom_fields.discord}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-discord"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.drive}">
<span class="messeng-drive">
<a href="{$user.Profile.custom_fields.drive}" target="_blank" data-xf-init="tooltip" title="{{ phrase('open_link')}}"><span class="msg-drive"></span></a>
</span>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.utox}">
<span onclick="copied()" class="messeng-utox" data-xf-init="tooltip" title="uTox: {$user.Profile.custom_fields.utox}. {{ phrase('svg_mes_click_to_copy')}}" data-clipboard-text="{$user.Profile.custom_fields.utox}"><span class="msg-utox"></span></span>
<xf:js>
var clipboard = new Clipboard('.messeng-utox'); function copied() { alert("{{ phrase('svg_mes_copied')}}"); }
</xf:js>
</xf:if>
<xf:if is="{$user.Profile.custom_fields.vipole}">
<span onclick="copied()" class="messeng-vipole" data-xf-init="tooltip" title="{$user.Profile.custom_fields.vipole}. {{ phrase('svg_mes_click_to_copy')}}" data-clipboard-text="{$user.Profile.custom_fields.vipole}"><span class="msg-vipole"></span></span>
<xf:js>
var clipboard = new Clipboard('.messeng-vipole'); function copied() { alert("{{ phrase('svg_mes_copied')}}"); }
</xf:js>
</xf:if>
</xf:contentcheck>
<xf:else/>
Привет зеленоглазка
</xf:if>
</div>
</xf:if>
А здесь такая хрень :) изначально делал без пробела, потом в ресурсах стал использовать, но в аддонах оставил, по причине того, что старые без пробела, а новые, если делать пробел, стали отображаться в другом месте :) и получились не в одной куче :) а так идут по порядку, вот и не стал изменять порядок отображения :) всего лишьНу и название раздельно бы, не критично но ресурс раздельно, аддон вместе
Огромная благодарность модератору форума Captain за оказанную помощь в обновлении плагина.
- Изменен код дополнения, убрал ненужные условия права и прочее
- Убрал кнопку писать на почту, нарушение конфиденциальности
- Изменил копирование в буфер, убрал подключенный js, сделал на имеющемся из коробки
- Изменил кнопку написать в личку, если у пользователя нет заполненных полей
- Изменил отображение в профиле, у визитера не заполнены поля
установленного нет стиля, могу глянуть по местуНа стиле UI.X 2 полезло чего-то вправо
Мы используем основные cookies для обеспечения работы этого сайта, а также дополнительные cookies для обеспечения максимального удобства пользователя.
Посмотрите дополнительную информацию и настройте свои предпочтения