HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Cannot Add Badge (YAGA)
orangesmasher221
New
Okay, so I hope this posts in the ask a question thing (if it doesn't can a mod move it?). But when I try to add a badge with Yaga on version 1.0 (1.0.3 doesn't support reactions on activity posts), it just goes to a blank page and doesn't add a badge. I absolutely love Yaga and need a bit of help. I use vanilla beta 2.2 if that makes a difference. Thanks!
Tagged:
0
Comments
Yaga 1.0.3 does not support Vanilla 2.2. Yaga 1.1 is targeting Vanilla 2.2 due to some "behind the scenes" changes.
I am still interested in seeing the debug output if you would be so kind as to turn on debug mode, add a badge, and then report the error that shows up.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
That's just the thing. Nothing shows up. I fixed this though by using version 1.0 in tandem with the badge files with the github version. (Basically anything with badge or badges in the name). It probably isn't a good fix but it seems to work! LOL
@hgtonight Just out of curiosity, are you aware of any way you can enable reactions on activity posts on version 1.0.3?
1.0.3 does support reactions on commentable activities.
It does not support reactions on activity comments though. The view doesn't throw a convenient event.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Do you think that I configured something wrong then?
As long as reactions are enabled, it should work:
https://github.com/hgtonight/Application-Yaga/blob/13e12d0e0c0bda2797cbc23a4c352c81c4d5ef5c/settings/class.hooks.php#L417-L442
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
That's what I have. Maybe I'm doing something wrong here. I commented lines 427-429 and it shows reactions on activity posts. It doesn't register and it cannot perform the command.
Does your Activity table have an AllowComments field?
You also can't react to your own content.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
In the mysql database. Correct? Because if so, I don't see one.
I actually do not see an AllowComments field in the Activity table. Should I add one?
Nah. You should be able to comment out that check to make it work for now.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
After resolving my locale issue, I've received the same one as OP.
The only thing I know, is that according to the Chrome Console, you get error 500 on the page.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Conditions same as OP: Vanilla 2.2b1, YAGA 1.0.3.
Anything new regarding the issue? Anything that could be done?
Side note: Adding badge manually via MySQL posed no problem.
15 minutes over, can't edit. I've done more digging around, and it seems the 500 error is only received when modifying the rule of a badge.
Additionally, when enabling auto award, the button looks like this:
@n0cte This looks like a weird interplay between Pockets and Yaga. Do you have the plugin Pockets enabled?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight About the latter issue, yes, I've got Pockets installed.
@n0cte Would you mind sharing your Pockets and Yaga db tables?
If there is sensitive information, feel free to PM me directly.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.