labs.dagensskiva.com/forum » Plugin: More Fields

More Fields 1.3 breaks Tags WP 2.8.5

(24 posts)
  • Started 10 months ago by estherswhite
  • Latest reply from Crazy Serb
  • This topic is resolved

Tags:

  1. estherswhite
    Member

    With More Fields activated, I have this problem:

    On a regular post page, if I click in the "Choose from the most used tags in Post Tags" link, nothing happens. Also cannot add tags by typing them into the "Add new tag" field or view existing tags on a post.

    Deactivating the More Fields plugin fixes this problem.

    Posted 10 months ago #
  2. krembo99
    Member

    Same problem here ..
    Actually, not only the TAGS , but also ADD CATEGORY or even save ..
    all AJAX functions are not working .

    Posted 9 months ago #
  3. krembo99
    Member

    commenting these lines :

    function wp_default_scripts(&$scripts) {
    $src = get_option('home') . '/wp-content/plugins/more-fields/post.js';
    $scripts->registered['post']->src = $src;
    }

    from from \more-fields-object.php\

    resolves the problem, but produces some other errors ....
    There is some JS conflicts here ..
    the strange thing is , that for me everything worked just fine, and suddenly , with no apperantchanges, it broke ...

    Posted 9 months ago #
  4. delirity
    Member

    I'm also having this trouble. When I click on "Choose from the most used tags in Post Tags" it takes me up toward the top of the page (to title?).

    Posted 9 months ago #
  5. gustao
    Member

    I'm having the same problem here..
    Any solution?

    Posted 9 months ago #
  6. sophia93065068
    Member

    Tescotrade is a large compositive trading company, which engage in manufacturing,OEM and selling ,we sell all kinds of top-branded shoes,clothing,jewelry,accessories ,sports equipment,and electrical.at the same time we also accept orders of all quantities,so our price have wholesale and retail which are factory price .our products are all original binding legitimate..this is our ugg boots links for your reference:

    http://www.google2008.com/search.php?encode=YTo1OntzOjg6ImtleXdvcmRzIjtzOjk6InVnZyBib290cyI7czo4OiJjYXRlZ29yeSI7czoxOiIwIjtzOjE6IngiO3M6MjoiMzQiO3M6MToieSI7czoyOiIxMiI7czoxODoic2VhcmNoX2VuY29kZV90aW1lIjtpOjEyNTkzMDk0NTc7fQ==

    If you have other questions,pls let us know,our connection threads as below:
    Website:www.tescotrade.com
    http://www.tescomall.com
    msn :google2008d@hotmail.com
    yahoo:google2008d@yahoo.cn

    Posted 9 months ago #
  7. chrispalle
    Member

    Hey All-
    I had this same problem and it was driving me absolutely nuts because More Fields is an awesome plug in and this issue was going to be a deal breaker.

    Here's something to check: Did you install that jQuery Date Picker example plug-in along with More Fields? Try disabling it.

    I turned that off and all is well.

    Hope that helps!
    Chris

    Posted 8 months ago #
  8. shortformblog
    Member

    Figured it out.

    The root was in fact this option, from \more-fields-object.php\:

    function wp_default_scripts(&$scripts) {
    		$src = get_option('home') . '/wp-content/plugins/more-fields/post.js';
    		$scripts->registered['post']->src = $src;
    	}

    Change this to:

    function wp_default_scripts(&$scripts) {
    		$src = get_option('home') . '/wp-content/plugins/more-fields/post.js';
    		$scripts->add_data['post']->src = $src;
    	}

    Basically, what I think was happening was that this piece of code was registering over of all the other javascript, for all intensive purposes removing it. Making this change simply adds it on top of everything else.

    Thanks for the tipoff, krembo99 – it led me to my solution.

    Posted 8 months ago #
  9. gustao
    Member

    thanks shortformblog!!
    everything works fine now!

    Posted 8 months ago #
  10. C. Spencer Beggs
    Member

    Thanks for the fix, shortformblog. Everything is working well for me now, too.

    Posted 8 months ago #
  11. dax
    Member

    So should I revert all of the other changes made to due to upgrades and just do this one?

    Posted 8 months ago #
  12. erisds
    Member

    I'm running 2.9 and 2.9.1. Activating More Fields breaks a LOT of javascript/AJAX functionality across the WP Administration Panel. Including editing post/page slugs, tags, and other bits and pieces.

    Adding the fix provided by shortformblog corrects all issues.

    Thanks for providing the fix shortformblog :)

    Posted 8 months ago #
  13. dax
    Member

    I reset my changes from another recommendation and just implemented this and it seemed to work. But I could not expand the More Field box on the post area because it had been collapsed. It seems to have killed all of the expand/collapse ability.

    Posted 7 months ago #
  14. pikepa
    Member

    Cured !
    Thanks shortformblog,

    Posted 7 months ago #
  15. taeke
    Member

    The fix mentioned by shortformblog works partially, I still can't toggle the collepsed state of boxes. Very annoying!

    Posted 7 months ago #
  16. kal
    Key Master

    This is also fixed (but not in the same way in 1.4b1.
    Please test it out.

    taeke: Could you try and figure out what other plugin that could be causing the incompatibility or find another reason why the fix doesn't work for you. (I've seen that behaviour too, and it has always been an incompatibility with another plugin.)

    Posted 7 months ago #
  17. esagor
    Member

    Thank you shortformblog! The fix worked perfectly for me too. Have not tried 1.4b1. Great plugin, thank you.

    Posted 7 months ago #
  18. kal
    Key Master

    esagor: The new beta (b3) is compatible with legacy 2.8 versions too.

    Posted 7 months ago #
  19. duckie
    Member

    I'm in the same boat as taeke here. shortformblog's fix partially helped(things like post visibility are now accessable) however, I am also having the collapsible boxes issue(everything stuck as it is when the page loads). In addition, when adding a new field to a box, I receive the following error:
    Fatal error: Call to undefined method: more_fields_object->rewrite_rules() in /path/wp-content/plugins/more-fields/more-fields-manage-boxes.php on line 150

    The fields are added, however, I have to return to the main config screen for More Fields, and re-enter the edit screen.

    I've disabled all other plugins and applied shortformblog's fix, however these problems are persisting.

    Edit: forgot to mention, WP 2.9.1

    Posted 6 months ago #
  20. kal
    Key Master

    ducke: What version of MF are you using?

    Posted 6 months ago #
  21. duckie
    Member

    kal: v1.3

    Posted 6 months ago #
  22. kal
    Key Master

    duckie: MF 1.3 won't work with 2.9.1. Try the latest beta.

    Posted 6 months ago #
  23. duckie
    Member

    Just did, 1.4b3, and now I feel like a jerk for wasting time :) works nice and smoothly now for me, boxes collapse and expand properly and the state is now persistent, and fields can be added to boxes without a problem. Hope this makes the repository soon, you've got my vote for it. Thanks again for the help.

    Posted 6 months ago #
  24. Crazy Serb
    Member

    Sure, this fixes the unusable tags field, but it breaks the collapsible content boxes in admin (which are fixed by this edit -> http://labs.dagensskiva.com/forum/topic.php?id=391 )

    So, what I have right now is either an option to have tags usable with this fix (from this thread) and have unusable collapsible content boxes... or vice versa. No way to have them both working.... yet.

    Anyone have an idea how to get these two changes to "play nice" with each other?

    And for the record, this is all on 1.4b3...

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.