Hi all,
I was trying to figure out a way to style the user´s thumbnails according their membership level? Can someone explain to me how to accomplish that just playing with my the template files?
Best Regards,
Artur
Hi all, I was trying to figure out a way to style the user´s thumbnails according their membership level? Can someone explain to me how to accomplish that just playing with my the template files? Best Regards, Artur |
You are not going to do it solely with the template files; you are going to need to create some code; you need to poll the ID of the user then poll to see what their membership level is; then load the thumbnail you have created for that membership. However, Dolphin is set up to use either the avatar as the thumbnail or the photo thumbnail; Turn off the Avatar module, and then in admin set it to use photo thumbs. By default this is going to be the profile photo, you will need to override the function that is using the profile photo for the member's icon. You will find that it is a bit more involved and you need two different size thumbnails, a 32X32 and a 64X64 size. You can start with searching for a function getMemberThumb or something like that. Geeks, making the world a better place |