Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Using conditionals in mycode
Divvy Offline
Junior Member
**
Posts: 37
Joined: Jan 2012
Post: #1
Using conditionals in mycode
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?

01-14-2012 12:58 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Using conditionals in mycode
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).

01-14-2012 03:05 AM
Find all posts by this user Quote this message in a reply
Divvy Offline
Junior Member
**
Posts: 37
Joined: Jan 2012
Post: #3
RE: Using conditionals in mycode
Thank you RateU, nice suggestion Smile
01-14-2012 03:13 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: