Autor Tópico: My Video BBC  (Lida 4674 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
My Video BBC
« em: 19 de Fevereiro de 2011, 22:05 »
My Video BBC Tag
Yapımcı:Mave
Mod Linki: http://custom.simplemachines.org/mods/index.php?mod=791

sources/Subs.php

Código: [Seleccione]
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),

Código: [Seleccione]
array(
                'tag' => 'myvideo',
                'type' => 'unparsed_commas_content',
                'test' => '\d+,\d+\]',
                'content' => '<object type="application/x-shockwave-flash" data="http://www.myvideo.de/movie/$1" width="$2" height="$3"><param name="movie" value="http://www.myvideo.de/movie/$1" /><param name="wmode" value="transparent" /></object></a>  ',
                'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),



Post.template.php

Código: [Seleccione]
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),

Código: [Seleccione]
'myvideo' => array('code' => 'myvideo', 'before' => '[myvideo=425,350]', 'after' => '[/myvideo]', 'description' => $txt['myvideo']),

languages/Modifications.teuidioma.php

Código: [Seleccione]
?>
Código: [Seleccione]
$txt['myvideo'] = 'MyVideo insert Number';

images/ bbc
Anexo