XF 1.3 "Unlike" button on profile post is showed as "like" class

tonnyz

Member
I'm not sure what's going wrong. This is really frustrating :(

On my offline-experimental-forum default template, the "unlike" button on profile post is always showed as a "like" class, although its phrase remains as "unlike".

This is the portion of my browser's source code:
Code:
<div class="publicControls">
                        <a href="profile-posts/5/like" class="LikeLink item control like" data-container="#likes-wp-5"><span></span><span class="LikeLabel">Unlike</span></a>
                        <a href="profile-posts/5/comment" class="CommentPoster item control postComment" data-commentarea="#commentSubmit-5"><span></span>Comment</a>
</div>

It always shows erroneously (showing "like" class although it is an "unlike" button) every page refresh,

but will be corrected after I click the "unlike" button (which has a "like" class erronously) to change it to a "like" button (which has a "like" class correctly).

Any idea for this ? May this be an old bug of 1.3.x. ?

thx :)
 
Have you edited the profile_post template?

Are you using a third party style which is outdated?

It also shows erroneously in the default style which 'profile_post' template stays unchanged

I did edited the 'profile_post' template of the default style accidentally, but had reverted its changes manually.

Nope, no outdated add-on there.
 
It can really only be a template or add-on issue.

Try in a completely unedited default style with all add-ons disabled.

Try rebuilding the master data if it still shows incorrectly.
 
Back
Top Bottom