Log in

View Full Version : Ranks display in Group Memberships


vauge
05-27-2006, 10:00 PM
## This is a plugin to show the rank images under the Group Memberships in the profile
## This adds 3 additional queries to the group membership display in the profile

I am unsure how to create a product, but I thought I would share as is.

Step 1.
-------

Edit the plugins miniposts queries to reflect the image level you wish to display

Find:
AND minposts = 2500");


Change 2500 to your desired level on all three instances.
===========================================
Step 2.
-------

Upload the plugin using the supplied XML file.
===========================================
Step 3.
-------

Edit 3 templates
-modifyusergroups_displaybit
-modifyusergroups_memberbit
-modifyusergroups_nonmemberbit

Find:

$usergroup[opentag]$usergroup[title]$usergroup[closetag]

AFTER add:
<br /><if condition="$rank[rankimg]"><img src="$rank[rankimg]" border="0" alt="$usergroup[title] Rank Image" /></if>

Roms
05-29-2006, 12:21 AM
I like the idea. :)

I wish I could use it but my rank images would be to big...

Snake
05-31-2006, 09:32 PM
Thanks for the hack! :)