so i have a bagde that i want it to automate that when a person comments on my specific post they earn a badge now that is an automation but how do I get it to know which post they have to reply to
Hi, chess_master !!
To solve that problem, I think it’s important to clarify your question and break down the issue a bit more. Most problems aren’t that difficult once you break them down into smaller parts, and I believe your issue is probably the same, so don’t worry. I haven’t worked with the Wix badge assignment code in a while, so I’m not completely confident, but I understand that you want to implement something with the following code. Assigning a badge is easy as long as you know “who?” (the
memberId
). The problem is, you haven’t provided enough details about what your “post” is, what you’re using, and how you’re handling your “post.” To resolve this, I think you first need to clarify and provide more information on that. Once we have all the necessary details, someone in this community will surely help you! Of course, that could be me, but for now, let’s start by supplementing the abstract parts of your question with the necessary details. Let’s work together to solve the problem!
https://dev.wix.com/docs/velo/api-reference/wix-members-v2/badges/assign-badge
hey @onemoretime thanks for the reply so when you make a few badges using the quick action button then you can press automate badge then you have to select the diffrent things that should happen. one of the automations is person comments on post.
so i selcted that and then pressed assighn badge and selected which badge should be assighin and then the autmation is done but i want it so that there is a a speficif post they have to comment on for the badge to get assighned to them except when i make the automation there is no option to choose a specific post
I see, so you’re trying to accomplish everything using automation. If there isn’t an option to “award a badge for commenting on a specific post” in the automation settings, it may be challenging to complete this solely with automation. Although I haven’t tried it myself, it might be achievable with Velo. However, it could be difficult to address without knowing which feature on Wix includes the “post” and “comments” you’re referring to.
Perhaps this might make it possible. Just one possibility to consider.
https://dev.wix.com/docs/velo/api-reference/wix-comments-v2/events/on-comment-created
so not exaclty @onemoretime so i was part of this famous wix called the gimkit creative wix and they have a simmilar automation that i have where there is a specific post that if you commment carrot on it you get a badge called carrot but if you comment carrot on any other post you dont get that badge. this is what i want i have a post called chess.com lovers where when yo comment on the post you get the chess.com lovers bade **but ** when i make the automation i do not have the option to choose a specfic post you have to comment on to get that badge.
(p.s thanks for the reply)
Hmm, I see, I understand. Rather than awarding badges, it feels more like a “stamp rally,” doesn’t it? A “stamp rally” is probably Japanese English that doesn’t quite make sense abroad. In Japan, there are events at specific places, facilities, or temples where you can only get a particular stamp there, encouraging you to travel around and collect them. What you’re trying to do is something similar to that. For instance, if you wanted a “Lucario” stamp, you’d go to the Lucario post, comment “Lucario,” and receive the Lucario commemorative stamp. Is that the kind of thing you’re trying to create without any code? That functionality seems pretty unique, so it might be difficult to accomplish without coding it yourself.
it sound like what your tellingm me