apokphp
10-27-2007, 04:50 PM
How can I reorder rank images that display in the postbit?
If a member belongs to two or more usergroups that use different rank images, it is problematic aesthetically.
For example, as admin, I'd like an admin rank image. I am also a part of our community's Film Club, which also has a different rank image. However, the admin rank image should always be at the top. Instead, the Film Club rank image is dominant.
See attached image.
Please help. How can I reorder these rank images?
POSSIBLE SOLUTION
If rank images cannot be reordered...how can I display the Film Club icon in the postbit, based on the usergroup? Perhaps just put it elsewhere in the postbit like under the avatar (that would be ideal IMO). I know how to do this via the user fields, but I don't know how to do it using usergroups.
This is how I did it for the user fields:
<div align="left">
<if condition="$post[field6] != ''"><div>
<img src="images/relig/$post[field6].gif" title="$post[field6]" align="center">
</if>
<if condition="$post[field7] != ''">
<img src="images/gender/$post[field7].gif" title="$post[field7]" align="center">
</div></if><br>
As a result, it displays the member's religious affiliation icon as well as gender.
If a member belongs to two or more usergroups that use different rank images, it is problematic aesthetically.
For example, as admin, I'd like an admin rank image. I am also a part of our community's Film Club, which also has a different rank image. However, the admin rank image should always be at the top. Instead, the Film Club rank image is dominant.
See attached image.
Please help. How can I reorder these rank images?
POSSIBLE SOLUTION
If rank images cannot be reordered...how can I display the Film Club icon in the postbit, based on the usergroup? Perhaps just put it elsewhere in the postbit like under the avatar (that would be ideal IMO). I know how to do this via the user fields, but I don't know how to do it using usergroups.
This is how I did it for the user fields:
<div align="left">
<if condition="$post[field6] != ''"><div>
<img src="images/relig/$post[field6].gif" title="$post[field6]" align="center">
</if>
<if condition="$post[field7] != ''">
<img src="images/gender/$post[field7].gif" title="$post[field7]" align="center">
</div></if><br>
As a result, it displays the member's religious affiliation icon as well as gender.