XF 1.5 Profile post comment improvements

Compared to profile posts themselves, profile post comments have been missing tools for user interaction and moderator management. XenForo 1.5 sorts this by adding an array of new, but familiar, functionality to profile post comments.

This screenshot should give you a good idea of some of the changes :)


Ability to like profile post comments
This is actually specifically one of the most popular suggestions and is pretty self explanatory. Profile post comments now support the like system.

Of course if someone likes your comment, you get an alert just as you would expect:


And we have also added support for comments appearing in the News Feed / Recent Activity:


Soft deleting profile post comments
Until now the only way to remove profile post comments is to permanently delete it. In XenForo 1.5 we are bringing the ability to soft delete comments in the same way you can soft delete profile posts and other content:



Ability to search profile post comments
Profile post comments are now indexed and are searchable from the global "Everything" search or from the Search Profile Posts tab on the search page:


If you decide to search for profile post comments, you will see these alongside the results for profile posts.


After XenForo 1.5 is installed, we will begin to index any new profile post comments. Remember to rebuild the search index to have your existing comments indexed too.

Other improvements
As I'm sure you would expect, we have now also implemented the remaining content-based controls that you see on most other content types:


Here's a summary:
  • Comments can now be reported
  • They can be undeleted (if soft deleted)
  • They can be approved/unapproved
  • Profile post comments have always been subject to spam checks, but now they have support for the moderation queue rather than blocked completely.
  • Moderator actions on profile post comments are now logged in the Moderator Log
  • Warnings can be issued on comments
  • And you can trigger the spam cleaner from a comment and the comments can be soft deleted (and restored) via the spam clean process.
That concludes what we have to show you in terms of improvements for profile post comments. We are excited to show you even more stuff next week! :)
I commented out this code in the profile_post_comment template mentioned by @Chris D, and it worked.
                    <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>

Template: profile_post_comment_like
<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}
Last edited:
Top Bottom