Autor Tópico: Stage6 Video  (Lida 4994 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
Stage6 Video
« em: 19 de Fevereiro de 2011, 22:08 »
Mod Link: http://custom.simplemachines.org/mods/index.php?mod=940

sources/Subs.php

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

Código: [Seleccione]
array(
                'tag' => 'stage6',
                'type' => 'unparsed_commas_content',
                'test' => '\d+,\d+\]',
                'content' => '<object codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" height="272" width="640" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><embed type="video/divx" src="http://video.stage6.com/$1/.divx" pluginspage="http://go.divx.com/plugin/download/" showpostplaybackad="false" custommode="Stage6" autoplay="false" width="$2" height="$3" /></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]
'stage6' => array('code' => 'stage6', 'before' => '[stage6=425,350]', 'after' => '[/stage6]', 'description' => $txt['stage6']),

/languages/Modifications.teuidioma.php

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

Citar
http://stage6.divx.com/Beat-Paradise-Reloaded/video/1861570/TobyMac-GONE-1920x1080

[stage6=425,350]1583495[/stage6]