Log in

View Full Version : Reorder rank images?


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.

apokphp
10-28-2007, 05:12 PM
*bump*

deezelpope
10-28-2007, 05:24 PM
<i>How about posting your postbit code here, so we can take a look at it?</i>

apokphp
11-01-2007, 02:00 AM
....I did that in the first post...

--------------- Added 1193941657 at 1193941657 ---------------

Found the answer at vb.com...



<if condition="is_member_of($post, %USERGROUPID%)">

Change %USERGROUPID% to the usergroup you want to search for. If you want the same image for multiple usergroups, you can list them separated by commas.