Forum Replies Created

Viewing 15 replies - 196 through 210 (of 273 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    My first inclination would be to question if it’s a conflict with page cache, but there are workarounds in place for both favorite buttons and shortcode-generated lists specifically for this.

    There isn’t anything I can think of that you would be doing wrong.

    Is this something on a public site you could link to?

    Forum: Plugins
    In reply to: [Favorites] Buddypress
    Plugin Author Kyle Phillips

    (@kylephillips)

    Thanks for the suggestions… I’m not too familiar with the inner workings of BuddyPress (I’ve only personally used it on a couple of sites), so I can’t promise anything at this point, but I’ll take a look at it.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Christopher,

    I may have misread your question earlier in our offline communication. If you’re looking for a way of displaying user favorites all in one place… yes, you’ll only have access to registered users.

    Non-registered users’ favorites are saved by either session or cookie, not in the DB.

    As for styling, I believe you can use the get_user_favorites() function to get what you’re looking for.This function returns an array of post IDs. You can either loop through that array, or pass the array of IDs to a new WP_Query object (using the post__in parameter):

    https://gist.github.com/kylephillips/9fe12f195c671c989af3

    Forum: Plugins
    In reply to: [Favorites] Multisite
    Plugin Author Kyle Phillips

    (@kylephillips)

    Thanks for the suggestion. I’m currently updating the plugin to be multisite compatible. It’ll be implemented a bit different than the method you’ve used (in order to provide more flexibility in the plugin API). So… once it’s released please be aware that in your case, updating will cause favorite counts to essentially be reset.

    Since your user meta will be saved in separate rows, I’m sure you could combine the counts fairly quickly and resave.

    Forum: Plugins
    In reply to: [Favorites] Some issues
    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.

    Plugin Author Kyle Phillips

    (@kylephillips)

    This should be fixed in v1.3.13, just released. I was able to replicate the issue on a site running on WP Engine, and the update cleared it up.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Sorry for the late reply. You may want to ensure the plugin scripts are loaded and available for your custom scripts. Try adding the plugin scripts as a dependency when you enqueue your custom scripts:

    wp_enqueue_script('your-script-name',  '/path-to-your-script', array('simple-locator'),
    'version');
    Forum: Plugins
    In reply to: [Favorites] List Is Empty
    Plugin Author Kyle Phillips

    (@kylephillips)

    v1.0.5, just released, should clear up the list issue. Let me know if it doesn’t!

    Point taken on the template example… I’ll add that to a list of to-dos.

    Plugin Author Kyle Phillips

    (@kylephillips)

    @jivedig, that’s a great solution. Thanks for posting. I may try working something like that into the plugin core/options.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Version 1.0.2, just released, should clear this up. Thanks for including the specific error – that helped a lot in troubleshooting this.

    Plugin Author Kyle Phillips

    (@kylephillips)

    If you’d like to show all locations, regardless of proximity, you can do that using a standard WordPress loop, querying the “location” post type.

    If you’re looking for a way to keep the search form, but “preload” in all your locations without doing a location query, there isn’t a way to currently do that.

    Plugin Author Kyle Phillips

    (@kylephillips)

    This plugin doesn’t manage or change content in any way. It simply replaces the default “pages” or “posts” screen with a sortable interface. The “Nesting” functionality refers to the ability to drag and drop pages underneath others… a quick way of reordering page structures.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Is there any other info you could provide that is specific to your site(s)?

    I’ve run a test on a fresh WPMU install and the Media Library is still showing (after both individual plugin activations and network activations).

    Plugin Author Kyle Phillips

    (@kylephillips)

    Thanks for the confirmation. I’ll include a patch in the next release.

    Plugin Author Kyle Phillips

    (@kylephillips)

    It’s most likely due to the “public” parameter being false.

    If setting that to true resolves your problem, I will make some tweaks to the plugin to accommodate (another user was having a similar issue with another CPT, but I never got confirmation about a possible fix).

Viewing 15 replies - 196 through 210 (of 273 total)