Posted: 28-07-2015, 07:41 AM
(This post was last modified: 28-07-2015, 07:41 AM by security.)
Quote: I absolutely love the concept of Xenforos trophies, but since my board does not have a title ladder, the trophy points hardly have any relevance there.
On the other hand, I really missed icons for the trophies - so I made some template changes.
How:
Find/create icons that fit your trophies
Rename them: "trophy_1.png" for the trophy with ID=1, "trophy_2.png" for ID=2, etc.
Upload them to your server
Open trophy template
Replace entire code with:
Code:
<xen:requirecss="trophy.css" />
<divclass="trophy"id="trophy-{$trophy.trophy_id}">
<divclass="points"><imgtitle="{$trophy.title}"alt="{$trophy.title}"src="[PATH TO YOUR TROPHY ICON DIRECTORY]/trophy_{$trophy.trophy_id}.png"></div>
<xen:ifis="{$trophy.award_date}">
<divclass="awarded">{xen:phraseawarded}: <xen:datetimetime="$trophy.award_date" /></div>
</xen:if>
<divclass="info">
<h3class="title">{$trophy.title}</h3>
<pclass="description">{xen:phrasepoints}: {$trophy.trophy_points}</p>
<pclass="description">{xen:raw$trophy.description}</p>
</div>
</div>