News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Post count rank stars in two rows?

Started by Si6776, October 21, 2008, 12:34:35 PM

Previous topic - Next topic

Si6776

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.

Si6776


greyknight17

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.

Si6776

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. 

:)

Advertisement: