Support » Plugin: More Fields » [Plugin: More Fields] version 2.1 | bugs & tips

  • Bug 1# select: remove double value
    Select field (drop-down) it will appear the following way, eg:

    If 2010 is chosen, it will be shown the following:

    To remove the double 2010 value, change the following line in file more-fields-settings-object.php
    line 382. if (!$value_raw) $value_raw = $value_stored;
    line 382(fix). if (!$value_raw && $field[‘field_type’] != ‘select’) $value_raw = $value_stored;

    Bug #2 tinyMCE: formatselect is messed
    When the plugin is installed, formatselect in tinyMCE does not show correctly the options in the drop-down options.
    Still did not find a solution…

    Bug #3: when adding a new field to a box
    Getting the following warning message after adding a field to a box
    Warning: array_key_exists() expects parameter 2 to be array, null given in \wp-content\plugins\more-fields\more-plugins\more-plugins-admin.php on line 303
    Still did not find a solution…

    Tip #1: allowing HTML in fields’ caption
    Previous versions of the plugin already allowed to have HTML tags in the fields’ caption. However, it is not possible in the last versions but it may be useful to have tags in the caption to interact, for example, with jQuery. Here is a simple way to have HTML in the caption.
    file more-fields-settings-object.php
    line 392. $html = str_replace(‘%caption%’, ‘<p class=”mf_caption”>’ . stripslashes($field[‘caption’]) . ‘</p>’, $html);
    line 392(fix). $html = str_replace(‘%caption%’, ‘<p class=”mf_caption”>’ . html_entity_decode(stripslashes($field[‘caption’])) . ‘</p>’, $html);

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kal Ström


    Thanks, we’ll look into it.


    Did you already find the solution for tinyMCE formatselect drop-down conflict?

    I am having an issue with the image select input since the update. When I use the regular image chooser (without the thumbnail) instead of saving the correct value of the image url, it saves the attachment id (i think), so the image url get’s saved as something like ‘326’

    When I try the new thumbnail editor, it just says reload to see image options, but reloading the page does nothing.

    Thanks for a great plug!

    FYI, i downgraded back to 2.0.5 and everything works fine again. I’ll update again when the bugs get fixed.

    Ditto mrzerog’s exact problem.

    The solution of downgrading worked for me as well.

    I’ve started noticing I’m also getting the same bug as PedroDM’s #3…
    “array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /data01/lucybiz/public_html/wp-content/plugins/more-fields/more-plugins/more-plugins-admin.php on line 303” when I add a new field to a box. I might downgrade too until it gets fixed.

    Other than that, it works great. Thanks

    @pedrodm, thanx for those solutions 🙂

    @mrzerog, thanx for the tip but that did not work for me, very frustrating. After going back to v2.05 and when it did not work, I went back to the latest version 2.1 Now it won’t even load up the id’s (when you clikc on the ;update list’ button).

    The latest update was more than 6 months ago 🙁

    I hope that they will fix these issues or hopefully somebody else will come with a solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: More Fields] version 2.1 | bugs & tips’ is closed to new replies.