<!-- IF --> BBcode

A selection of BBCodes for use on your phpBB3 Forums.
Candyman
Forum Member
Forum Member
Posts: 12
Joined: Sun May 30, 2010 4:04 pm
Your Forum/Website URL: http://

<!-- 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

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

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...


Return to “PhpBB3 BBCodes”



Who is online

Users browsing this forum: No registered users and 7 guests