Vote Picture

marco2306

New Member
How can I change the output numbers e.g. Increase ranking # 1?
I have created my own picture and would like to adapt the numbers to my font.
I have already played settings_buttons.php with the settings, unfortunately the settings only go up to 7.
Anything beyond that is not accepted.

Unbenannt.png
 

Mark

Administrator
Staff member
For that I believe you need to install a True type font and edit your Settings_buttons.php to use the font.
It’s been a few years since I’ve used this, but this should get you going:
 

marco2306

New Member
I think it turned out well for a beginner.

Unbenannt.png

Code:
imagestring($img, 7, 79 - ((strlen($TMPL['rank']) - 1) * 4), 50, $TMPL['rank']
Is $TMPL ['rank'] enough or is there an error at some point?
 

Basti

Administrator
Staff member
Error, no, but be advised that the rank is a cached number, which is 30 minutes if memory serves.
 
Top