[bd] Medal

[bd] Medal 1.5.5b

No permission to download
Would it be possible to get cron support to automatic rebuilding of caches? I update the medals via direct SQL and it can take some time for the medals to appear.
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.
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.
 
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.
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.
 
Hello
I have set disposition to manual and add the following code in template message, but medal do not display above signature
any help ?

Code:
</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>
 
How and Where should I modify to only show medals on thread/post to members and hide for the guest?
Thanks!
 
How and Where should I modify to only show medals on thread/post to members and hide for the guest?
Thanks!
You can edit template "bdmedal_message_medals" and put everything between something like this

Code:
<xen:if is="{$visitor.user_id} > 0">
...
</xen:if>
 
  • Like
Reactions: rdn
You can edit template "bdmedal_message_medals" and put everything between something like this

Code:
<xen:if is="{$visitor.user_id} > 0">
...
</xen:if>
I don't know but both codes doesn't work :|
upload_2015-4-13_10-54-34.webp

It hides the medals for all the users.
 
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?
 

Attachments

  • medals.webp
    medals.webp
    4.7 KB · Views: 18
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?
I will need the page url to check for all applied CSS rules.

My eyes? Medal Addon Update? It's happenniiinnn!!!!
Haha, yeah. It is long overdue :oops:
 
  • Like
Reactions: rdn
Back
Top Bottom