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

Перейти в ACP > Themes > Theme Designer: Templates > + Create new template:

Name: PostContainerButtons

TypeRequired: Hook

Hook Application: Forums

Hook Target: postUserReputation

Hook Type: Hook Type

Content:

HTML

<div class=" brc_padding">

<div class="ipsList_reset ipsFlex ipsFlex-ai:center ipsGap:3 ipsGap_row:0">

{{if ( \IPS\Member::loggedIn()->member_id and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id ) && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}

<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$comment->author()->nmember_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsButton ipsButton--share ipsButton--inherit' data-ipstooltip title="{lang="messagesend"}"><i class="fa fa-envelope" aria-hidden="true"></i></a>

{{endif}}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=members&controller=profile&do=content&id={$comment->author()->member_id}" base="front" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" data-ipstooltip title="{lang="findcontent"}"><i class="fa fa-book" aria-hidden="true"></i></a>

{{if \IPS\Member::loggedIn()->member_id && $comment->author()->canBeIgnored() and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id }}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=system&controller=ignore&id={$comment->author()->member_id}" seoTemplate="ignore"}" data-ipstooltip title="{lang="addignore"}"><i class="fa fa-user-times" aria-hidden="true"></i></a>

{{endif}}

</div></div>

postC.png

  • Author
10 hours ago, Silence said:

Перейти в ACP > Themes > Theme Designer: Templates > + Create new template:

Name: PostContainerButtons

TypeRequired: Hook

Hook Application: Forums

Hook Target: postUserReputation

Hook Type: Hook Type

Content:

HTML

<div class=" brc_padding">

<div class="ipsList_reset ipsFlex ipsFlex-ai:center ipsGap:3 ipsGap_row:0">

{{if ( \IPS\Member::loggedIn()->member_id and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id ) && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}

<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$comment->author()->nmember_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsButton ipsButton--share ipsButton--inherit' data-ipstooltip title="{lang="messagesend"}"><i class="fa fa-envelope" aria-hidden="true"></i></a>

{{endif}}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=members&controller=profile&do=content&id={$comment->author()->member_id}" base="front" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" data-ipstooltip title="{lang="findcontent"}"><i class="fa fa-book" aria-hidden="true"></i></a>

{{if \IPS\Member::loggedIn()->member_id && $comment->author()->canBeIgnored() and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id }}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=system&controller=ignore&id={$comment->author()->member_id}" seoTemplate="ignore"}" data-ipstooltip title="{lang="addignore"}"><i class="fa fa-user-times" aria-hidden="true"></i></a>

{{endif}}

</div></div>

postC.png

hello

These changes are very simple

How can we convert it like the image below??

I have the code for this image for version 4, but it doesn't work on version 5

Untitled.jpg

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.