Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Los visitante no pueden ver los enlaces externos [SOLUCIONADO]

Aloittaja Homero2, joulukuu 14, 2012, 04:55:24 AP

« edellinen - seuraava »

Homero2

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  | SMF © 2011, Simple Machines
SMFAds for Free Forums
Target_3D by Homero based on Target by Crip XHTML RSS 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 o Identifíquese"

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

Homero2

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>&nbsp;' . $txt['txt_reg_links_or'] . '&nbsp;<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

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>&nbsp;' . $txt['txt_reg_links_or'] . '&nbsp;<a href="' . $scripturl . '?action=login">' . $txt['txt_reg_links_login'] . '</a>', $message);
      }

      // End Registered Links
// Cache the output if it took some time...

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

Advertisement: