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

#1
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 :)
 

Brogan

XenForo moderator
Staff member
#2
Have you edited the profile_post template?

Are you using a third party style which is outdated?
 
#3
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.
 

Brogan

XenForo moderator
Staff member
#6
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.
 
Top