Custom BBCode help.
Hey, I was trying to create custom BBCode to restrict guest access to anything inbetween the BBCode. I have this:
Title: Hide content from guests
Tag: guest
Replacement: <if condition="$show['member']">{param}</if>
Example: [guest]This should be hidden from guests[/guest]
Use {option}: No
Now, I think the fault in this is that you can't have conditions in the thread.. as guests can still see content wrapped inbetween them, although the source shows the replacement around it.
I know this actual code works, because I wrapped only a member condition around a custom profile in postbit and it doesn't display to guests. So, are conditions allowed when creating a thread?
Any ideas?
|