Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields with bold label must be completed before the form is submitted.

Required information for guests


Required information

Topic review (newest first)

6

Hi,

Thank you, and, LuxCal 5.2.4M has a good fix too ; the upgrade works !

Thanks again smile

5

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

4

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

3

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 wink

Thereafter the problem should be solved
Roel

2

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.

1

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