Loading...
 
Features / Usability

Features / Usability


User Ranking Stars

posts: 101
Hi folks. I've been trying to override the user-ranking stars with my own images... which are of different dimensions than the stars. If I simply replace the original star gif's with mine, the result is that my replacements are all squished due to the html generated. I'd like to know where I can find the code that decides what star gif to use so that I can properly set the dimensions for the images I'm using. Does anyone know where I can find them? I've tried searching for "star_grey.gif", "star_grey", "star_", etc. - but have turned up very little... ideas????
posts: 101
No ideas on this???

posts: 4656 Japan

So far no luck for me on this one. I also did the searches and checked the template files, but specifying the stars seems to happen before the info gets to the template. I'll ask around.

-- Gary

posts: 3665 United States

> So far no luck for me on this one. I also did the searches and checked the template files, but specifying the stars seems to happen before the info gets to the template. I'll ask around.
>
> — Gary

It is is tikilib.php. Look for the function get_star function. The star sizes are hard-coded to 11x11 pixels. You'll need to change this size to match your custom images.

HTH,

-Rick