Posted 11 ноябряNov 11 comment_213274 helloHas anyone managed to change the postContainer and make it beautiful??? Link to comment https://ipbmafia.ru/topic/28400-change-postcontainer-in-ic5/ Share on other sites Больше вариантов
11 ноябряNov 11 comment_213286 Перейти в ACP > Themes > Theme Designer: Templates > + Create new template:Name: PostContainerButtonsTypeRequired: HookHook Application: ForumsHook Target: postUserReputationHook Type: Hook TypeContent: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> Link to comment https://ipbmafia.ru/topic/28400-change-postcontainer-in-ic5/?&do=findComment&comment=213286 Share on other sites Больше вариантов
12 ноябряNov 12 Author comment_213294 10 hours ago, Silence said:Перейти в ACP > Themes > Theme Designer: Templates > + Create new template:Name: PostContainerButtonsTypeRequired: HookHook Application: ForumsHook Target: postUserReputationHook Type: Hook TypeContent: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>helloThese changes are very simpleHow 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 Link to comment https://ipbmafia.ru/topic/28400-change-postcontainer-in-ic5/?&do=findComment&comment=213294 Share on other sites Больше вариантов
12 ноябряNov 12 comment_213297 Send me the code to try Link to comment https://ipbmafia.ru/topic/28400-change-postcontainer-in-ic5/?&do=findComment&comment=213297 Share on other sites Больше вариантов
Пятница в 13:025 дн Author comment_213404 On 11/12/2024 at 11:33 AM, Silence said:Send me the code to tryplease check private message Link to comment https://ipbmafia.ru/topic/28400-change-postcontainer-in-ic5/?&do=findComment&comment=213404 Share on other sites Больше вариантов
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.