XF 1.5 trophies list problem

yazer

Active member
Good afternoon everyone, i have try to change the trophies and have messed it all up, try editing and using custom trophies images and ended up deleted the list of trophies screenshot below, anyone any ideas how i sort this please
 

Attachments

  • screenshot.webp
    screenshot.webp
    53.4 KB · Views: 9
5a4f3240c2c241d9b1f2b1a71ed67bdd.png
This number?
 
The numbers that you see there aren't actually icons. You don't need to upload anything :p

Try replacing you Trophy template with:

Code:
<xen:require css="trophy.css" />

<div class="trophy" id="trophy-{$trophy.trophy_id}">
    <div class="points">{$trophy.trophy_points}</div>
    <xen:if is="{$trophy.award_date}">
        <div class="awarded">{xen:phrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
    </xen:if>
    <div class="info">
        <h3 class="title">{$trophy.title}</h3>
        <p class="description">{xen:raw $trophy.description}</p>
    </div>
</div>
 
How:
  1. Find/create icons that fit your trophies
  2. Rename them: "trophy_1.png" for the trophy with ID=1, "trophy_2.png" for ID=2, etc.
  3. Upload them to your server
  4. Open trophy template
  5. Replace entire code with:
Code:
<xen:require css="trophy.css" />

<div class="trophy" id="trophy-{$trophy.trophy_id}">
<div class="points"><img title="{$trophy.title}" alt="{$trophy.title}" src="[PATH TO YOUR TROPHY ICON DIRECTORY]/trophy_{$trophy.trophy_id}.png"></div>
<xen:if is="{$trophy.award_date}">
<div class="awarded">{xen:phrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
</xen:if>
<div class="info">
<h3 class="title">{$trophy.title}</h3>
<p class="description">{xen:phrase points}: {$trophy.trophy_points}</p>
<p class="description">{xen:raw $trophy.description}</p>
</div>
</div>

This i try lol couldnt get it working
 
How:
  1. Find/create icons that fit your trophies
  2. Rename them: "trophy_1.png" for the trophy with ID=1, "trophy_2.png" for ID=2, etc.
  3. Upload them to your server
  4. Open trophy template
  5. Replace entire code with:
Code:
<xen:require css="trophy.css" />

<div class="trophy" id="trophy-{$trophy.trophy_id}">
<div class="points"><img title="{$trophy.title}" alt="{$trophy.title}" src="[PATH TO YOUR TROPHY ICON DIRECTORY]/trophy_{$trophy.trophy_id}.png"></div>
<xen:if is="{$trophy.award_date}">
<div class="awarded">{xen:phrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
</xen:if>
<div class="info">
<h3 class="title">{$trophy.title}</h3>
<p class="description">{xen:phrase points}: {$trophy.trophy_points}</p>
<p class="description">{xen:raw $trophy.description}</p>
</div>
</div>

This i try lol couldnt get it working
I'll try it on my end then let you know :)
 
Back
Top Bottom