Code: Select all
// portuguese (pt)
$n2m_TEXT[pt][mode] = "Modo";
$n2m_TEXT[pt][forum] = "Fórum";
$n2m_TEXT[pt][thread] = "Tópico";
$n2m_TEXT[pt][subject] = "Assunto";
$n2m_TEXT[pt][user] = "Utilizador";
$n2m_TEXT[pt][ip_hostname] = "IP/Endereço";
$n2m_TEXT[pt][host_na] = "(n/d)";
$n2m_TEXT[pt][actions] = "Acções";
$n2m_TEXT[pt][reply] = "responder";
$n2m_TEXT[pt][quote] = "citar";
$n2m_TEXT[pt][edit] = "editar";
$n2m_TEXT[pt][delete] = "apagar";
$n2m_TEXT[pt][info] = "info";
$n2m_TEXT[pt][pm] = "mp";
$n2m_TEXT[pt][email] = "email";
$n2m_TEXT[pt][attachments] = "Anexos";
$n2m_TEXT[pt][edited_by] = "editado por";
$n2m_TEXT[pt][edit_reason] = "razão";
YOU GOT IT!!!!!prhodes wrote:Variables are not being set from newpost2mail.config.php.
I just spent a couple of hours trying to figure out why the newpost2email.config.php was not working.
Please update this file to use the syntax <?php around the PHP code so that the variables are set. The current tags (<?) cause the PHP parser to not process the include as it is meant to be processed. Once I changed it to use <?php, everything worked great.
Posting this here for others benefit.
From the manual for the include method:
http://us3.php.net/include/
When a file is included, parsing drops out of PHP mode and into HTML mode at the beginning of the target file, and resumes again at the end. For this reason, any code inside the target file which should be executed as PHP code must be enclosed within valid PHP start and end tags.
Code: Select all
<?
Code: Select all
<?php
for to have mails for multi forum for exemple 3 + 4 + 5 what the good paramaters ? --> $n2m_MONITOR_FORUM[3][4][5] [] = "[email protected]"; ?// You need the numerical forum ID for that, which can be found in the URL of the
// forum in question. Just open a forum and look at its URL. You'll get something
// like http://your-forum.com/viewtopic.php?f=18&t=789
// In the example above we have "f=18" which means the forum ID is 18
//
// Now we add $n2m_MONITOR_FORUM[ID][] = "[email protected]" for each forum and recipent.
//
// If you want to have mails for forum ID 3 to [email protected] and
// [email protected] and mails for forum ID 7 to [email protected], you'll have
// to add the following lines:
//
// $n2m_MONITOR_FORUM[3][] = "[email protected]";
// $n2m_MONITOR_FORUM[3][] = "[email protected]";
// $n2m_MONITOR_FORUM[7][] = "[email protected]
Code: Select all
$n2m_MONITOR_FORUM[3][] = "[email protected]";
$n2m_MONITOR_FORUM[4][] = "[email protected]";
$n2m_MONITOR_FORUM[5][] = "[email protected]";