• Resolved Luis Rock

    (@maurolopes)


    In order to help with the development of this nice plugin:

    1) Cannot see the favorite count number next to the favorite button, although “Favorite Count on Post Entry Screen” is checked. (BTW, what do you mean by “on Post Entry Screen”?)

    2) When publishing [user_favorites user_id="" include_links="true"] on a page, favorite posts list (with 8 posts, in my case) takes almost 7 seconds after page load to render. It can be cumbersome with, say, 20 posts…

    3) Some posts do not fix the favorited active state, no matter how many times I click the button, thus not showing on the user_favorites list.

    I think this plugin has a lot of potential.

    Thanks for your good work.

    Luis Rock

    https://wordpress.org/plugins/favorites/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I agree on #2 and #3.

    On #2, at least maybe add a “Loading Favorites” text until list fully loads. 🙂

    Although on issue #3, I have a YouTube-Comments function loading, and it seems that the favorites button doesn’t take until the youtube-comments are done loading. I’ve tested this a few times, clicking the favorites button before the ENTIRE page loads and after the page loads.

    Button takes favorite only after ENTIRE page has loaded (all elements/plugins).

    Thanks for the very cool plugin!

    Plugin Author Kyle Phillips

    (@kylephillips)

    1) I probably should been more specific in the documentation. The favorite count is not part of the default favorite button, although I can see where that would be a nice feature. By post entry screen, I’m referring to the default wp admin edit screen. The count is available via the template function the_favorites_count(). I like the idea of having the option to display that in the button itself… I’ll look at adding that in a future release.

    2) RightBeatRadio is correct… there is an AJAX call that updates all the buttons on the page after it has loaded. This is a workaround for sites with cacheing enabled. There will be a noticeable delay if you have other elements loading that hold up the dom from being ready, or if the server is slow to respond to the request.

    3) I’m guessing this may be related to #2. If the server is slow to respond, and the page is refreshed before the action is complete, it may prevent the favorite from being saved. I’ll look add adding a “loading/saving” indicator to the button to provide a visual cue that something is happening in the background.

    RightBeatRadio

    (@rightbeatradio)

    Thanks, Kyle.

    Thread Starter Luis Rock

    (@maurolopes)

    Hey, Kyle. Thanks for the update. It solved the issues.

    You are the man! Gonna give you my 5-stars rating now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Some issues’ is closed to new replies.