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

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

Discussion in 'Troubleshooting and Problems' started by tonnyz, Dec 1, 2014.

  1. tonnyz

    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:
    <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>
    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 :)
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Have you edited the profile_post template?

    Are you using a third party style which is outdated?
  3. tonnyz

    tonnyz Member

    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.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It works fine for me in 1.3.6.


  5. tonnyz

    tonnyz Member

    Maybe I messed something here :p

    I guess it'll be rather hard for you to determine what's wrong of mine just based on my brief post. Just asking then, are there any other possibilities I must check for this ?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    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.
    tonnyz likes this.
  7. tonnyz

    tonnyz Member

Share This Page