MyBB Support

If uid help

Submitted by Pirate, , Thread ID: 1855

Thread Closed
14-03-2015, 10:16 PM
#1
I tried to put this on my postbit classic:
Code:
<if $mybb->user['uid'] = 1 then><p class="ifyouhavethisonyourpostbityoureafuckingaloser">Administrator idk?</p></if>

But it showed up on every single postbit (aka every posts)
It is supposed to replace the userbar for uid 1. I tried doing a <else> but it broke everything.

RE: If uid help

#2
Wait!?

What does this do what are you trying to do anyways?

RE: If uid help

OP
#3
Instead of a USERBAR on UID 1, I want SOME TEXT TO DISPLAY instead of the userbar

RE: If uid help

#4
u stupid

<if $post ['uid'] == 1 then>ur fucking text userbar<else>the group image shit idk?</if>

Users browsing this thread: 1 Guest(s)