• Resolved emiliengerbois

    (@emiliengerbois)


    Hi Michael,
    I hope you’re fine,
    I write to you because I just found a problem with required steps…

    I have 2 achievement types : Activities and Badges

    Badges should be earned exclusively by unlocking Activities, so for Badges I use only one trigger : “required steps” with “specific achievements of type”
    Each steps is an activity that must be earned 1 time and Badges should be auto earned when the user would unlock all required activities but it doesn’t work.

    When I look into the user’s profile from the admin backend, I see that if I want to award him achievements, I can choose between Badges, Activities… and Steps. They are separated “achievement types”. So as I see it regarding my problem, my user, winning and unlocking every single needed Activity for unlocking a Badge, doesn’t seem to unlock the related steps… so the Badge isn’t earned.

    And even if I admin give him the Activities he needs to earn that Badge, the Badge keeps locked… I should award him Steps or Badges for it to work but I absolutely must automate this, that’s why I use that trigger.

    Have you ever heard of this bug? do you know what to do?

    Thank you so much in advance for your help, have a nice day,

    Emilien

    https://www.ads-software.com/plugins/badgeos/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter emiliengerbois

    (@emiliengerbois)

    Hi Michael,

    I worked a bit more on that problem and I found out it comes from WPML … when WPML is activated, let’s say you have 5 “badges” which are joined into a unique “quest”, each “badge” is awarded well but only as a badge and not as a step in that “quest” … this seems to be a conflict with WPML so do you know how we could solve it? Are there any works pending about WPML compatibility?

    Thanks in advance and have a nice day Michael,

    Emilien

    Thread Starter emiliengerbois

    (@emiliengerbois)

    Hi Michael,
    I still can’t reach you or your team and hope there’s no problem for you, it’s quite surprising that BOS seems not to be supported anymore whereas you always gave such a great help.

    Regarding my current specific problem, I could resolve this but I think it would be so great for BadgeOS to be fully WPML compatible overall about steps management.

    Can you tell if WPML full compatibility is expectable for a next update?

    Thank you in advance and have a nice day,

    Emilien

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sorry about the delay and absence. Things beyond my control.

    I find it extremely odd that WPML would present a conflict like this. I am not aware of any specific issues between the two, nor can I think of any reason why there would be.

    Can’t say I can promise any sort of “guaranteed compatibility” because of the fact that I don’t think there should be the conflicts.

    Not sure how easily I’ll be able to tinker/test this one either, as I am not a WPML plugin owner.

    Can you go into more detail regarding the conflict you found? The main thing I know based on previous replies, is this:

    -5 “badges” of the badges achievement type.
    -Earning all 5 should award a unique “quest” of the quest achievement type.
    -the 5 “badges” aren’t being counted towards the steps associated for the “quest”.

    Am I accurate so far?

    Preliminary questions. Are you potentially accidentally translating the slugs at all for the achievements in the achievement type? If it really comes down to it, which I hope it doesn’t, would you allow me into the website so that I can see things from that side of things?

    Thread Starter emiliengerbois

    (@emiliengerbois)

    Hey Michael and once again, I hope you are fine, welcome back and thank you!

    regarding that specific topic, I could go a bit further and here’s where I am. For the purpose of explaining the issue I try to simplify some things (number of levels, etc.):

    > I “level 1” badges which I can translate through WPML with no problem
    >> those “level 1” are earned by various processes (referring links, nominations, admin award, activity codes – no completing steps)

    > I have “level 2” badges and I can translate them also, the most important thing here is to translate every custom post types or none of them because WPML couldn’t find its way otherwise.
    >> those “level 2” are only earned completing steps, each step is a “level 1” badge to earn. Let’s say there are 3 “level 1” badges to build a single “level 2”.

    Now, I have 2 languages. Here is what I can see:
    – if I earn all “level 1” badges in a “level 2”, remaining with a same language, it all works.

    BUT

    – if I earn each “level 1” badge needed in a different language, “level 2” isn’t earned. You need to unlock every “level 1” of all available languages to earn a “level 2” in those different languages. So if you need to earn a “level 2” (completing 3 steps) in 2 languages, you have to earn 6 “level 1” badges: {3 “level 1”} x {2 languages}.

    – in fact, when I earn a badge in a language, it’s not automatically earned in every other languages available.

    – I guess that the translation process creates badges linked together but they all have a different ID. Am I wrong?

    – it’s a problem for me because I want to offer the possibility to switch between languages in a same “level 2” badge

    – it’s also a problem because of fraud risks: as points are earned for each badge completion, currently a user could earn those points as many times as there are languages: so 2 times in my example.

    That’s why I got to a solution where I don’t WPML translate BadgeOS CPTs. I create my badges, “level 1” and “level 2”, it works just like it would with a single language, and I build a UI (using tabs or accordions for example) to offer my users the possibility to switch between languages.

    Do you get what I mean? I’m sorry I have some difficulties explaining this :).
    It is not a simple compatibility problem, but a problem related to the way translations and steps are handled I guess. So I wonder if there’s a real other solution than my homemade one…

    Thanks again and have a great day,

    Emilien

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I have to think this is very much related to my reply at https://www.ads-software.com/support/topic/badge-os-end-user-chosing-interface-language?replies=4#post-6272955

    “- I guess that the translation process creates badges linked together but they all have a different ID. Am I wrong? “
    I’m pretty confident this is part of it. The connections are broken because of how WPML handles its translating.

    Any homemade solution at this point is going to be a step in the right direction and do more than what we have available right now. We just weren’t built to account for WPML in the way they’re doing things for multi-lingual sites.

    Thread Starter emiliengerbois

    (@emiliengerbois)

    Ok I didn’t see your other answer but that’s what I thought. We even discussed this on Facebook with sirjuliantaylor as he contacted me for having the same problem as he did.

    Thank you again for your help,

    Emilien

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Wish I could be more of an out-of-box help with the topic too ??

    Thread Starter emiliengerbois

    (@emiliengerbois)

    You’re great help!

    Well in my case modifying the badge display using CSS and a page builder is a good solution: I still make the choice to switch language available, it’s pretty nice on the UI side, it does the job without disturbing the BadgeOS system. The only problem could be the page load.

    As my badges are located, I make the language of the badge’s place visible in first position. Then, to let users choose their language, I can use tabs, accordions, or even infinite scroll and I copy paste my content before I translate… can be pretty heavy though, as I multiply my content by the number of available languages….

    Thxs again Michael, have a great day,
    Emilien

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Thankfully text is pretty light overall, compared to things like images/audio/video.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘steps don't work’ is closed to new replies.