2011-11-02, 21:36:18
cumbe Wrote:It is possible to put a email fixed to test, modifying the guestbook.php:
Code:function sv_book($usu, $cada, $eleg, $capt, $vemot){
global $EMAIL;
global $SITEURL;
global $i18n;
global $LANG;
global $PRETTYURLS;
if (file_exists(GSDATAPATH.'users/'.$usu.'.xml')) {
$data = getXML(GSDATAPATH.'users/'.$usu.'.xml');
$EMAIL = $data->EMAIL;
$LANG = $data->LANG;
}
$EMAIL = 'there you must put the email that you want. This line is added';
...
I have adapted and now indeed get an email when a new message in the guestbook is placed.
Thank you