MyBB Community Forums
user stars? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: user stars? (/thread-168918.html)



user stars? - marcus123 - 2015-03-26

How can I show 5 blank stars for each user and then replace blank ones with the amount of start user has?

some like this:


RE: user stars? - Ikerepc - 2015-03-26

They are not blank images.
That is one image.
Different for every each rank.

Like this:
[Image: star-ranks.jpg]


RE: user stars? - marcus123 - 2015-03-29

Thanks buddy but MYBB uses:

<img border="0" alt="*" src="images/star.png">
for each star image how can I use your images?


RE: user stars? - Destroy666 - 2015-03-29

Choose a whole row image in group option and display it only 1 time (just don't repeat it..). No other way to do it.


RE: user stars? - Ikerepc - 2015-03-29

(2015-03-29, 05:20 PM)Destroy666 Wrote: Choose a whole row image in group option and display it only 1 time (just don't repeat it..). No other way to do it.
Right that.


RE: user stars? - marcus123 - 2015-03-30

I don't think it will work since it will duplicate the image for each star user has!

I need somehow to show a correct amount of stars the image has?

How to hook to a function that generates stars!


RE: user stars? - Destroy666 - 2015-03-30

(2015-03-30, 06:32 PM)marcus123 Wrote: I don't think it will work since it will duplicate the image for each star user has!

That's why you should repeat it only 1 time (set Number of Stars to 1 for each image) as said above.. You can't hook to any function that generates stars because it doesn't even exist. There are only basic for loops spread around the whole MyBB.


RE: user stars? - pavemen - 2015-03-30

sorry, I had to

[Image: XhTV8gV.gif]


RE: user stars? - marcus123 - 2015-04-03

Finally got it working looks great thanks a lot!