MyBB Hacks

Full Version: Using conditionals in mycode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was hoping that someone tell me If I can use Template Conditionals in  a MyCode so only the admin can see the content.

For example, in a member post, an admin edit the post and write something like that above the member post text:

Code:
[admin]This user is annoying...[/admin]


And that note will appear to all admins and only admins could see that note.
Can someone help me with that? Please? Smile

I tried this:
[Image: YiZf7.png]

But didnt worked... appears like that:
[Image: przhr.png]

Any suggestions?

I think you can't use template conditional inside the MyCode (I can be wrong, please wait Yumi to reply).
Or maybe as an alternative, you can use MyBB Thread Notes (only works for threads, not posts).
Thank you RateU, nice suggestion Smile
Reference URL's