XF 1.5 Make userbar only visible on one person?

I'm playing an april fools prank tomorrow, and I want to be able to give a group tag thats only visible to the person. How would I go about doing this?
 
I PM'd you
aha. That is not called "admin group image". Its called "User Banner".

Open this template: message_user_info
Find this:
Code:
<!-- slot: message_user_info_text -->
Below it add this:
Code:
<xen:if is="{$user.user_id} == {$visitor.user_id}">
    <em class="userBanner bannerRed wrapped" itemprop="title">
        <span class="before"></span>
        <strong>Any Text</strong>
        <span class="after"></span>
    </em>
</xen:if>
you can change "Any Text" to anything you want.

This will add this:
b.webp

and only me (profile owner) can see it in my own postbit. (anyone only can see it on their own postbit.)
 
aha. That is not called "admin group image". Its called "User Banner".

Open this template: message_user_info
Find this:
Code:
<!-- slot: message_user_info_text -->
Below it add this:
Code:
<xen:if is="{$user.user_id} == {$visitor.user_id}">
    <em class="userBanner bannerRed wrapped" itemprop="title">
        <span class="before"></span>
        <strong>Any Text</strong>
        <span class="after"></span>
    </em>
</xen:if>
you can change "Any Text" to anything you want.

This will add this:
View attachment 150576

and only me (profile owner) can see it in my own postbit. (anyone only can see it on their own postbit.)
THANK YOU! does this also work for other templates too?
 
Back
Top Bottom