No, the Order was absolutly fine, you just ignored the line number for the second part.I told you to place it in line 183 and you put it to line 80 which is far away from the correct position.
look at my template i'll postet befor:
Template Modifcations
What we're having is a failure to communicate.
You told me to place {if 4|in_array:$__wcf->user->getGroupIDs()} before {foreach from=$objects item=user}.
OK... Simple enough... So I search for {foreach from=$objects item=user} and added {if 4|in_array:$__wcf->user->getGroupIDs()} as instructed (before it).
And I added the rest after {/foreach} also as instructed.
I'm sorry if I failed to understand you.