Code: Select all
[phpBB Debug] PHP Notice: in file /posting.php on line 1014: include(home/ilmiofor/public_html/phpBB3/newpost2email.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /posting.php on line 1014: include() [function.include]: Failed opening 'home/ilmiofor/public_html/phpBB3/newpost2email.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php')
Sorry, there was a typo, ist should be newpost2mail.php, not newpost2email.phplele710 wrote:Hello,
i have this error:
Code: Select all
[phpBB Debug] PHP Notice: in file /posting.php on line 1014: include(home/ilmiofor/public_html/phpBB3/newpost2email.php) [function.include]: failed to open stream: No such file or directory [phpBB Debug] PHP Notice: in file /posting.php on line 1014: include() [function.include]: Failed opening 'home/ilmiofor/public_html/phpBB3/newpost2email.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php')
changemarc.r wrote:I would wish to add in the subject of the email: the name of the postor and the name of the forum
Code: Select all
$subject = html_entity_decode(utf8_decode("[$config[sitename] $mode] $post_data[post_subject]"));
Code: Select all
$subject = html_entity_decode(utf8_decode("[$config[sitename] / $data[forum_name] $mode] $post_data[post_subject] from ".$user->data['username']));
Yes, with some basic PHP knowledge, this is easy. See http://php.net/manual/en/reserved.variables.php for details.it is possible to add in the message: IP and hostname