Yes.@xfrocks Does it work with XF 1.5?
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.
Looks like you didn't upload the file js/bdMedal/frontend.js?Here.
You can see that under the awarded medals tab, nothing loads. Even in the sidebar (It says I have two medal) but does not display them.
Also, is there a way to center awards when they are only one on display? Right now if there is only one award it is positioned on the left. Is there a way to make it positioned in the middle?
Looks like this is still not possible, sorryHello, it is now possible? For my forum would be very helpful. Or just guide you in your code where I change?
Thx very much.
We use essential cookies to make this site work, and optional cookies to enhance your experience.