PDA

View Full Version : Post Count Represented By Graphics


Lazarous
03-05-2006, 10:00 PM
For my board, I wanted to change the way that post counts were displayed on the forum and represent them by graphics.

Thanks to Andy who pointed me in the right direction in the Modification area.

Obviously post counts can be changed in the code shown as well as graphics. a very straight forward hack.

Lazarous
03-06-2006, 07:41 AM
<i>Reserved...</i> :banana:

DJ XtAzY
03-06-2006, 12:43 PM
ooo i like this idea.... i think its better than showing postcounts itself

The Chief
03-06-2006, 01:26 PM
yeah, I love this idea also :)

Aesma Deva
03-06-2006, 02:36 PM
Nice idea, you could use this too:

<div id="postcount"></div>
<script type="text/javascript">
var posts;
for (posts=0;posts<$post[posts];posts+=100)
{
document.getElementById("postcount").innerHTML=document.getElementById("postcount").innerHTML + "<img src='image.gif' />";
}
</script>

This way you wouldn't need the conditionals, members with more than 800 posts wouldn't stay in level 5 and you'd only need 1 image.

Tefra
03-06-2006, 03:25 PM
ok i feel stupid now can someone explains me the difference between the
User Rank Manager and this ? You can easily do the same thing without code hacks

AKapadia
03-06-2006, 03:33 PM
nice one :)

Aesma Deva
03-06-2006, 04:00 PM
ok i feel stupid now can someone explains me the difference between the
User Rank Manager and this ? You can easily do the same thing without code hacks
Someone has a point there -___-
The differences are, this displays the images except for the post count, in a difference position than the ranking system (unless if you edit it) and this isn't a ranking, so you're still free to give a member another ranking.

iturazvan
03-13-2006, 11:51 AM
Great hack, i'll use it, thanks ! :)