Conversation
supportHello, 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]
Hello Is it possible to see the problem anywhere? PS: You can contact us by email: info (at) ari-soft (dot) com
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
@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
Hello @altruistas , I still didn’t fix as well. Can you please advise?
@maxdestefano @yanickco Hi, u need to edit plugin file which returning groups. Do u now how to edit files?
Yup! Can you tell me what file and line needs to be changed? Any idea why they are limiting the number? Thanks, Yan This reply was modified 5 years, 2 months ago by tobifjellner (Tor-Bjorn “Tobi” Fjellner) . This reply was modified 5 years, 2 months ago by yanickc . This reply was modified 5 years, 2 months ago by yanickc .
@altruistas yes I know how to edit files, can you please tell us what’s the file? Thanks!
@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();
@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 This reply was modified 5 years, 2 months ago by maxdestefano .
@maxdestefano no if u don’t adding limit in mailerlite api it will show default number of groups.
@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
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.
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
Thanks for your help @altruistas I can confirm this worked for me too. Hopefully @arisoft can fix this in a future update. Thanks! Yan
@yanickco No problem. Any time, any question. Just write to me.
Hi there, Thank you for identifying the problem. The fix is available in v. 1.1.12.
Hello Is it possible to see the problem anywhere? PS: You can contact us by email: info (at) ari-soft (dot) com
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
@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
Hello @altruistas , I still didn’t fix as well. Can you please advise?
@maxdestefano @yanickco Hi, u need to edit plugin file which returning groups. Do u now how to edit files?
Yup! Can you tell me what file and line needs to be changed? Any idea why they are limiting the number? Thanks, Yan This reply was modified 5 years, 2 months ago by tobifjellner (Tor-Bjorn “Tobi” Fjellner) . This reply was modified 5 years, 2 months ago by yanickc . This reply was modified 5 years, 2 months ago by yanickc .
@altruistas yes I know how to edit files, can you please tell us what’s the file? Thanks!
@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();
@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 This reply was modified 5 years, 2 months ago by maxdestefano .
@maxdestefano no if u don’t adding limit in mailerlite api it will show default number of groups.
@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
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.
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
Thanks for your help @altruistas I can confirm this worked for me too. Hopefully @arisoft can fix this in a future update. Thanks! Yan
@yanickco No problem. Any time, any question. Just write to me.
Hi there, Thank you for identifying the problem. The fix is available in v. 1.1.12.