Thanks again for this.
I had to slightly modify the IF conditional to this:
<vb:if condition="$members[0]['rank_id'] != 9">
as for some reason it would not assign the value to that variable.
However I couldn't get the 2 IF's to work together, I basically had to do the following to make it work...not great I know.....
Code:
<vb:each from="roster" value="members">
<vb:if condition="$members[0]['rank_id'] != 9">
(code here)
</vb:if>
<vb:if condition="$members[0]['rank_id'] == 9 AND is_member_of($vbulletin->userinfo,5,6,11,12)">
(same code here)
</vb:if>
</vb:each>
This worked, but it doesn't look nice
Thanks again, you've saved me a LOT of work.