Otra vez por aquí
Tengo estos Mods instalados y activados
1. httpBL 2.5.1
2. Tapatalk SMF 2.0 RC5/Final Plugin 3.3.0
3. Adk Personal Icon forums 1.0
4. Ad Managment 3.0.1
5. Google Analytics Code 1.4
6. nCode Image Resizer 1.3.1
7. Thank-o-matic 3.0
SMF 2.0.2 (http://www.todomovillg.es/elforodehomero/index.php?action=credits) | SMF © 2011 (http://www.simplemachines.org/about/smf/license.php), Simple Machines (http://www.simplemachines.org/)
SMFAds (http://www.smfads.com/) for Free Forums (http://www.createaforum.com/)
Target_3D by Homero (http://www.todomovillg.es/) based on Target by Crip (http://www.jpr62.com/theme/) XHTML (http://validator.w3.org/check?uri=referer) RSS (http://www.todomovillg.es/elforodehomero/index.php?action=.xml;type=rss) WAP2 (http://www.todomovillg.es/elforodehomero/index.php?wap2)
Al entrar como visitante no puedo ver los links externo, pero si que puedo ver los adjuntos, y esto es lo que se ve:
"Usted no puede ver el link. Regístrese (http://www.todomovillg.es/elforodehomero/index.php?action=register) o Identifíquese (http://www.todomovillg.es/elforodehomero/index.php?action=login)"
Quiero que los visitantes puedan ver los links externo.
¿Podéis orientarme en este tema?
Aquí se puede apreciar lo de los link ocultos http://www.todomovillg.es/elforodehomero/index.php?topic=709.0 (http://www.todomovillg.es/elforodehomero/index.php?topic=709.0)
Ya he solucionado el problema, leyendo, leyendo y leyendo...
LINK VISIBLE A LOS VISITANTES
Entré en ../Sources/ y edité Subs.php
Busqué esto
// Registered Links
if ($user_info['is_guest'])
{
$message = preg_replace('#<a href="(.*?)</a>#i', $txt['no_view_links'] . "\n" . ' <a href="' . $scripturl . '?action=register">' . $txt['txt_reg_links_register'] . '</a> ' . $txt['txt_reg_links_or'] . ' <a href="' . $scripturl . '?action=login">' . $txt['txt_reg_links_login'] . '</a>', $message);
}
// End Registered Links
// Cache the output if it took some time...
y dejé solo esto:
// Cache the output if it took some time...
Listo, los link volvieron a ser visible.
Así que si quieres que los Link se vean haz esto, y si quieres que no se vean haz esto otro
LINK OCULTO A LOS VISITANTES (que es lo mismo que instalar el Mod Registered Links (http://custom.simplemachines.org/mods/index.php?mod=342)
Edita el archivo ../Soucers/Subs.php
Busca esto:
// Cache the output if it took some time...
Sustituyela por este código:
// Registered Links
if ($user_info['is_guest'])
{
$message = preg_replace('#<a href="(.*?)</a>#i', $txt['no_view_links'] . "\n" . ' <a href="' . $scripturl . '?action=register">' . $txt['txt_reg_links_register'] . '</a> ' . $txt['txt_reg_links_or'] . ' <a href="' . $scripturl . '?action=login">' . $txt['txt_reg_links_login'] . '</a>', $message);
}
// End Registered Links
// Cache the output if it took some time...
marcamos como solucionado, gracias