• Resolved jordi

    (@jordif2)


    Hello, after testing a lot I’ve seen that the there’s a collision when your plugin is activated alongside Gamipress plugin.
    It produces a console error that don’t let gamipress admin dashboard work properly on rewards and ranks. Their support team says I have to contact you.The moment I desactivate your plugin all works.

    Could you please check it? I will like to keep using your plugin.

    Thanks

    • This topic was modified 4 years ago by jordi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @jordif2

    I installed Gamipress but couldn’t locate anything obvious, could you please share some more exact replication steps? ??

    Thank you,
    Dimitris

    Thread Starter jordi

    (@jordif2)

    Hello, yes, you just need to create an achievement type, and then when you edit this award, if you chose that needs to be awarded after completing different steps, the dropdown of choosing those steps doesn’t work.

    If you check the console in google chrome you can see different errors then.
    The same is if you chose to create a rank and you want to obtain it after completing some things.

    Thanks for your support.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jordif2

    Thank you for response but I’m afraid I still can’t replicate this.

    Here’s what I did to test it:

    1. I installed Gamipress on a default WordPress setup with nothing but Twenty Twenty-One theme; I kept Hustle disabled on the site too.

    2. I created an achievement type via “Gamipress -> Achievement Types -> Add new”

    3. Then I went to “Acheivements -> MyAchievement” and added new one there; I set “earned by” option to “Completing steps” but I did not yet add any steps; I just published it.

    4. Then I went back to plugins and enabled Hustle (with some sitewide-visible popup enabled there)

    5. And I went back to editing MyAchievemnt
    – added some steps there
    – updated it
    – went out of editor
    – got back to it
    – edited the steps
    – updated

    I didn’t experience any issues and no errors at all. I suppose that either I’m missing some specific step or aspect of configuration of any of these two plugins (Gamipress and/or Hustle) or there’s something more involved in this conflict.

    You mentioned that you can see all sorts of errors in Chrome console. Could you take a screenshot of these errors and share it with us here, please?

    Best regards,
    Adam

    Thread Starter jordi

    (@jordif2)

    Hello, your steps seems right but I tried a lot and with the latest updates gamipress released these last days and still having the issue when hustle is activated.Wordpress on the latest version too.

    Looking the errors it seems like a collision on the $selector2 on jquery or some order on the loading of the javascript:
    I don’t see the option to attach image, here I paste the errors:

    gamipress-select2.min.js?ver=1.9.11:370 Uncaught TypeError: Cannot set property 'amd' of undefined
        at gamipress-select2.min.js?ver=1.9.11:370
        at gamipress-select2.min.js?ver=1.9.11:3
        at gamipress-select2.min.js?ver=1.9.11:3
    
    ---
    
    gamipress-admin-functions.min.js?ver=1.9.11:2 Uncaught TypeError: $this.gamipress_select2 is not a function
        at gamipress_selector (gamipress-admin-functions.min.js?ver=1.9.11:2)
        at HTMLSelectElement.<anonymous> (gamipress-admin.min.js?ver=1.9.11:1)
        at Function.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.each (jquery.min.js?ver=3.5.1:2)
        at gamipress-admin.min.js?ver=1.9.11:1
        at gamipress-admin.min.js?ver=1.9.11:15
    
    --
    gamipress-requirements-ui.min.js?ver=1.9.11:4 Uncaught TypeError: $(...).gamipress_select2 is not a function
        at HTMLSelectElement.<anonymous> (gamipress-requirements-ui.min.js?ver=1.9.11:4)
        at HTMLUListElement.dispatch (jquery.min.js?ver=3.5.1:2)
        at HTMLUListElement.v.handle (jquery.min.js?ver=3.5.1:2)
        at Object.trigger (jquery.min.js?ver=3.5.1:2)
        at HTMLSelectElement.<anonymous> (jquery.min.js?ver=3.5.1:2)
        at Function.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.trigger (jquery.min.js?ver=3.5.1:2)
        at gamipress-requirements-ui.min.js?ver=1.9.11:12
        at gamipress-requirements-ui.min.js?ver=1.9.11:14
    
    ---
    gamipress-shortcodes-editor.min.js?ver=1.9.11:17 Uncaught TypeError: $(...).gamipress_select2 is not a function
        at gamipress-shortcodes-editor.min.js?ver=1.9.11:17
        at gamipress-shortcodes-editor.min.js?ver=1.9.11:21

    thanks

    Thread Starter jordi

    (@jordif2)

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @jordif2

    Thank you for the update.

    I was able to replicate some part of the issue while using Hustle.

    Similar to @wpmudev-support8 steps:

    1. I installed Gamipress on a default WordPress setup with nothing but Twenty Twenty-One theme;

    But Hustle Enabled

    2. I created an achievement type via “Gamipress -> Achievement Types -> Add new”

    3. Then I went to “Acheivements -> MyAchievement” and added new one there; I set “earned by” option to “Completing steps” but I did not yet add any steps; I just published it.

    4. Did the same for Rank and other features.

    5. Created a PopUp and when tried to insert the GamiPress shortcode on Hustle content the Admin returned the error: https://monosnap.com/file/wKqupHXF7mPzluTVwS7RdONRo1s2qF

    You can send those steps to the GamiPress support to verify why the scripts are not loading on Hustle Pages.

    However, on regular Gamipress, we still unable to replicate the issue.

    Is there any specific browser and OS you are using or step that you are taking?

    Best Regards
    Patrick Freitas

    Thread Starter jordi

    (@jordif2)

    Hello, thanks, I will pass to them. I’m using Chrome and macOS. I have 3 pop ups on hustle and different ranks and achievements.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with gamipress’ is closed to new replies.