• Resolved maxdestefano

    (@maxdestefano)


    Hello,

    I have plugin version 1.1.10 and WP version 5.5.1 now, but the issue happened with previous versions too.

    When I installed the plugin and configured the API key for mailer lite, most (I think all) of the groups where imported properly. However, later on I created other groups, and they’ve not been added, they’re not visible in the Contact Form 7 / Mailer lite tab / Groups field. I also tried to click the sync button and remove/add back again the API key.

    Thanks
    Max

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello

    Is it possible to see the problem anywhere?

    PS: You can contact us by email: info (at) ari-soft (dot) com

    Thread Starter maxdestefano

    (@maxdestefano)

    Hello, sure. I’ll send you an email and get in touch.

    this plugin has limitations on the amount of subscriber list display. If you haven’t been able to fix it yet, write to me i’ll help

    yanickc

    (@yanickco)

    @altruistas how do I remove the limit for the amount of subscriber lists to display? I’m having the same issue on my end.

    Thanks in advance,
    Yan

    Thread Starter maxdestefano

    (@maxdestefano)

    Hello @altruistas, I still didn’t fix as well. Can you please advise?

    altruistas

    (@altruistas)

    @maxdestefano @yanickco
    Hi, u need to edit plugin file which returning groups.
    Do u now how to edit files?

    yanickc

    (@yanickco)

    Yup!

    Can you tell me what file and line needs to be changed? Any idea why they are limiting the number?

    Thanks,
    Yan

    Thread Starter maxdestefano

    (@maxdestefano)

    @altruistas yes I know how to edit files, can you please tell us what’s the file? Thanks!

    altruistas

    (@altruistas)

    @yanickco yes u can overriding Plugin Function in Child Theme
    Plugin function location: cf7_addons/mailerlite/helpers/class-mailerlite.php
    Function name: get_lists
    U need to add argument to mailerlite api line about 86
    $groups = $mailer_lite->groups()->get();
    Need to add example limit of 1000: ->limit(10000)
    Final args: $groups = $mailer_lite->groups()->limit(10000)->get();

    Thread Starter maxdestefano

    (@maxdestefano)

    @altruistas so basically you need to add a limit manually because the plugin is not able to handle all the groups? In other words, if you don’t specify any limit manually, the plugin puts a limit itself automatically? Is my understanding correct?

    Also, yes it seems to work fine! Thanks!

    Could you please also share how to override the plugin function with the Child Theme?

    Thanks,
    Max

    altruistas

    (@altruistas)

    @maxdestefano no if u don’t adding limit in mailerlite api it will show default number of groups.

    Thread Starter maxdestefano

    (@maxdestefano)

    @altruistas very good, thanks for your explanation!

    Can you please also explain how to override in the Child Theme, I wasn’t able to do that as I didn’t find any hook to use.

    Thanks!
    Max

    altruistas

    (@altruistas)

    There is no hooks for functions.
    You can’t really “override” a function. If a function is defined, you can’t redefine or change it. Your best option is to write to plugin admin to fix this “bug”
    Or u can write add_filter() function. I can’t copy it to u because i din’t made it to this plugin. It was not so necessary to my client.

    Thread Starter maxdestefano

    (@maxdestefano)

    OK very good, no problem!

    @arisoft can you please check this? @altruistas found how to solve it.

    Maybe you can fix this bug in your future releases, so that when we update the plugin we don’t lose the fix.

    Thanks
    Max

    yanickc

    (@yanickco)

    Thanks for your help @altruistas

    I can confirm this worked for me too.

    Hopefully @arisoft can fix this in a future update.

    Thanks!
    Yan

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Not viewing all groups’ is closed to new replies.