Hi,
Thank you, and, LuxCal 5.2.4M has a good fix too ; the upgrade works !
Thanks again
You are not logged in. Please login or register.
LuxCal Web Calendar → Problems → Mail address replaced into description → Post new reply
All fields with bold label must be completed before the form is submitted.
Hi,
Thank you, and, LuxCal 5.2.4M has a good fix too ; the upgrade works !
Thanks again
Hi there,
Sorry my suggested change was not complete.
Please edit again the file /common/toolbox.php and replace line 574 . . .
$html = preg_replace_callback($rxEML,function ($m) { global $tit, $sda, $xx; return "{$m[1]}<a class='link' href='mailto:{$m[2]}@{$m[3]}.{$m[4]}?subject=$sda%20-%20".str_replace(' ','%20',$tit)."'>".($m[5] ?? $xx['vws_send_mail'])."</a>{$m[6]}"; },$html);
. . .by . . .
$html = preg_replace_callback($rxEML,function ($m) { global $tit, $sda, $xx; return "{$m[1]}<a class='link' href='mailto:{$m[2]}@{$m[3]}.{$m[4]}?subject=$sda%20-%20".str_replace(' ','%20',$tit)."'>".($m[5] ?: $xx['vws_send_mail'])."</a>{$m[6]}"; },$html);
Or, which is much simpler., just replace the ?? before $xx['vws_send_mail'] by ?:
This will solve the problem.
Roel
Hi,
Sorry for the delay (notification problem).
I tried to edit /common/toolbox.php and replace line 13 ; but, the bug is the same.
Please, do you have any other idea ?
Or, maybe, how to disable that feature ?
Thank you
Hi Maxime,
This is a known anomaly and will be solved in the next LuxCal version. But in the mean time . . . .
Edit the file /common/toolbox.php and replace line 13 . . .
$rxEML = '~(^|\s)([^@\s]{1,40})@((?:[^@\s\[]{2,50})+)\.(\w{2,6})(?:\s*\[([^<>\[]*?)\])?(\.|\s|<|$)~im'; //jd@skyweb.com [title]
. . . by . . .
$rxEML = "~(^|\s)([\w!#$%&'*+/=?`{|}\^\~\-]{1,64})@((?:[a-z0-9-]{2,50})+)\.(\w{2,6})(?:\s*\[([^<>\[]*?)\])?(\.|\s|<|$)~im"; //jd@skyweb.com [title]
Use cut and paste
Thereafter the problem should be solved
Roel
You could specify an email address like this: test@test.dk [test@test.dk]
This is a "workaround" - I think it should be possible to specify just a mailaddress.
Wait for a better answer from Roel.
Hi,
Since last LuxCal, any e-mail address written into an event's description is replaced by "<a class='link' " etc... like before, but ; it's broken, and, e-mail address disapears (only the html code is readable).
Please, how can I fix it, or disable that feature ?
Thank you
LuxCal Web Calendar → Problems → Mail address replaced into description → Post new reply