Support » Plugin: GamiPress » Issue with Advanced custom fields plugin

  • Resolved tskpbls

    (@tskpbls)


    Hi there,

    Well, i’ve been trying to make my own specific translation of your plugin to french, using the well known loco translate plugin.

    Instead of loading the fields from the gamipress.pot file, loco translate loads strings from the cmb2 library. i suspect this library is shared with advanced custom fields and that the issue comes from an incompatibility between ACF and Gamipress.

    I also have other issues such as advanced custom fields fields messed up when gamipress activated… For instance, any existing field group saved after a minor modification would create a random number of blank fields in ACF.

    Can you assist me with this issue please?

    I”d be glad to provide further details & screenshots if needed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,

    Another thing to consider that I have not noticed at first sight….
    The issue occurs when I am the WPMU staging environment, not on the live one…

    Hence I’d rather ask the WPMUDEV staff and mark this thread as resolved. Sorry !

    Plugin Author rubengc

    (@rubengc)

    Hi @tskpbls

    Thank you so much for let us know your discovery about this issue

    Many times staging sites has some special rules applied to WordPress that sometimes could affect to the plugins workflow

    Anyway, with WPMUDEV at support, you shouldn’t worry about anything, they will find the solution of this issue

    Best regards

    Hola Ruben,

    I reopen this issue about the ACF fields disappearing under the WPMU staging environment when gamipress is activated.

    Here’s what the guys at WPMU dev replied :

    “As soon as I deactivated Gamipress, the fields started showing up correctly.

    I also tried to replicate the issue with the same setup on my own test site – both on production and on staging and wasn’t able to do so, it shows up correctly for me in all cases, no fields go missing.

    In this case, especially since Gamipress seems to be causing some issue here and disabling it makes it disappear, we’d suggest it would be best and quickest to contact the support at Gamipress to check in much more detail what is causing the issue. It certainly be much quicker to get this issue solved from their end as they know the plugin in detail and may be able to more quickly tell what caused it.”

    Another point : the guys at loco-translate also provided a fix for an early loading issue that prevented the translation of your plugin from their tool.

    The very good comments and rating for gamipress is well deserved I think, it’s easy to set up, and well documented.

    However, from my experience, it looks like it’s quite conflictual with essential plugins :

    Locotranslate : 5 stars, more than 1 million active installs.
    Advanced custom fields : 5 stars, more than 1 million active installs.

    I’d be glad to help with the french translation on translate.wordpress.org, but locotranslate, is, for instance, the easiest way to have our own translation strings really matching the philosophy of our gamification… Ranks, for instance can be translated “Grades” or “Rangs” or “Niveaux”…

    Well, Quite a long post, sorry,

    I hope we’ll hear from you, I am sure i am not the only one relying on your plugin and being frustrated by minor issues.

    Que tenga un buen dia / Have a nice day 😉

    • This reply was modified 2 weeks, 5 days ago by tskpbls.
    Plugin Author rubengc

    (@rubengc)

    Hi @tskpbls

    I just tested the next setup:
    1) Clean install with GamiPress and ACF
    2) A group of fields with different field types
    3) Create a post using this field types
    4) Display the custom values at frontend

    And everything is working correctly on ACF

    Also, I tried group of fields on GamiPress types (like custom achievement types and rank types) and custom fields here has been working too

    So there is the possibility that there is a 3rd plugin entering in conflict with ACF when GamiPress is active

    Have you tried your setup with only GamiPress and ACF (deactivating the rest of plugins) on your site?

    Best regards

    Hi Ruben,

    So sorry for the late reply, I’ve had a hard time repairing my archlinux os.

    I am not suprised that everything works just fine on a live environment. Still, there’s an issue when i am under staging environment of WPMU, with the standard WP 2020 theme, and only gamipress and ACF fields activated. (so, yes, I have tried with the basics)

    Issue under staging only :

    To be more precise, everything seems to be be working just fine in ACF with a very fresh gamipress install, but as soon I create a rank, or, well any data posted in gamipress, then ACF creates blank fields, or exisiting fields are marked with type : “unknown”.

    Again, all of this is under WPMU staging environment, and ACF looks ok on live environment, so the issue seems to be between the staging environment and gamipress, but not with any other plugin…

    I’ll be online all the time from now on. Sorry again for the late reply.

    Fyi, here’s the last full post from WPMU Staff… I am not sure they tried to create any achievement or rank… With a bare plugin after install, no issue for me either…

    Hello

    Hope you’re having a great day!

    I was able to track down the issue down to a conflict caused by Gamipress in this case. I tested on staging by deactivating almost all plugins and switching the theme to TwentyTwenty to make sure there’s no external interference.

    I left the following plugins active:
    – Advanced Custom Fields
    – BuddyPress
    – Tableau de bord WPMU DEV
    – GamiPress
    – GamiPress – BuddyPress integration

    With those plugins active, I was able to still see the issue in the ACF edit screen, so I started deactivating plugins one by one, first “GamiPress – BuddyPress integration” and then “Gamipress” itself.

    As soon as I deactivated Gamipress, the fields started showing up correctly.

    I also tried to replicate the issue with the same setup on my own test site – both on production and on staging and wasn’t able to do so, it shows up correctly for me in all cases, no fields go missing.

    In this case, especially since Gamipress seems to be causing some issue here and disabling it makes it disappear, we’d suggest it would be best and quickest to contact the support at Gamipress to check in much more detail what is causing the issue. It certainly be much quicker to get this issue solved from their end as they know the plugin in detail and may be able to more quickly tell what caused it.

    As for our system of points, we use a custom solution we developed for ourselves :slight_smile:

    Kind regards,
    Pawel

    Plugin Author rubengc

    (@rubengc)

    Hi @tskpbls

    Then the issue comes from something specific of the WPMUDEV staging site

    If on the live site you don’t experience this issue then it just confirms again that there is something from the WPMUDEV staging feature

    The unique that could help here to debug this issue is to meet if when you are getting those issues there are any errors stored in your WordPress and server logs

    You could try to install the “Query Monitor” plugin to see if it reports any internal error to meet from where the issue is coming

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.