: Annual Stars
: Displays a graphic (a star is included with the MOD) for each year of membership.
: Please use Release Topic here
: None, see screen shots to be provided shortly
Per a suggestion from a post later in this topic, included the template path + user selected style in the image path location. So instead of having a single graphic stored in images/star.gif you can now have templates/subSilver/images/star.gif and templates/subRed/images.star.gif and so on. Note that the image name should be the same in all templates used on your board, only the location is different.
My graphics skills are minimal.
I did a color shift on my original star graphic (and also reduced the color depth, cutting the file size from near 1K down to ~ 200 bytes) and provided 3 additional colors. If anyone wants to submit annual "reward" images (they do not have to be stars, obviously) I will happily host them, subject to my approval. I don't intend to host "inapproprate" images, you will have to host those yourself. I have the final call as to what is considered "inappropriate" for hosting on my site.
Original MOD Description follows
This MOD allows the board admin to provide a link to a small image or icon of some sort. This icon will be displayed under the username in their profile, on the member listing, and on the viewtopic display once the user has reached a year of membership. There icon will be repeated for each year of membership.
The calculation process is not very sophisticated, it simply looks for 365 day intervals since the use has joined. As a result it will not handle leap years. We did not think that it needed to be that precise.
A simple star graphic is included with the MOD. You can use it or you can switch it out for another graphic of your choice. The path to the image is set in the admin control panel (ACP) so you do not need to edit any code in order to switch the image.
You can consider each of the non-admin install sections optional. If you want to display the annual stars only on the profile then skip the sections dealing with viewtopic (both the php and the tpl files). You may also opt to skip the memberlist changes. Note that if you install via EasyMOD or some other automatic installer you will have to edit the template file prior to using it if you do not want to install all three parts.