see the image below. I want to add that halo 2 image there for the group "clan members" and that group only. If theye are not marked as being in that group, they dont get the image.
I got so far as to add the image but it shows up under every member. I tried the User Group Flag mod and got the image to move to the bottom but it moves the "A" and the "M" also and it don't display the halo 2 image if they are an admin or mod.... (because they have an image already)
Im also tring to figure out how to get each one of thoose images to link to that persons stats page.
I added the halo 2 and the trophy image in ms paint, because that where I would like them to display.
in showflat.php you have to modify the query where all the posts are gathered from the database to include the Group each user is in. Then also modify the (list() to gather these groups to a variable.
Then, you have to make a check, whether the user is in your helo group , and whether his status is not admin or mod.
If the above conditions are met, asign a variable $postrow[$i]['Helo2image'] the image url, and then include this varaible in your showflat.tmpl file where you want the image to appear.
..or you can modify the existing modification to give you the information you need. The "A" graphic for the admins for instance is a <img src.... /> tag that is displayed there. All you have to do is alter the function that Josh's modification has to also contain the condition if usergroup= something then <a href="this is the new link"><img src="the new graphic"></a>
Something like that will make it work without too much tampering with the modifications. As for the stats page you will have to give a bit more information. Where is the stats information coming from? Is it a standard page where you pass the U_Number as a parameter and it shows the statistics or something else that is stored in the database?
seriously about 10-15% of the people that sign up for my boards A) Reply to the Welcome PM. or B)Reply to the confirm Email instead of clicking the link.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.