• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Profile post comment improvements

Deceptive

Active member
#61
I commented out this code in the profile_post_comment template mentioned by @Chris D, and it worked.
Code:
                    <xen:if is="{$comment.canLike}">
                        <a href="{xen:link 'profile-posts/comments/like', $comment}" class="LikeLink item control {xen:if $comment.like_date, unlike, like}" data-container="#likes-pc-{$comment.profile_post_comment_id}"><span></span><span class="LikeLabel">{xen:if $comment.like_date, {xen:phrase unlike}, {xen:phrase like}}</span></a>
                    </xen:if>
EDIT:
Template: profile_post_comment_like
Code:
<xen:if is="{$like}">
                {xen:phrase you_sure_you_want_to_unlike_this_profile_post_comment}
            <xen:else />
                {xen:phrase you_sure_you_want_to_like_this_profile_post_comment}
            </xen:if>
 
Last edited: