326

(1 replies, posted in Suggestions)

Hi There,

No, that's not possible. Email notifications are sent directly when adding / editing an event and the "Send email now" check box is checked, or via the cron job, which runs once a day (early in the morning).

Roel

327

(4 replies, posted in Need Help)

Hi Sigmark,

Could it be that you are not using the latest LuxCal version? In the past the editor field was not updated when an event was deleted, but in the latest version this has been fixed. I just tested this in our test calendar and it works fine.

Roel

Hi Lucas,

When I click an individual event, the pop up window shows the event details wink
The change listed above is in a JavaScript file which are cached by the browser. So when the Brüder Grimm Schule page is loaded try refreshing the page (F5) to be sure the changed file is loaded. Thereafter it should be fine.

Roel

Hi Pierre / Lucas,

That's not easy.
The page would look rather strange, the weekends could fall in the middle of the screen and the location of the weekend on the screen would vary per month.

I doubt if this would be useful to other calendar users.

Roel

Hi Lucas,

Both are possible in the current calendar smile
Go to the admin's Settings page and in the section "Views" change "Weeks to show in Month view" to 0 or to 1. (Hover over the text "Weeks to show in Month view" for an explanation).
Now in Month view the calendar will always show one full month and with the left and right arrows at the top of the calendar you can skip to a previous or next month.

Roel

Ok, Lucas, here we go!

Edit the file "pages/event.php" and change line 216 from . . .

$nen = isset($_POST['nen']) ? ($_POST['nen'] == 'yes' ? 1 : 0) : 0; //notify Eml now

tp . . .

$nen = isset($_POST['nen']) ? ($_POST['nen'] == 'yes' ? 1 : 0) : 1; //notify Eml now

if you want the "Notify now" check box to be always checked, so when adding and when editing an event (just the "0" at the end changed to "1").

and to . . .

$nen = isset($_POST['nen']) ? ($_POST['nen'] == 'yes' ? 1 : 0) : (($mode == 'add' and !$refresh) ? 1 : 0); //notify Eml now

if you want the "Notify now" check box to be  checked only initially when adding an event.

Roel

Hi Lucas,

To have the "Send mail now" check box checked by default, is a minor change. I will have a look and if it's simple I will post the required change here shortly.
Sending all calendar changes (add, edit, delete event) to one or more email addresses is already possible: Open the admin's Settings page and in the section "General" check the check box "Send notification of calendar changes" and specify the email address(es) of the recipient(s).

Roel

Hi there,

You found a bug in the way the calendar deals with the "Posting of private events" setting.
I'll start working on a fix.
Send me an email and then I will send you one or two changed files with the fix.
Please mention in your email what calendar version you are using.

Roel

334

(3 replies, posted in Known Issues and Fixes)

Hi there,

Yes please, send me some iCal files which cause an error. You can use the email address on the Contact Us page.
If it is a bug in the calendar software. I will fix it and send you the file with the fix.

Roel

Hi David,

I had a careful look at the problem and I think you ran into a bug which has already been solved for the next calendar version 4.7.6.
You can fix this for your calendar version 4.7.5 by editing the calendar file "common/toolbox.js" and changing line 128 from . . .

    pars.cal1x = calID;

to . . .

    if (typeof calID !== 'undefined') { pars.cal1x = calID; } //if defined, use calID; but don't store in session

Thereafter the problem should be solved.

Roel

336

(1 replies, posted in Suggestions)

Hi there,

There is no mention of HTML tags for CSV files in the Edit Event window because importing CSV files has nothing to do with the Edit Event window.
However, the following HTML tags are allowed in imported CSV files: <a>, <b>, <i>, <u>, <s> and <img>.

Roel

Ten minutes will do smile

Roel

Hi there,

I had a look at the problem and my findings are the following:
- Your Black Friday events drops of November 2019, but is present as of November 2020. So it doesn't drop of completely wink
- It drops of November 2019 because you've put the start date to 29 November 2019, which is the fifth Friday of November 2019. So you have set the start date after the 4th Friday in November 2019!

So to solve this set the start date latest 22 November 2019 (which is the 4th Friday).

Roel

Hi there,

The Upcoming Events sidebar was especially designed to have the possibility to display the event details, when hovering an event, outside the sidebar space.
For display on a narrow screen device you should use one of the "displays". Try for instance on your mobile phone this link to LuxCal demo calendar display 3:
http://www.luxsoft.eu/luxcal/display3.php
When using a "display", when clicking an event the Event Report will open.

Roel

For those interested in JavaScript games:
We've added a new game "Mine Field to the Games page.
This is a new version of the very old Mine Sweeper game, produced in vanilla JavaScript. It can be run with your browser directly from your home computer or from a server. When ran from a server, there is a high-score list included. All details are in the download package.

341

(5 replies, posted in Need Help)

Hi Lesm,

Edit the file 'index.php' in the calendar root and change line 243 from . . .

if (empty($_SESSION[$calID]['cD'])) { $_SESSION[$calID]['cD'] = $today; } //empty: today

to . . .

if (empty($_SESSION[$calID]['cD'])) { $_SESSION[$calID]['cD'] = '1842-06-15'; }

. . . to go to June 15, 1842 for example.

Note: If on the admin's Settings page, in the section User Accounts, "Restore last user selections has been checked, the The "next" default page will be the last selected page.

This is the "fixed" solution. Do you want the option to set the date on the admin's Settings page?
If so, I will do it for you, because explaining what to do is as much work as doing it wink

Roel

342

(5 replies, posted in Need Help)

Hi Les,

Have you considered the following:
You can add "?cD=1842-06-15" to the calendar URL. This will bring you to the date specified in ISO format. So in this case June 15, 1842

I can also send you a very simple PHP code change to set the default date to a fixed date in the past.
If you often need to change the default date within the span you specified in your post above, then maybe a date input field should be added to the admin's Settings page. This is a bit more work, but still not very much.

So please let me know what you need and then we will take it from there.

Roel

343

(2 replies, posted in Need Help)

Hi Bill,

You found a bug in the time formatting of the calendar! Thank you for reporting this.
It's surprising, this bug has been there for many years and until today nobody complained. Apparently not many calendar users are interested in leading zeros.

The problem can be solved by editing the file "common/toolbox.php" and replacing line 59 . . .

 $phpFormat = str_replace(array('H','h','m'),array(($ampm ? 'h' : 'H'),($ampm ? 'g' : 'G'),'i'),$format);

by . . .

 $phpFormat = str_replace(array('h','H','m'),array(($ampm ? 'g' : 'G'),($ampm ? 'h' : 'H'),'i'),$format);

I will change this for the next calendar version.

Roel

Send me your email address and I will send you a PHP session test script. Thereafter we will take it from there.

Roel

Hi there,

Have you tried to refresh the calendar page  (F5) after upgrading?

Roel

346

(2 replies, posted in Need Help)

Hi there,
When you've exported and downloaded the .ics file from LuxCal, could you have a look at the content of the file and in particular to the "DTSTART" of a known event.
it will look like:

DTSTART;TZID=Europe/Amsterdam:20190713T200000

and the last 6 digits indicate the time in 24-hour format. Here you can see if LuxCal is producing the correct time, and consequently Outlook is adding one hour, or that LuxCal is producing a wrong time.

Roel

Hi there,

The LuxCal calendar can export a daily iCal file in the calendar's "files" folder. If the "other program" can read these files daily, it should be ok.
To set up the export of a daily iCal file, you will have to set up a cron job on your server (if not done already) to start the file lcalcron.php in the calendar root and on the admin's Settings page, under Periodic Functions, you should enable "Daily export of iCal events".
In the header of the lcalcron.php file you will find further details on how to set up a cron job on your server.

Roel

Yes, John is right.
And try refreshing the calendar page once (F5) to be sure the cache is refreshed after the upgrade to version 4.7.5.

Groeten,
Roel

349

(11 replies, posted in Problems)

Greg, I've sent you the upgraded V4.7.5 .sql file which you can import in your database of your V4.7.5 calendar using phpMyAdmin.
Roel

350

(2 replies, posted in Need Help)

Hi there,

For an unknown reason the sample csv files are not included in the latest LuxCal calendar version.
Send me your email address (via the Contact Us page) and I will send you the files.

Roel