SMF Support > Español (Spanish)

error al reportar

(1/3) > >>

indio:
cuando utilizo la opcion de reportar mensaje a los moderadores/administradores todo parece correcto.

pero en el log de errores sale varios fallos, ademas de llegar el email a los moderadores/administradores mal, parece ser que no encuentra los textos a poner, del post.spanish.php , aunque también probé poniendo el foro en ingles.

los fallos que da el log son estos:

 8: Undefined index: rtm3
Archivo: /home/sites/site158/web/copia/Sources/ReportToModerator.php
Línea: 130

8: Undefined index: rtm4
Archivo: /home/sites/site158/web/copia/Sources/ReportToModerator.php
Línea: 130

8: Undefined index: rtm_email1
Archivo: /home/sites/site158/web/copia/Sources/ReportToModerator.php
Línea: 131

etc...

y el email llega así... (he puesto entre comillas a lo que hace referencia, los nombres reales o la url no importa)



--- Quote ---"Usuario que hizo el post"  "persona que reporto" :

"http://www.... .....#msg5524"

:

"mensaje escrito en el report"

Saludos,
El equipo PRUEBAS - FORO DE PRUEBAS.
--- End quote ---


vamos que en ningun momento (como el log de errores dice) sale los textos....

$txt['rtm3'] = 'Mensaje reportado';
$txt['rtm4'] = 'por';
$txt['rtm10'] = 'Mandar';
....
$txt['rtm_email1'] = 'The following post, "%s" by';
$txt['rtm_email2'] = 'has been reported by';
$txt['rtm_email3'] = 'on a board you moderate';
$txt['rtm_email_comment'] = 'The reporter has made the following comment';
....


saludos

[darksteel]:
Hize pruebads con el TEST de Omar,

Nada de eos ocurrio


--- Quote ---The following post, "Re: Xcellent J0b_" by darksteel has been reported by
darksteel on a board you moderate:

http://omarbazavilvazo.com/smf/index.php?topic=23.msg97#msg97

The reporter has made the following comment:

hhhhh

Regards,
The SMF Test Team.
--- End quote ---

Bueno pasame el link de tu foro para probar

salu2

[darksteel]:
en el ReportToModerator.php

Las lineas las tienes asi


--- Quote ---// Send it to the moderator.
      sendmail($row['emailAddress'], $txt['rtm3'] . ': ' . $subject . ' ' . $txt['rtm4'] . ' ' . $posterName,
         sprintf($txt['rtm_email1'], $subject) . ' ' . $posterName . ' ' . $txt['rtm_email2'] . ' ' . $reporterName . ' ' . $txt['rtm_email3'] . ":\n\n" .
         $scripturl . '?topic=' . $topic . '.msg' . $_POST['mid'] . '#msg' . $_POST['mid'] . "\n\n" .
         $txt['rtm_email_comment'] . ":\n\n" .
         $_POST['comment'] . "\n\n" .
         $txt[130]);
   }
   mysql_free_result($request);
--- End quote ---

??

Por que asi deveria funcionar perfectamente, lo que pasa es que no esta reconociendo al traduccion y las lienas de texto estan fallatndo usalo en idioma

por que ami me llega asi


--- Quote ---Rashek  dark :

http://www........

:

comentario...

Saludos,
El equipo PRUEBAS - FORO DE PRUEBAS
--- End quote ---

Salu2

indio:
pues lo tengo igual si, es muy extraño



--- Quote ---// Send it to the moderator.
      sendmail($row['emailAddress'], $txt['rtm3'] . ': ' . $subject . ' ' . $txt['rtm4'] . ' ' . $posterName,
         sprintf($txt['rtm_email1'], $subject) . ' ' . $posterName . ' ' . $txt['rtm_email2'] . ' ' . $reporterName . ' ' . $txt['rtm_email3'] . ":\n\n" .
         $scripturl . '?topic=' . $topic . '.msg' . $_POST['mid'] . '#msg' . $_POST['mid'] . "\n\n" .
         $txt['rtm_email_comment'] . ":\n\n" .
         $_POST['comment'] . "\n\n" .
         $txt[130]);
   }
   mysql_free_result($request);


--- End quote ---


saludos

[darksteel]:
en Post.spanish.php

Busca


--- Quote ---
$txt['rtm3'] = 'Mensaje reportado';
$txt['rtm4'] = 'por';
$txt['rtm10'] = 'Mandar';
....
$txt['rtm_email1'] = 'The following post, "%s" by';
$txt['rtm_email2'] = 'has been reported by';
$txt['rtm_email3'] = 'on a board you moderate';
$txt['rtm_email_comment'] = 'The reporter has made the following comment';


--- End quote ---

Remplaza por


--- Quote ---$txt['rtm2'] = 'Introduce comentario';
$txt['rtm3'] = 'Mensaje reportado';
$txt['rtm4'] = 'por';
$txt['rtm10'] = 'Mandar';
$txt['rtm_email1'] = 'El siguente post, "%s" por';
$txt['rtm_email2'] = 'a sido reportado por';
$txt['rtm_email3'] = 'en un foro que usted modera';
$txt['rtm_email_comment'] = 'El reportero ha hecho el siguiente comentario:';
--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version