Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter LogoLogics

    (@logologics)

    I did some more testing and this plugin works fine ( also the edit mode )but seems to be incompatible with Woocommerce.

    As soon as I add Woocommerce, I can not edit and get error message.

    true :/

    worked perfectly for me 😀

    1. Open “flamingo\admin\admin.php”
    Replace all

    $_REQUEST[‘post’]

    by

    $_REQUEST[‘post_id’]

    2. Open “flamingo\admin\includes\class-inbound-messages-list-table.php”
    Replace line 238 which is:

    $url = admin_url( ‘admin.php?page=flamingo_inbound&post=’ . absint( $item->id ) );

    by this:

    $url = admin_url( ‘admin.php?page=flamingo_inbound&post_id=’ . absint( $item->id ) );

    3. open file /flamingo/admin/include/meta-boxes.php

    line 14

    sprintf( ‘admin.php?page=flamingo&post=%s&action=delete’, $post->id ) );

    by

    sprintf( ‘admin.php?page=flamingo&post=%s&action=delete’, $post_id->id ) );

    line 112

    sprintf( ‘admin.php?page=flamingo_inbound&post=%s&action=trash’, $post->id ) );

    by

    sprintf( ‘admin.php?page=flamingo_inbound&post_id=%s&action=trash’, $post->id ) );

    4. open file /flamingo/admin/include/class-contacts-list-table.php

    line 134

    $url = admin_url( ‘admin.php?page=flamingo&post=’ . absint( $item->id ) );

    by

    $url = admin_url( ‘admin.php?page=flamingo&post_id=’ . absint( $item->id ) );

    Thread Starter LogoLogics

    (@logologics)

    Thx I will try this one!

    Annie

    Thread Starter LogoLogics

    (@logologics)

    One question, did you put these files in your child theme so these adjustments wont get lost in the next flamingo update?

    Annie

    I changed The name of the plugin folder for Flamingo (.. / Plugins / m’y-flamingo)The next update will make “adjustments” again
    “adjustments” worked correctly for you?

    Thread Starter LogoLogics

    (@logologics)

    Hi LinPips,

    Yes! As long as I make the changes in the Original plugin folder, it works even with Woocommerce active, great thank you for the tip!

    You mean I can only change the name of the actual Original folder so with the next update it will not be overwritten?

    Most of the time I put a copy of the files that need adjustments into my child theme, then adjust there and it works.

    In this case I copied only the files you said needed adjustments, but that had no effect what so ever?

    Thx,
    Annie

    I never did as you told.
    i always make ​​adjustments in direct plugin just changing the name of the plugin folder
    but I’ll try as he spoke!
    🙂

    Thread Starter LogoLogics

    (@logologics)

    Hi LinPips,

    I will use your technique for now, because I would not know what to do with this plugins files, for they don’t seem to “take” the adjustments.

    I am however, very glad I found your “tweak” so thanks!

    Annie

    Hi LinPips…
    Really you find good solution. i also face same problem with Woocommerce.Your solution work perfectly..

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Nice plugin but edit messages does not work’ is closed to new replies.