Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takahashi Fumiki

    (@takahashi_fumiki)

    Hi, ngszekiat san.

    Would you ask me what’s happened when you click YES?

    – Nothing
    – It correctly disappeared but doesn’t count up

    If you don’t mind, please tell me the url which you are struggling about.

    Thread Starter ngszekiat

    (@ngszekiat)

    Hi Takashi san,

    When I clicked YES, nothing happened. I’m running it on help.onethreeonefour.com, this is one example of the posts that uses the plugin.

    I checked wp_afb_feedbacks via PHP MyAdmin, there are no records as well. That means that it is not registering in the database.

    Plugin Author Takahashi Fumiki

    (@takahashi_fumiki)

    Hi, ngszekiat.

    I saw your site and found that buttons have wrong class name.
    The buttons should have only ‘good’ or ‘bad’ as class name.
    Your buttons have some oocss like class names(st, st-button).

    So, you can fix it by changing button’s class name to only ‘good’ or ‘bad’.
    You also have to fix your css…

    I know this is bad implementation, so I will fix it with next release.

    Thread Starter ngszekiat

    (@ngszekiat)

    Hey Takashi san, thanks much. Indeed, the button’s class name can only be either good or bad. That got it working ??

    Another question, does this plugin work well with WP Super Cache?

    I got a hunch that because of the caching the numbers are not displayed correctly, unless cache is cleared.

    Plugin Author Takahashi Fumiki

    (@takahashi_fumiki)

    Another question, does this plugin work well with WP Super Cache?

    It doesn’t. Sorry for that.

    The number which Ajax endpoint return is always ‘fresh’, but the number which user will see at first visit may be cached one.

    So, such kind of things may occur.

    • A user sees that your content A has 3 good review.
    • He clicks good because it’s useful.
    • Now he gets 5 good! Why?

    Solutions:

    1. Shorten your cache life time(ex. 15min).

    This has no consistency, but almost precise. In many case, this is enough.

    2. Flush cache when user voted

    This has consistency, but lose availability. Beside that, there are still 2 problems.

    – I forgot to add action hook. So you have to add it by yourself. This will add on next release.
    – Delete cache by your self.(see this topic.)

    I hope this post helps you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feedbacks are not registered’ is closed to new replies.