Conflict with MailPoet Plugin

This topic contains 18 replies, has 6 voices, and was last updated by  Paolo 9 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #4636

    Tom
    Buyer
    Post count: 123

    Dear GeoDirectory-Team,

    I’ve found that the GeoDirectory Core Plugin causes a conflict with the MailPoet Newsletter plugin.

    As soon as I have the GeoDirectory Core Plugin switched on, the sidebar with the taps in the MailPoet Editor disappears and the editor cannot be used.

    Of course, this might be a problem from MailPoet, but since they give some hints how this problem might be caused by other plugins (http://support.mailpoet.com/knowledgebase/newsletter-editor-problems/ : “Most of these issues are related to a plugin’s javascript being loaded in every page. They should only be on the pages where they are needed.“) I was hoping that you could have a look. Maybe you can see what causes this conflict?

    Thanks a lot for your help,
    kind regards,
    Tom

    #4637

    Tom
    Buyer
    Post count: 123
    This reply has been marked as private.
    #4640

    Guust
    Moderator
    Post count: 29970

    Hi Tom, on which page should we have a look?

    #4821

    Paolo
    Site Admin
    Post count: 31206

    can you plese send us credentials too so that we can avtivate and see the error in action?

    Thx

    #4865

    Tom
    Buyer
    Post count: 123
    This reply has been marked as private.
    #4869

    Paolo
    Site Admin
    Post count: 31206

    Cheers Tom,

    I’m flaggin this for VIkas to fix the backend JS compatibility issue.

    Thank you

    #4870

    Tom
    Buyer
    Post count: 123

    Cool, thanks you so much.
    Cheers,
    Tom

    #5209

    Tom
    Buyer
    Post count: 123

    Hey Vikas,
    I also got an answer from the MailPoet Team, maybe that helps:

    Probably that plugin is inserting JavaScript files in all WordPress’pages, including the MailPoet page. It can break some JS functions.

    The plugin developer have to create a conditional to only include those files where they are really necessary.

    Thanks & Cheers,
    Tom

    #5214

    Vikas
    Full Member
    Post count: 1128

    Hi,

    Will u plz help me to find which js is conflicting?

    #5215

    Tom
    Buyer
    Post count: 123

    I’d love to – what can I do to find that out?

    #5221

    Tom
    Buyer
    Post count: 123
    This reply has been marked as private.
    #10033

    Tom
    Buyer
    Post count: 123

    Hey Vikas,
    any news on this error?
    I’m still having the problems, also on another site, again it seems to be caused by GeoDirectory.
    Did the information I sent above help?
    Thanks,
    Tom

    #10918

    Fabien Roch
    Free User
    Post count: 2

    Hi all,

    I have also to abandon Geodirectory due to conflict with MailPoet, which is really frustrating.
    The conflict appears in the “edit template” section of MailPoet:
    TypeError: element.dispatchEvent is not a function – prototype.js

    I see indeed that many Geodirectory JS are loaded on this page:

    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,underscore&ver=3.9.1′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/chosen.jquery.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/ajax-chosen.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’//maps.google.com/maps/api/js?sensor=false&language=fr’></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/goMap.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/jRating.jquery.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/on_document_load.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/geodirectory-plupload.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/geodirectory/geodirectory-assets/js/admin.js?ver=1.1.8′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-global.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-wysija-global.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-wysija.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/prototype/prototype.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/prototype/scriptaculous.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/prototype/dragdrop.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/prototype/controls.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/timer.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/wysija-editor.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/konami.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/tinymce/tiny_mce.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/tinymce_init.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/excolor/jquery.modcoder.excolor.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-ajax-proto.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-ajax.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/thickbox/thickbox.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-campaigns-editDetails.js?ver=2.6.9′></script>
    <script type=’text/javascript’ src=’http://www.foyerperwez.be/site/wp-content/plugins/wysija-newsletters/js/admin-campaigns-editTemplate.js?ver=2.6.9′></script>

    Do you see any possible way to avoid this ?
    Thanks
    Fabien

    #11000

    Vikas
    Full Member
    Post count: 1128

    Hi,

    I have fixed this issue, Plz find attached zip , extract it and upload
    admin_hooks_actions.php in
    wp-contentpluginsgeodirectorygeodirectory-admin using ftp.

    Let me know ur comments.

    Thanks

    #11027

    Fabien Roch
    Free User
    Post count: 2

    Hi Vikas,

    Thanks a lot, I can confirm you that both plugins are now working without any conflict. It’s magic 🙂

    Thanks again for your devotion

    Fabien

Viewing 15 posts - 1 through 15 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount