<!-- IF --> BBcode

A selection of BBCodes for use on your phpBB3 Forums.
  • Advertisement

Bookmark and Share

<!-- IF --> BBcode

Postby Candyman » 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
Code: Select all
[pm]{SIMPLETEXT1},{SIMPLETEXT2}[/pm]

HTML replacement:
Code: Select all
<!-- IF S_USERNAME eq "{SIMPLETEXT1}" -->
{SIMPLETEXT2}
<!-- ENDIF -->


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
User avatar
Candyman
Forum Member
Forum Member
 
Posts: 12
Joined: May 2010
Has thanked: 1 time
Have thanks: 0 time

Re: <!-- IF --> BBcode

Postby theendfear » Tue Nov 02, 2010 6:49 pm

phpbb does not allow php in the template,you can ability this option in your acp and it should works...
sorry for my bad english...
User avatar
theendfear
Forum Member
Forum Member
 
Posts: 10
Joined: October 2010
Has thanked: 1 time
Have thanks: 0 time



  • Advertisement

Return to PhpBB3 BBCodes



Who is online

Users browsing this forum: No registered users and 1 guest


Subscribe to the ModphpBB3 Forum RSS