Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Si6776 on October 21, 2008, 12:34:35 PM

Title: Post count rank stars in two rows?
Post by: Si6776 on October 21, 2008, 12:34:35 PM
Hi, I'm running SMF 1.1.6, and I want to have the small post count (rank) stars on two rows, so as to introduce more ranks.  Currently, if I use more than 11 stars, the 12th 'bumps' down to a second row.  What I want to do is have it so that a new row starts after, say, 7 stars, rather than 11.  Is this possible, and if so, could someone kindly provide some code, or a mod to the existing code, with which to achieve this?

Many thanks in advance,

Simon.
Title: Re: Post count rank stars in two rows?
Post by: Si6776 on October 22, 2008, 06:28:09 PM
Anyone?   :'(
Title: Re: Post count rank stars in two rows?
Post by: greyknight17 on October 26, 2008, 10:57:13 PM
You can do this if you shrink the width of that left user info panel. It might not look so well with members who have long usernames though. Open up /Themes/default/Display.template.php:

Code (Search for) Select
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">

Edit the width % there to a lower value and it will shrink it.
Title: Re: Post count rank stars in two rows?
Post by: Si6776 on October 27, 2008, 04:30:27 AM
Thanks, but I had a wave of inspiration last night, and have created a separate .gif image for each number of stars required, with the layout we want, so have used them, and that seems to have worked.  Bit of a bodge job, maybe, but at least it hasn't affected anything else. 

:)