WordPress.org

Ready to get started?Download WordPress

Forums

People Lists
people lists + WordPress 3.6 = Don't add (19 posts)

  1. Mer2022
    Member
    Posted 11 months ago #

    Hi,

    I do not speak English, sorry
    It is now impossible to add users to the list. Problem of CSS or JS. When you want to move the list expands.

    Look here

    Your plugin is very important for my website. Please help we...

    Mer2022

    http://wordpress.org/plugins/people-lists/

  2. Brandon Kraft
    Happiness Engineer
    Posted 11 months ago #

    Same here.

    It's some kind of conflict with, I think, the updated jQuery UI that shipped with 3.6. Haven't had time to track it down yet.

  3. sintmacro
    Member
    Posted 11 months ago #

    Same here. I notice this issue also since I upgrade WP to 3.6.

  4. sintmacro
    Member
    Posted 11 months ago #

    ISSUE FOUND, is same as other post (http://wordpress.org/support/topic/template-info-link-doesnt-work-with-wordpress-35)

    Below the thing you have to do to solve it:

    Go to peoples-list.php and find and delete the line below you should be fine:

    wp_enqueue_script('people-lists-jquery-sortable', plugins_url('/people-lists/js/jquery-ui.min.js'), array('jquery','jquery-ui-tabs','jquery-ui-sortable'));

  5. Glowfaerie
    Member
    Posted 11 months ago #

    Sintmacro - Just wanted to say thank you :) I deleted the line above and it works perfectly again :)

  6. neXorianus
    Member
    Posted 10 months ago #

    thinking about taking over the further development, since the Admin of this plugin seems to lost interest on this.

  7. Mer2022
    Member
    Posted 10 months ago #

    thank you :) It's ok!

  8. Robert.Vidrine
    Member
    Posted 9 months ago #

    @neXorianus:
    I would appreciate someone taking this on, if indeed the developers have abandoned it. It (and User Avatar) are very useful plugins, but they have to be updated.

    Having to hack it to get it to work again means that I've already taken the first step in moving away from the author's development cycle. If they don't revive it, I'll either have to move to another plugin, or try to maintain my own hacked version.

  9. dismas
    Member
    Posted 9 months ago #

    I'd really appreciate if someone would take this on as well. I've been asked to admin a site that I didn't build and the webmaster that the org had has died, so I can't ask her questions about what she did to get the site together. I've been having a problem with a people list issue for the last month at least and so far have not been able to find a solution.

    The above fix didn't fix the issue I'm having currently but it at least answered the question about why the template info link didn't do anything.

  10. dismas
    Member
    Posted 9 months ago #

    Well, the fix above didn't directly fix the issue I'd been having but it did allow me to see what was wrong with the list I had created. My issue has been fixed, though in a round about way!

  11. mlavanish
    Member
    Posted 9 months ago #

    Thanks Sintmacro for the fix above. Worked for me.

    I too hope someone will take up these plugins. They're pretty useful.

  12. nirgalo
    Member
    Posted 9 months ago #

    Fix above fixes the add but in Template Info, Before&After tab, at the bottom of the gray view I have this error message: "Warning: Invalid argument supplied for foreach() in (...)/wp-content/plugins/people-lists/people-lists.php on line 616"

  13. invision-studios
    Member
    Posted 8 months ago #

    I have the REAL fix for this problem. The challenge is the plugin uses an OLD version of the jquery.ui.min.js -- jquery's user interface program that deals with drag-n-drop and other cool functionalities. You'll find it in this folder:
    "/wp-content/plugins/people-lists/js".
    The first step is to rename that original file to something like 'jquery.ui.min.js.OLD' to render it useless. Then, we have to go to jquery's website to find an updated version and upload it to the same folder.

    UPDATED VERSION DOWNLOAD
    Go to jquery's site and download an updated version of the jquery.ui.js file:
    http://jqueryui.com/download/

    At the bottom of the page is an option to include a theme. Select no theme from the dropdown, then press the download button. When you unzip the downloaded file, it contains dozens of files, but we only need one. Drill down into the folder jquery-ui-1.10.3/ui/minified/ to find a fresh version of jquery's User Interface file. The 'minified' means all the extra spaces have been removed from the text in the file to reduce loading time on your website. (Future humanoids: the number may change as newer versions of jquery ui are released, but the location should be the same).

    In that folder is jquery.ui.min.js -- upload that to the /wp-content/plugins/people-lists/js/ folder on your website and the people list plugin works fine after that. Be sure to check the functionality of any other plugins on your website that might use the jquery UI functions to ensure they're working normally.

    For the techno-weenies, it looks like jquery changed the way they deal with drag-n-drop and some other features, breaking them out into separate functions. The old version of the jquery.ui file doesn't include the necessary code for it to work with the version of jquery included with WP 3.6.1. Jquery.min.js is called by people-lists.php on about line 334 (the line the poster above suggested removing).This fixes the actual problem.

    neXorianus, if you're thinking about taking this over, you could just bundle an update with the latest version of the jquery.ui.

    Hope this helps.

  14. Brandon Kraft
    Happiness Engineer
    Posted 8 months ago #

    The fix mentioned earlier (removing the calls to enqueue jquery-ui by the plugin) works and better long-term, since it relies on the version of jquery-ui shipped with WordPress core.

    If you download and use another version of jquery-ui, it would potentially run into the same problem the next time WP core upgrades to a newer version of the code.

  15. invision-studios
    Member
    Posted 8 months ago #

    I didn't see jquery.ui loading anywhere else in WP, that's the only reason I did my fix above.

  16. Brandon Kraft
    Happiness Engineer
    Posted 8 months ago #

    It is labeled as jquery-ui-core to be clear between it and the various plugins:
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_Scripts_Included_and_Registered_by_WordPress

    Found in the /wp-includes/js/jquery/ui folder.

    Just by removing the attempt by the plugin to load the outdated jquery-ui will resolve the conflict.

  17. computersimple
    Member
    Posted 7 months ago #

    But since invision-studios suggestion about replacing the jquery version in people list with an updated version of jquery okay since the replacement is local to the people list plugin and not to wordpress core isn't it okay?

  18. Brandon Kraft
    Happiness Engineer
    Posted 7 months ago #

    The problem in the first place is that the plugin had a local copy of jquery-ui, so when it was being enqueued in the people-lists admin, it conflicted with what shipped with core.

    Removing the enqueue to the local copy and only relying on WP core's version fixes the issue, so why muddy it up further with another local copy that will likely cause a conflict at some other point in the future.

  19. Brandon Kraft
    Happiness Engineer
    Posted 7 months ago #

    Checking out the repo, the version of jquery that shipped with the plugin was last changed three years ago to fix a conflict with a new version of WP (3.1): http://plugins.trac.wordpress.org/log/people-lists/trunk/js/jquery-ui.min.js?rev=808421

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.