principia
Well-known member
You got me, I'm confused.
i mean this
[premium]Premium Content[/premium]
there is only a non supportet one from cclaerhout
or am i wrong?
You got me, I'm confused.
Whoops, misread your post. I believe you can add on using the Buttons Manager that comes with this.
public static function parseTagFlash(array $tag, array $rendererStates, &$parentClass)
{
if (!empty($tag['option']) && $parentClass->parseMultipleOptions($tag['option']))
{
$attributes = $parentClass->parseMultipleOptions($tag['option']);
$attributes['width'] = $attributes[0];
$attributes['height'] = $attributes[1];
$src = $tag['children'][0];
}
else
{
$attributes['width'] = '550';
$attributes['height'] = '400';
$src = $tag['children'][0];
}
/*
* $$$ hugh - had to hack around this, for some reason the child array's entry is itself
* a child array, at least in the usage cases I'm testing.
*/
if (is_array($src))
{
$src = $src['option'];
}
return '<object width="' . $attributes['width'] . '" height="' . $attributes['height'] . '">
<param name="movie" value="' . $src . '">
<embed src="' . $src . '" width="' . $attributes['width'] . '" height="' . $attributes['height'] . '">
</embed>
</object>';
}
It will work, yes. Adding buttons in 1.2 isn't supported, yet. I am updating it for 1.2.
[FLASH][URL]http://foo.bar/path/to/file.swf[/URL][/FLASH]
[FLASH][URL]http://foo.bar/path/to/file.swf[/FLASH][/URL]
Thank you for your reply it is something awesome, i'm searching is there a guide? I'm newbie at this addon and bbcodes itself, trying to understand the bbcode usage but it gives me this result:Yes, its 100% possible. Add a code, multi options (2) replacement start:
<img src="
Replacement End:
" width="{1}" height="{2}" />
That should accomplish what you want.
In settings i just did the tag img2, 2 in options number, and the start/end as you said, i guess what i am doing wrong is the usage, like this, don't know where to put the url + resize numbersCan you screen shot your settings? And place how you are attempting to use it in [CODE] tags?
[img2]img[/img2]
[imh2=url]??[/img2)
We use essential cookies to make this site work, and optional cookies to enhance your experience.