can I make if inside bbcode ?

Get help developing custom BBCodes or request one.
Post Reply
batgalim
Registered User
Posts: 87
Joined: Mon Dec 05, 2011 8:07 pm

can I make if inside bbcode ?

Post by batgalim »

Hi,

I have a problem of embedding youtube inside the Artodia style.
I currently want to have a very simple solution that if the user is in MOBILE instead of embedding the movie he will see only a link to the movie (in youtube, vimeo, facebook ...)
I want to have in the bbcode something like:

if(defined('MOBILE_STYLE'))
{
}

but as I understand the bbcode is html and the above is php.
Is it possible to do something like this?
Post Reply

Return to “Custom BBCode Development and Requests”