Autor Tópico: Colocar links anónimos  (Lida 5734 vezes)

0 Membros e 4 Visitantes estão a ver este tópico.

Offline joomlamz

  • Fundador
  • *
  • Mensagens: 4265
  • Rank: 4877
  • Sexo: Masculino
  • Joomla!
    • Web Master !
Colocar links anónimos
« em: 13 de Novembro de 2007, 05:44 »
Como sabem no SMF os endereços web são aplicados automáticamente como links...
Para aqueles k não desejam ter redireccionamentos directos do fórum fazer isto:

Ir a  Sources/Subs.php e procurar

Código: [Seleccione]
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)',
),

E alterar para

Código: [Seleccione]
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="http://anonym.to/?$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="http://anonym.to/?$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),

No final um link do vosso fórum será automaticamente assim http://anonym.to/?
Apllic   Alojamentos Profissionais de Moçambique!