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

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
14-03-2015, 10:22 PM
#2
Wait!?

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

RE: If uid help

OP
14-03-2015, 10:25 PM
#3
Instead of a USERBAR on UID 1, I want SOME TEXT TO DISPLAY instead of the userbar

RE: If uid help

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
14-03-2015, 10:34 PM
#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)