WordPress.org

Ready to get started?Download WordPress

Forums

Flamingo
Nice plugin but edit messages does not work (11 posts)

  1. LogoLogics
    Member
    Posted 7 months ago #

    Nice plugin but edit messages does not work...

    http://wordpress.org/plugins/flamingo/

  2. LogoLogics
    Member
    Posted 7 months ago #

    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.

  3. LinPips
    Member
    Posted 7 months ago #

    true :/

  4. LinPips
    Member
    Posted 7 months ago #

    worked perfectly for me :D

    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 ) );

  5. LogoLogics
    Member
    Posted 7 months ago #

    Thx I will try this one!

    Annie

  6. LogoLogics
    Member
    Posted 6 months ago #

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

    Annie

  7. LinPips
    Member
    Posted 6 months ago #

    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?

  8. LogoLogics
    Member
    Posted 6 months ago #

    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

  9. LinPips
    Member
    Posted 6 months ago #

    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!
    :)

  10. LogoLogics
    Member
    Posted 6 months ago #

    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

  11. shiv gaikwad
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.