Quote:
Originally Posted by Sarcoth
Alright, I got this working. Here is how to set it up.
|
I'm still poking at the layout and settings on my test forum (specifically where in the user settings to let these custom fields show up, I also have a computer specs mod and I want to visually separate these fields), but images work exactly as advertised, thanks
I've also swapped the column titles for icons. Edit the showroster_header template, find:
Code:
<vb:if condition="$show[field1st]"><th class="showroster_columnhead">{vb:var columns.title1}</th></vb:if>
<vb:if condition="$show[field2nd]"><th class="showroster_columnhead">{vb:var columns.title2}</th></vb:if>
(etc)
Replace with:
Code:
<vb:if condition="$show[field1st]"><th class="showroster_columnhead"><img src="images/misc/showroster/{vb:var columns.title1}.png" ALT="{vb:var columns.title1}"></th></vb:if>
<vb:if condition="$show[field2nd]"><th class="showroster_columnhead"><img src="images/misc/showroster/{vb:var columns.title2}.png" ALT="{vb:var columns.title2}"></th></vb:if>
As for column titles, the filesystem restrictions apply (no : " etc, also no '), example below. Images are placeholders, hence a couple missing.