Como si fuera un MOD, que al fin y al cabo, asi es...
Nombre del MOD: Simple Image Upload
Autor del MOD: CyberAlien <no@public.email> (CyberAlien) http://www.phpbbstyles.com
Descripción del MOD
Lo ultimo de CyberAlien es para subir imágenes, a otro hosting (no el tuyo) sin usar el BBCode [img] y código rápido y fácil, yo lo veo más que interesante, así que ahí queda dicho.
Traducción (muy corta XD): ThE KuKa - http://www.phpbb-es.com
Versión del MOD: 1.0.0
Dificultad: Fácil
Tiempo de Instalación Aprox. 1-2 Minutos
Compatible con phpBB: 2.0.x
Crear un archivo con este código llamado addform.html y subir a la raiz de vuestro foro (donde esta config.php, por ejemplo)
- Código: Seleccionar todo
<html>
<head>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--
function add_code()
{
var text = unescape(document.location.search.substring(1));
opener.document.forms['post'].message.value = opener.document.forms['post'].message.value + text;
opener.focus();
window.close();
}
add_code();
//-->
</script>
</body>
</html>
Abrir el archivo templates/subSilver/posting_body.tpl
BUSCAR:
- Código: Seleccionar todo
</textarea>
DESPUÉS AÑADIR:
- Código: Seleccionar todo
<br /><span class="genmed"><a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Añadir imagen al mensaje</a></span>
S@lu2

