326

(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.

331

(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

332

(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

333

(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

336

(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

339

(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

340

(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

341

(4 replies, posted in Need Help)

Ok, great Tony smile

342

(4 replies, posted in Need Help)

Hi Tony,

That's quite possible. Maybe your provider upgraded PHP and maybe it's time also to upgrade the LuxCal calendar.
What calendar version are you using?

Roel

Hi there,

I had a look at your PonyCal and have the impression that your PHP sessions are not working.
Could you send me your email address (via the Contact Us page); I will then send you a small script to test your PHP sessions.

Roel

344

(2 replies, posted in Problems)

Hi Scunder,

Last week there was a calendar user with exactly the same problem and the good news is that I know how to solve it wink
There are two possibilities:
1) You upgrade to the latest version + this fix. This is a version I can send you (if you send me your email address).
2) You go to your server and use phpMyAdmin and in all tables of the calendar database change all fields which are set to "default Not null" and have no default value to "default Null". Altogether this has to be done 17X (sigh).

If you want to upgrade, which I of course recommend, let me know your email address and I will send you the latest calendar version with the "SQL strict" fix and instructions how to do this.

I of course would not mind if at the same time you translate the new texts in the language files of the upgraded calendar smile

Roel

345

(5 replies, posted in Problems)

Hi Piotr,

Yes, your session problems are fascinating wink

Send me your email address (via the Contact Us page) and then I will send you a simple PHP script to test the PHP sessions.

No sessions, no calendar sad

Roel

346

(5 replies, posted in Problems)

Hi Piotr,

I assume PHP sessions are enabled. So the problem is almost certainly the session.save_path (wrong directory or permissions not correct).
I think you should just tell your provider that your PHP sessions are not working and ask them to solve this problem. And maybe give them a hint that it is probably due to a wrong session.save_path.

Often one can select a PHP version in the control panel of your web host. If this is possible you could try to switch to a different PHP version, for which the session.save_path has been set correctly. (each PHP version has it's own session.save_path, so it is quite possible that an other PHP version works fine).
The LuxCal calendar runs with PHP V5.4 or higher.

Roel

347

(5 replies, posted in Problems)

Hello Piotr,

There are basically two possible reasons for PHP sessions not to be working:

1) sessions are not enabled in the PHP installation, which is very unlikely because many PHP web applications use sessions.
You can check if sessions are enabled by uploading a script containing . . .

phpinfo();

. . . to the calendar root on your server and start it with your browser. It will show you the PHP installation details. Now scroll down to (or search for) SESSION and check the first line.

2) the session save path (session.save_path) is incorrect. In more than 99% of the cases this is the problem.
In the same PHP installation details as above, some lines down, you will find the variable session.save_path (see screenshot). In my case it is "/tmp". I don't know what it should be in your case, maybe "/tmp", maybe not. You can change the value in the php.ini file (if you have access to that file).

Hopefully this solves your problem. If not, let me know and I will try to help.

Roel

We are currently solving this problem by email.

Roel

349

(2 replies, posted in Need Help)

Hi there,

It works as follows:
- create in the calendar root a folder called (for instance) "images"
- upload your logo.jpg file to this images folder (max. image size 70 x 70px)
- on the Settings page, under General, specify Path/name of logo image like this: "images/logo.jpg"

If this is what you did, could you please send me a link to your calendar, so that I can have a look. You can send me the link by email if you prefer.

Roel

Ah, I see.
This was a security risk in the 'old' LuxCal versions. Anybody could edit an event this way.
In the newer versions this is not possible anymore.
But since you are familiar with tailoring the calendar, I will explain what could be done:

The link to open an event in edit mode is . . .
http://<your calendar URL>?xP=31&action=edi0&eid=2957&evD=2019-05-17
The part &evD=2019-05-17 is optional (only required to edit a single occurence of a repeating or multi-day event).
However when you use this link from outside the calendar, you will get the message "you are not authorized to perform this action".
This message can be avoided by editing the file "pages/events.php" and at the end of the file, in the if-statement at line 459, replace "$mayEdit" by "true".

Roel