<!-- IF --> BBcode
Posted: Wed Oct 06, 2010 4:56 pm
Hey crew, here's a puzzle for ya that's doing my brain in, please help me understand.
I thought I could make a BBcode that relates to the PHPbb3 forum <!-- IF --> statements so i could make an effective private message system for the mChat.
However it seems the IF statements are ignored by the BBcode output for some reason?
Here's what I have tried:
BBcode usage
HTML replacement:
Now, when using the pm tags the username is not displayed but the message is and everyone can see it?
1/ Why does this not work?
2/ Is there a way to make this work?
3/ If there is no way to make this work, is there some other way to do this?
Thanks in advance crew
I thought I could make a BBcode that relates to the PHPbb3 forum <!-- IF --> statements so i could make an effective private message system for the mChat.
However it seems the IF statements are ignored by the BBcode output for some reason?
Here's what I have tried:
BBcode usage
Code: Select all
[pm]{SIMPLETEXT1},{SIMPLETEXT2}[/pm]
Code: Select all
<!-- IF S_USERNAME eq "{SIMPLETEXT1}" -->
{SIMPLETEXT2}
<!-- ENDIF -->
1/ Why does this not work?
2/ Is there a way to make this work?
3/ If there is no way to make this work, is there some other way to do this?
Thanks in advance crew