Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

Web mail

Aquí­ podrás dejar tus dudas sobre MODs o MODificaciones de tu phpBB2
  Reglas del Foro
Antes de participar en los foros, leer esto por favor.
Normas generales de phpBB-Es y las de Soporte
Cerrado
madelmanhouse
Miembro
Mensajes: 202
Registrado: 07 Ene 2004, 08:48
Edad: 55

Web mail

#1

Mensaje por madelmanhouse »

Este sencillo archivo permite enviar correos desde nuestros foros, la traduccion y modificacion me ha llevado horas y horas :lol:

Os dejo una muestra de como queda y funciona perfectamente:
http://www.madelmanhouse.com/foroplus/mail.php

Solo teneis que colocar el archivo en la raiz de vuestro foro.

El MOd original esta aqui:

http://www.phpbbhacks.com/download/4373

Código: Seleccionar todo

<?php

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//

//
// Start output of page
//
$page_title = "E-mail";
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

if ($_GET['send'] == "true") {
	mail($_POST['email_to'],$_POST['topic'],$_POST['msg'], "From: ".$_POST['email']);
	header("Location: mail.php?done=true");
}
?>
<link rel="stylesheet" href="style.css" type="text/css">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
<script>


function submitonce(theform){
if (document.all||document.getElementById){
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true
}
}
}
</script>
<form action="mail.php?send=true" method="post" onSubmit="submitonce(this)">
<BODY BGCOLOR="#36B1E9" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<table align="center" border="0" width="756" cellpadding="5" cellspacing="2">
  <tr bgcolor="#FFFFFF">
    <td style="border:1px solid #1C82B0;" width="550" valign="top">
      <form name="contactform" action="<?php echo $_SERVER['PHP_SELF']; ?>"
      method="post" onSubmit="return checkForm();">
      <table border="0" width="100%" cellpadding="2" cellspacing="0">
      <span class="cattitle"><b><div align="center"><big>Correo Web MadelmanHouse.com</big></div></b> <span class="gensmall"> <? if ($_GET['done'] == "true")  { echo  "<b> Tu Correo Ha Sido Envio Con Exito!</B>"; } ?><p>
        <tr>
          <td width="80"><span class="gensmall"><b>Destino:</b></td>
          <td valign="middle"><input type="text" name="email_to" size="65" ></td>
        </tr>
	  <tr>
          <td width="80"><span class="gensmall"><b>Tu Nombre:</b></td>
          <td valign="middle"><input type="text" name="name" size="65" ></td>
        </tr>
        <tr>
          <td valign="middle"><span class="gensmall"><b>Tu Direccion De Correo:</b></td>
          <td><input type="text" name="email" size="65" ></td>
        </tr>
        <tr>
          <td valign="middle"><span class="gensmall"><b>Asunto:</b></td>
          <td><input type="text" name="topic" size="65" ></td>
        </tr>
        <tr>
          <td valign="top"><span class="gensmall"><b>Mensaje:</b></td>
          <td><textarea name="msg" cols="100" rows="14"></textarea></td>
        </tr>
        <tr>
          <td> </td>
          <td><div align="center"><input type="submit" name="send" value="Enviar Correo" class="send"></div></td>
        </tr>
      </table>
      </form>

<tr>

</tr>
</table>
</td>
<td width="1" height="9" align="top" valign="left"></td>
</tr>
<tr>
<td width="1" height="1" align="top" valign="left"></td>
<td width="398" height="1" align="top" valign="left"></td>
<td width="1" height="1" align="top" valign="left"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table class="forumlink" width="100%" cellspacing="0" cellpadding="5" border="0" align="center">
<tr>
<div class="footer">
  <div class="copyright" align="center">Webmail is created by: Veronica Andersson &copy; 2004-2005 all rights reserved </div>
</div>
</tr>
</div>
</tr>

<?php
// Generate page

include( 'includes/page_tail.php');

?>
Datos Para Soporte

Por ahora no tengo foro activo pero estoy en ello.....

Mods. Advanced BBCode Box 3 - Ultimate SEO URL- AutoMod - Statistics 103 -

Avatar de Usuario
ThE KuKa
Administrador
Mensajes: 10432
Registrado: 04 Ene 2004, 19:27
Género:
Edad: 50

#2

Mensaje por ThE KuKa »

Interesante Madelman, gracias :wink:

📌 Raul [ThE KuKa] en phpBB 📌
✅ Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
✅

Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación Imagen
:flag_es: phpBB España - En línea desde 2003 :heart:



madelmanhouse
Miembro
Mensajes: 202
Registrado: 07 Ene 2004, 08:48
Edad: 55

#3

Mensaje por madelmanhouse »

De nada, es lo poco que puedo contribuir.
Datos Para Soporte

Por ahora no tengo foro activo pero estoy en ello.....

Mods. Advanced BBCode Box 3 - Ultimate SEO URL- AutoMod - Statistics 103 -

Avatar de Usuario
tole
Ex Staff
Mensajes: 714
Registrado: 06 Ene 2004, 01:12
Género:
Edad: 55

#4

Mensaje por tole »

Nunca es poco, no lo olvides, no podí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a resistirme a contestar.

Tambií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?©n te doy las gracias, por supuesto.

Salu2.
Tole

Avatar de Usuario
ThE KuKa
Administrador
Mensajes: 10432
Registrado: 04 Ene 2004, 19:27
Género:
Edad: 50

#5

Mensaje por ThE KuKa »

Poco es mucho a veces Madelman

S@lu2 y felices fiestas :wink:

📌 Raul [ThE KuKa] en phpBB 📌
✅ Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
✅

Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación Imagen
:flag_es: phpBB España - En línea desde 2003 :heart:



Avatar de Usuario
tole
Ex Staff
Mensajes: 714
Registrado: 06 Ene 2004, 01:12
Género:
Edad: 55

#6

Mensaje por tole »

Jajaja, oye ThE Kuka, no te tendrí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© aquí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­ en la chepa, seguro q estabas mirando lo q escribí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a.

Salu2 a tod@s y felices fiestas en compaí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a.

Pd: he leí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­do por ahí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­ q el jefe tendrí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡ q regalar paí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±ales este fin de aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±o.
Tole

tonneti
Usuario/a
Mensajes: 62
Registrado: 28 Jun 2004, 15:12

#7

Mensaje por tonneti »

Molto benne madelmanhouse, molto, gracias ;)
/home/arquifor/...

madelmanhouse
Miembro
Mensajes: 202
Registrado: 07 Ene 2004, 08:48
Edad: 55

#8

Mensaje por madelmanhouse »

Felices Fiestas a todos y gracias a vosotros, siempre que pueda contribuire con algo.
Datos Para Soporte

Por ahora no tengo foro activo pero estoy en ello.....

Mods. Advanced BBCode Box 3 - Ultimate SEO URL- AutoMod - Statistics 103 -

Cerrado

Volver a “Soporte, preguntas sobre MODs de phpBB 2”