Kazyyk
Member
I'd like to, but I don't know how to run it automatically. What's the trigger for cron?There is a rebuild tool in AdminCP > Tools > Rebuild Caches. Run it after your SQL.
I'd like to, but I don't know how to run it automatically. What's the trigger for cron?There is a rebuild tool in AdminCP > Tools > Rebuild Caches. Run it after your SQL.
Why do you need to run it automatically? You only execute your SQL once right? Just run the tool right after that.I'd like to, but I don't know how to run it automatically. What's the trigger for cron?
The SQL is part of a script I've written that runs once daily. (the SQL is dynamically generated) I need to be able to refresh the trophy cache right after so that it appears on people's profiles and underneath their avatar bit.Why do you need to run it automatically? You only execute your SQL once right? Just run the tool right after that.
Maybe if you wrote a script to run SQL, try using it to award the medal in PHP too? That way cache will be updated correctly.The SQL is part of a script I've written that runs once daily. (the SQL is dynamically generated) I need to be able to refresh the trophy cache right after so that it appears on people's profiles and underneath their avatar bit.
Hello, I've sent you the url and credentials some time ago. Have you sorted out something to make it work? Thanks!If you give me your urls, I will write some css to put in EXTRA.css.
</xen:hook>
<xen:include template="bdmedal_message_medals_manual" />
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
<div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
You can edit template "bdmedal_message_medals" and put everything between something like thisHow and Where should I modify to only show medals on thread/post to members and hide for the guest?
Thanks!
<xen:if is="{$visitor.user_id} > 0">
...
</xen:if>
I think, right code is:You can edit template "bdmedal_message_medals" and put everything between something like this
Code:<xen:if is="{$visitor.user_id} > 0"> ... </xen:if>
Your conditionals and mine are basically the same. It should work, make sure you refresh the cache etc. Also, which position are you using?I don't know but both codes doesn't work :|
View attachment 103623
It hides the medals for all the users.
- Added support for front end awarding
- Improved performance
- Bug fixes
Sorry I was testing with a development version. Please upgrade to v1.5.0 (just released), your existing template modification should work.
I will need the page url to check for all applied CSS rules.Hi xfrocks,
I had class="OverlayTrigger Tooltip medals" inside the bdmedal_message_medals and then added something like this below to my extra.css..
.medals {width:38px; height:38px; padding:6px 0px 10px 4px;}
However, since updating to the new version my medals now show like the image attached, any way to fix it please?
Haha, yeah. It is long overdueMy eyes? Medal Addon Update? It's happenniiinnn!!!!
So your CSS class conflicts with the add-on class. You should use another class for your rules. I suggest using "medal". It should work![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.