2015-02-18, 10:11 PM
So i'm trying to edit the postbit_online & postbit_offline in the site templates.
I'm trying to add a custom line in which will only show to users with the certain UID.
the default code:
Would you be able to tell me how to make it so i could have that original code plus another line for example like
<if $memprofile['uid'] == 1 then>original code + custom code><else>original code</if>
it's something like that but i can't get it to work /:
I'm trying to add in a new line there.
Thanks in advance!
I'm trying to add a custom line in which will only show to users with the certain UID.
the default code:
<a href="online.php" title="{$lang->postbit_status_online}" class="pbonline">Online</a>
Would you be able to tell me how to make it so i could have that original code plus another line for example like
<if $memprofile['uid'] == 1 then>original code + custom code><else>original code</if>
it's something like that but i can't get it to work /:
I'm trying to add in a new line there.
Thanks in advance!