'post' =>
array (
0 =>
array (
'selector' => 'div[data-controller=\'core.front.core.comment\'] > div.cPost_contentWrap.ipsPad > div.ipsItemControls > ul.ipsComment_controls.ipsClearfix.ipsItemControls_left[data-role=\'commentControls\']',
'type' => 'add_inside_end',
'content' => '{{if (\IPS\Settings::i()->postnotes_canAddIn == \'onlyFirstPost\' && $comment->new_topic) || (\IPS\Settings::i()->postnotes_canAddIn == \'allExceptFirstPost\' && !$comment->new_topic) || \IPS\Settings::i()->postnotes_canAddIn == \'allPosts\'}}
{template="addNote" group="post" location="front" app="postnotes" params="$comment"}
{{endif}}',
),
1 =>
array (
'selector' => 'div[data-controller=\'core.front.core.comment\'] > div.cPost_contentWrap.ipsPad > div.ipsItemControls',
'type' => 'add_after',
'content' => '{{if \IPS\Settings::i()->postnotes_position == \'afterPostControls\'}}
{template="notes" group="post" location="front" app="postnotes" params="$comment"}
{{endif}}',
),
2 =>
array (
'selector' => 'div[data-controller=\'core.front.core.comment\'] > div.cPost_contentWrap.ipsPad > div.ipsItemControls',
'type' => 'add_before',
'content' => '{{if \IPS\Settings::i()->postnotes_position == \'beforePostControls\'}}
{template="notes" group="post" location="front" app="postnotes" params="$comment"}
{{endif}}',
),
3 =>
array (
'selector' => 'div[data-controller=\'core.front.core.comment\'] > div.cPost_contentWrap.ipsPad',
'type' => 'add_inside_start',
'content' => '{{if \IPS\Settings::i()->postnotes_position == \'beforePostContent\'}}
{template="notes" group="post" location="front" app="postnotes" params="$comment"}
{{endif}}',
),
),
'topic' =>
array (
0 =>
array (
'selector' => '#elClubContainer > div[data-controller=\'core.front.core.commentFeed,forums.front.topic.view, core.front.core.ignoredComments\']',
'type' => 'add_attribute',
'attributes_add' =>
array (
0 =>
array (
'key' => 'data-controller',
'value' => 'core.front.core.commentFeed,forums.front.topic.view, core.front.core.ignoredComments,postnotes.front.notes',
),
),
),
),
@Piomar Masz podmień selektory tak jak ja to zrobiłem wyżej i będzie działało.