If uid help

by Pirate - 14-03-2015, 10:16 PM
Contact: pirate@undoxable.net
Prime
Posts:
254
Joined:
Mar 2015
Likes:
7
Credits:
85
Reputation:
3
2 Years of Service
#1
OP
Posted: 14-03-2015, 10:16 PM
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.
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
32
Credits:
317
Reputation:
3
2 Years of Service
#2
Posted: 14-03-2015, 10:22 PM
Wait!?

What does this do what are you trying to do anyways?
Contact: pirate@undoxable.net
Prime
Posts:
254
Joined:
Mar 2015
Likes:
7
Credits:
85
Reputation:
3
2 Years of Service
#3
OP
Posted: 14-03-2015, 10:25 PM
Instead of a USERBAR on UID 1, I want SOME TEXT TO DISPLAY instead of the userbar
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,906
Reputation:
25
2 Years of Service
#4
Posted: 14-03-2015, 10:34 PM
u stupid

<if $post ['uid'] == 1 then>ur fucking text userbar<else>the group image shit idk?</if>
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)