https://www.icyphoenix.com/viewtopic.php?f=35&t=5995&p=40658#p40658
-----------------------------------
Chicony
Mon 22 Jun, 2009 08:41
Re: Adding BBcode
-----------------------------------
[quote user="spydie" post="40646"]sry but for me it look´s like you´ve just duplicatet the you tube link and something is incorrect in your code.
if i look at your code
[spoiler]
elseif ($tag === 'myvideo')
{
$html = ' Link ';
}[/spoiler]
i think the foult is in here
one of this 3 links is wrong
I think i found the error
try this
[spoiler]
elseif ($tag === 'myvideo')
{
$html = ' Link ';
}[/spoiler]
come back and tell me if that worked[/quote]
Hi thanks for brainstorm...i found mistake...your code was incorrect too.
the correct code is
[code linenumbers=false]elseif ($tag === 'myvideo')
{
$html = ' Link ';
}[/code]
So i´ve correct all codes in my second topic and code is real "working".
So you can implement this codes in your Mods Database :mrviolet: :wink:
greets chicony