Mod Name: Registered Links
Created By: vbgamer45
Compatible With:[/] 1.1 RC2, 1.1 RC3, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8
http://custom.simplemachines.org/mods/index.php?mod=342
Themes/default/languages/Modifications.tualingua.php
Antes de
?>
colocar
//Begin Reg Links translate candidosa2
$txt['no_view_links'] = 'Você não pode ver os links.';
//END Reg Links Text Strings suporte smfpt.net
Sources/Subs.php
Pesquisar
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => '<a href="$1">',
'after' => '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == '#')
$data = '#post_' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a>' : '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a><div style="visibility:hidden">' : '<a href="$1">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == '#')
$data = '#post_' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
Pesquisar
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => '<a href="$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a>' : '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a><div style="visibility:hidden">' : '<a href="$1" target="_blank">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
Eu fiz como esta no tópico
Mas esta dando erro na linha 1113
vc poderia postar o Subs.php para mim
Desde ja agradeço
notworthy
bem e mais facil colocar o teu subs.php
para poder ver o que esta a fazer mal
Citação de: candidosa2 em 28 de Maio de 2010, 11:14
bem e mais facil colocar o teu subs.php
para poder ver o que esta a fazer mal
Ai esta o subs para vc poder ver:
o teu procedimento não esta certo
o que tens que fazer a pesquisar...o que esta acima depois colocar o que esta em Baixo
porque vc colocou mal as coisas..
Citação de: candidosa2 em 29 de Maio de 2010, 12:37
o teu procedimento não esta certo
o que tens que fazer a pesquisar...o que esta acima depois colocar o que esta em Baixo
porque vc colocou mal as coisas..
Vou Fazer mais um teste depois posto o resultado
Obrigado Pela Ajuda
Ainda esta aparecendo o seguinte erro cry
Parse error: syntax error, unexpected '>' in E:\domains\maniagsm.com.br\wwwroot\Sources\Subs.php on line 1330
PHP Parse error: syntax error, unexpected '>' in E:\domains\maniagsm.com.br\wwwroot\Sources\Subs.php on line 1330
vou fazer para tens...
Algum mod instalado ?
Citação de: candidosa2 em 31 de Maio de 2010, 15:06
vou fazer para tens...
Algum mod instalado ?
Estou usando os seguintes modsFavicon
Aligned and Bilateral Child Boards
Tentei instalar o Registered Links
E tambem deu erro:
Executar modificação .\Sources/Subs.php Falha
esta a fazer texte tem o erro mais vou colocar manualmente
(http://i276.photobucket.com/albums/kk39/apllic/sshot-6-28.png)
esta dando este erro mesmo