Página 1 de 1

Mod para la URL

Publicado: 18 May 2009, 11:41
por zornak
URL: http://www.eliteadmins.es/foro" onclick="window.open(this.href);return false;
Versión phpBB: phpBB3 (3.0.4)
MODs Instalados: Code, Exp bar, Solved Post, Thanks mod...
Plantilla(s) usada(s): EliteAdmins
Servidor: Linux
Actualización desde otra versión: No
Conversión desde otro sistema de foros: No

Buenas, me gustaria un mod tipo como el de "Code=xxx", que pones "Code=php" y sale coloreado.

Pero seria con URL osea url=xxxx

El mod seria para que la gente ponga link y les salga una imagen de megaupload y link a la descarga, pero si ponen url=rapidshare les salga la imagen de rapidshare.. y asi...

Alguien sabe como hacerlo, o si existe?

Re: Mod para la URL

Publicado: 24 May 2009, 16:23
por Suicida
Yo lo que estoy tocando es un BBCODE que encontre para Vbulletin.

Funcionar funciona, pero queda retocarlo para que quede perfecto, y eso ya no se me da tan bien.

Ejemplos: [mega]{TEXT}[/mega]

Reemplazo HTML:

Código: Seleccionar todo

<table border="0" cellspacing="0" cellpadding="0"><tr>
<td height="39" colspan="3">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="178" height="39" background="/images/misc/mega1.png">  </td>
<td background="/images/misc/mega2.gif"> </td>
<td width="48" height="39" background="/images/misc/mega3.png">  </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="10" bgcolor="#ff8923"> </td>
<td bgcolor="#c0ddff">
<table width="100%" cellspacing="0" cellpadding="0" border="1" bgcolor="#ffffff" style="border: 1px solid rgb(216, 216, 216); border-collapse: collapse;">
<tbody>
<tr>
<td style="font-family: Arial; font-size: 12px; color: rgb(112, 112, 112); text-align: center;">
<p style="margin: 5px;">{TEXT}</p>
</td>
</tr>
</tbody>
</table>
</td>
<td width="10" bgcolor="#ff8923"> </td>
</tr>
<tr>
<td colspan="3">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="11" height="11" background="/images/misc/mega4.png">
<img width="1" height="1" border="0" src="/images/misc/space.gif"/>
</td>
<td height="11" bgcolor="#ff8923">
<img width="1" height="1" border="0" src="/images/misc/space.gif"/>
</td>
<td width="11" height="11" background="/images/misc/mega5.png">
<img width="1" height="1" border="0" src="/images/misc/space.gif"/>
            </tr>
        </table>
        </td>
    </tr>
</table>
Línea de ayuda: Enlaces megaupload

Con esto te quedaria asi:
Imagen

Como puedes ver no queda perfecto, pero seguire provando a ver si lo consigo.

Las imagenes las tienes en el archivo adjunto

PD: Esto tambien te sirve para rapidshare y otros,simplemente cambia el nombre de la imagen por el que te interese, y en ejemplos en vez de poner [mega]{TEXT}[/mega] pones [rapid]{TEXT}[/rapid].