bueno como me decidi hace poco a armar una web de videos xxx y sp viene para postear videos de youtube donde no ponen mucho de esto me decidi a buscar y encontre y adapte este con el que pueden ver videos de redtube de megaporn de hardsex una pagina muy buena y otra que no conozco disque pacoporn
una cap
vamos con el tuto
habran su subs.php de sources y busquen esto
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),
antes le agregan esto
array(
'tag' => 'megaporn',
'type' => 'unparsed_content',
'content' => '<object width="470" height="370"><param name="movie" value="http://www.megaporn.com/e/$1" ></param><embed src="http://www.megaporn.com/e/$1" type="application/x-shockwave-flash" width="470" height="370"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'hardsextube',
'type' => 'unparsed_content',
'content' => '<object width="450" height="370"> <param name="movie" value="http://www.hardsextube.com/embed/$1/"></param><param name="AllowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="http://www.hardsextube.com/embed/$1/" type="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="always" width="450" height="370"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'redtube',
'type' => 'unparsed_content',
'content' => '<object width="470" height="370"><param name="movie" value="http://embed.redtube.com/player/?id=$1&style=redtube" ></param><embed src="http://embed.redtube.com/player/?id=$1&style=redtube" type="application/x-shockwave-flash" width="470" height="370"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';
$pattern = \'/http:\/\/.+v=(.+)(&.+)*/i\';
if (preg_match($pattern, $data[0], $matches))
$data[0] = $matches[1];'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'pacoporn',
'type' => 'unparsed_content',
'content' => '<embed src="http://www.pacoporn.com/flvplayer_new.swf" FlashVars="config=http://www.pacoporn.com/videoConfigXmlCode.php?pg=video_$1" quality="high" bgcolor="#000000" width="450" height="370" name="flvplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowFullScreen="true" />',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
luego abran su post.template.php y busquen esto
setTimeout(\'scrollUp()\', 40);
}
';
echo '</script>';
y despues agreguen esto
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'redtube' => array('code' => 'redtube', 'before' => '[redtube]', 'after' => '[/redtube]', 'description' => $txt['redtube']),
'megaporn' => array('code' => 'megaporn', 'before' => '[megaporn]', 'after' => '[/megaporn]', 'description' => $txt['megaporn']),
'hardsextube' => array('code' => 'hardsextube', 'before' => '[hardsextube]', 'after' => '[/hardsextube]', 'description' => $txt['hardsextube']),
'pacoporn' => array('code' => 'pacoporn', 'before' => '[pacoporn]', 'after' => '[/pacoporn]', 'description' => $txt['pacoporn']),
);
luego habran su modifications.spanish.php y agreguen esto al final de todo antes del ?>
$txt['redtube'] = 'redtube';
$txt['pacoporn'] = 'pacoporn';
$txt['megaporn'] = 'megaporn';
$txt['hardsextube'] = 'hardsextube';
por ultimo bajen el archivo adjunto y suban la carpeta bbc a imagenes y listo seria todo espero que les guste :hi: