Yes.@xfrocks Does it work with XF 1.5?
What do you mean "reset all"? Like delete all awarded medals?I would like to add a reset all button to the front end of this addon. Can someone give some code examples for this? thanks .
Yes.What do you mean "reset all"? Like delete all awarded medals?
$awardedMedals = XenForo_Application::getDb()->fetchAll('SELECT * FROM xf_bdmedal_awarded');
foreach ($awardedMedals as $awardedMedal) {
$dw = XenForo_DataWriter::create('bdMedal_DataWriter_Awarded');
$dw->setExistingData($awardedMedal, true);
$dw->delete();
}
How do you go about deleting/removing a medal a user has been awarded?
Mostly small changes to the way it works, no new features except svg medal support.
Sorry, you can't do that yet.Hi, thanks for this addon.
Is anyway, how can i update reason without edit database?
You can use EXTRA.css and target the class ".medals" to add some margin to your liking.Any idea how to create more space between the medals and the "likes received" field
Sounds like a Javascript issue, can you open the browser console and check for error there?on the user profile, the awards do not appear. It just says "loading" and does not list the awards. I've tried in on other devices the problem is the same.
You can use EXTRA.css and target the class ".medals" to add some margin to your liking.
Sounds like a Javascript issue, can you open the browser console and check for error there?
Can you give me a profile url on your site that is having this issue? I need to take a look.Thank you so much, I changed it in the extra.css and it worked perfectly.
I've tried on other browsers as well as other computers (other users) all had the same problem.
Can you give me a profile url on your site that is having this issue? I need to take a look.
This will be possible in next version.
We use essential cookies to make this site work, and optional cookies to enhance your experience.