WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
Incompatible with latest MailPoet version (5 posts)

  1. pberger
    Member
    Posted 4 months ago #

    Shortcode Ultimate seems to break the signup form of the latest MailPoet (2.6) version:

    - Install MailPoet (http://wordpress.org/plugins/wysija-newsletters/) & Shortcode Ultimate
    - Create a new signup form in Mailpoet and add it to a page (using the shortcode or iFrame)
    --> An error message appears on the page if no user is signed in
    --> After every entered valid email address an error message appears that email address is invalid.

    https://wordpress.org/plugins/shortcodes-ultimate/

  2. pberger
    Member
    Posted 4 months ago #

    The conflict for the first problem (An error message appears on the page if no user is signed in) seems to lie in class Su_Shortcodes function user. If i comment out line 1308 MailPoet seems to work again. But still get the invalid email address error.

  3. pberger
    Member
    Posted 4 months ago #

    The second problem (After every entered valid email address an error message appears that email address is invalid) is caused by the function addSubscriber in
    http://plugins.svn.wordpress.org/wysija-newsletters/tags/2.6/helpers/user.php.

    If Shortcodes Ultimate is disabled the function will receive the following content in the $data parameter:

    Array (
      [user_list] => Array (
        [list_ids] => Array ( [0] => 3 )
      )
      [user_field] => Array ( )
      [user] => Array (
        [email] => foo@bar.com
      )
      [form_id] => 1
      [action] => save
      [controller] => subscribers
      [wysija-page] => 1
    )

    If Shortcodes Ultimate is enabled the user Array is missing:

    Array (
      [user_list] => Array (
        [list_ids] => Array ( [0] => 3 )
      )
      [user_field] => Array ( )
      [wysija[email]] => foo@bar.com
      [wysija[abs][email]] =>
      [form_id] => 1
      [action] => save
      [controller] => subscribers
      [wysija-page] => 1
    )
  4. pberger
    Member
    Posted 4 months ago #

    What generally happens for the second problem: Mailpoet has a signup form with the tag [user], Shortcodes Ultimate replaces that part of the form with something else.

  5. Ben
    Member
    Posted 4 months ago #

    Ok actually this is a conflict that we started to generate ourselves at MailPoet.

    We'll rollout a fix this Monday or Tuesday! :)

    Cheers,
    Ben

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.