Hi there,
The last problem is a known problem and the solution can be found in this forum under Known Issues and Fixes.
Roel

Hi there,

What calendar version are you using?
Did the Single Sign On work before?
And if so, when did it stop working? Did it stop working after an upgrade of the calendar?

Roel

Hi Greg,
What calendar version are you using?
If you are using the MySQL version, then PHP on your server must have the PDO-MySQL driver enabled.
If you are using the SQLite version, then PHP on your server must have the PDO-SQLite driver enabled.
Most of the times both drivers are enabled by default. Some web hosts have an option in cPanel where you can enable these drivers.
Roel

Hi Jim,

You will need to change the PHP code to remove this. If you really want to do this, edit the file "common/header.php" and delete line 232 completely.
Line 232 looks like this:

<p onclick=\"index({cP:21});\">{$xx['title_profile']}</p>

Roel

155

(1 replies, posted in Need Help)

Hi Roman,
When you select one category in the Options Panel (top left of the page and then click PDF File - Events, you will only get the events in the selected category in your PDF file.
Isn't that what you need?
Roel

156

(3 replies, posted in Need Help)

Hi Julia,
This is not possible  at the moment.
I can change one file to automatically insert the event owner's name and mail address in extra field 2, for instance. But it will be a dedicated change for you.

If you want me to do this, send me an email (via the Contact Us page) and tell me exactly what should be added, please.
I will then implement the change and send you the changed file.
Roel

157

(1 replies, posted in Problems)

Hi there,
You are testing the limits of the LuxCal calendar. Great wink
And yes, you found a (kind of) bug. It is currently not possible to have the values 1 and 11 in the same "View buttons on navigation bar" list.
Note: All specified values must also be present in the option "Available calendar views" (which is just above).

When you edit the file pages/settings.php and change line 30 from . . .

if (substr_count($buttons.',',$buttonNr.',') > 1 or strpos($range.',',$buttonNr.',') === false) { return false; }

to . . .

if (substr_count(','.$buttons.',',','.$buttonNr.',') > 1 or strpos($range.',',$buttonNr.',') === false) { return false; }

It should work fine.

I will change this for the next calendar version.
Roel

158

(3 replies, posted in Need Help)

Hi Julia,
That's a good point. As you will have noticed, email addresses are automatically converted to an email link.
At the moment I have no better solution than this: julia[at]gmail.com.
Roel

159

(2 replies, posted in Need Help)

Hmmm, are you using the MySQL version or the SQLite version of the calendar?
Without admin rights, you cannot create a new admin account.

Apparently you have a .sql backup file of the calendar database. Could you send this file to me by email (via the Contact Us page), or at least the part where the 'users' table is created and populated.
I will then check if this part is correct and if necessary add a new admin user to it, which you can then import.
Roel

160

(2 replies, posted in Suggestions)

Hi there,
On the Search page, for users who have at least read access to the calendar, there is no limitation on User Group (note: this is the group to which the event owner belongs), so in other words: a user with read access can search the events of all users. However . . . .
• A user can never search a private event of another user (if you can, please give me details).
• But there can be limitations on event categories: For each User Group it can be specified which event categories can be seen and be searched by the users in this group and in which categories they can create events. Have a look at the User Groups page and edit a group!
IMPORTANT: The categories that can be seen and to which events can be added is always the sum of categories that can be seen (or added) by the Public User And the categories specified for the group to which the user belongs! (because giving the Public (not logged in) user more rights than a logged in user doesn't make sense).

I hope it is clear and it helps wink
Roel

161

(7 replies, posted in Need Help)

LuxCal supports SMS carrier APIs, which require for each SMS an email in the following format:

<pre><mobile number><post>@<smscarrier.xxx>

where:
<pre> is optional free format text required by some carriers
<mobile number> is the SMS destination
<post> is free format text, often a passwprd required by the carrier
<smscarrier.xxx> is the SMS carrier mail address

The email message is the SMS message to be forwarded to the destination.

IMPORTANT: Sending SMSes cost money. sensing emails is free.
Roel

When you are logged in and select your user name and then User Profile, an SQL error may occur.

To solve this, edit the file "pages/account.php" and on line 73 remove the text ",`number`" (in the middle).
So thereafter line 73 should be:

$stH = stPrep("SELECT `ID`,`name`,`email`,`phone`,`language` FROM `users` WHERE `ID` = ?");

163

(2 replies, posted in Problems)

Yes correct.
I tried to reproduce the problem, but used English and all worked fine. So I knew it had to be a language problem.
I will update the Spanish language file.
Roel

164

(2 replies, posted in Problems)

Hi there,

You found a anomaly in the account script. Please do the following:

Edit the file "pages/account.php" and on line 73 delete the text ",`number`" (in the middle of the line).

So line 73 will now look as follows:

$stH = stPrep("SELECT `ID`,`name`,`email`,`phone`,`language` FROM `users` WHERE `ID` = ?");

That's all.
Roel

165

(2 replies, posted in Problems)

Hi Mustafa,
On the admin's Category page, when you edit an event category and activate the Check mark (3rd from the bottom),  in the calendar views all events in this category will get a check mark in front of the event title. This check mark can be used to "tick off" the event, when it's done. In the side menu (☰ ) you can select "Todo", which will show a list with the events that are not "ticked off" yet.
Roel

Sooner or later this happens to all of us Greg wink

Cheers,
Roel

Hi Nem,
Could you send me the .sql backup file (via the Contact Us page). I will then try to upgrade the file and send it back to you.
Roel

Hi Nem,
How did you backup the V4.5.2 database to a .sql file? Did you use the calendar's database page to make the back up or did you use a tool (like phpMyAdmin)?

If you used the calendar's database page to make the backup, you should also use the database page of the V5.1.1 calendar to restore the backup file in the new calendar.
If you used for instance phpMyAdmin, you should also use phpMyAdmin to import the backup file in the new calendar and thereafter run the calendar file upgrade511.php (for example: https://your.website.com/calendar/upgrade511.php).
If you run into troubles, you can also send me your V4.5.2 database backup file (.sql file) by email via the Contact Us page and then I will upgrade the database for you to V5.1.1 and return the upgraded file to you.
Roel

Highlights

This new LuxCal version 5.2.0 includes interesting new features, improved technical issues and bug-fixes.
Most important new features / improvements:
• Two authentication bypass vulnerabilities, which could be exploited by a software expert to acquire admin access to the calendar have been remedied.
• In the event window a "No Time" checkbox has been added, which can be checked for events for which the time is unimportant.

As usual, this new release has been tested with the help of John from Denmark. Thank you John!

Hereafter you will find a full summary of all changes since LuxCal version 5.1.1.

New features/Improvements
• In the event window a "No Time" checkbox has been added just below the "All Day" checkbox. When No Time is checked, the start and end time fields will be hidden and in the various calendar views neither the time of the event, nor the text "All day", will be shown.
• Two authentication bypass vulnerabilities, in the calendar and in the displays, which could be exploited by a computer software expert to acquire admin access to the calendar have been remedied.
• A new setting has been added in the Views section of the Settings page, which can be used to enable/disable the display of the current date on the top bar of the calendar views. For narrow screen devices, because of lack of space, the current date has been removed from the top bar.
• For the Side Panel a new check box "Today" has been added in the Views section of the Settings page. When this check box is checked, the Side Panel will always use the date of today and when unchecked, the Side Panel will follow the date currently selected in the main calendar.   
• In the configuration section of the Upcoming Events and Birthday Calendar PDF print scripts, when the calendar ID setting is left blank (""), the current calendar will be taken (rather then the default calendar, as in the past).
• Date picker and time picker look enhanced and a few minor HTML flaws fixed.

Technical issues
• When a cron job is running daily and no cron services are active (no email, no SMS, no reports) the cron job summary will show a message "No reminders or periodic services active".
• When the cron job processing fails due to the security checks, the log message now shows which of the security checks failed, i.e. local cron started from a remote server or remote cron IP-address mismatch.
• scrollY function renamed into scrollV (vertical). scrollY is a reserved JavaScript word.
• When producing PDF prints and on the Settings page a logo path has been specified, the software now checks if the logo file is available on the specified path.
• A minor error in the calculation of the "to" date has been corrected. At the same time the "from" and "to" date calculation functions have been combined in one calcFTDate function.
• The height of the date input fields used to select the date bracket for PDF prints has been made proportional to the selected font size.
• During a calendar upgrade, the old 'sml' format of email links in the text1, text2 and text3 fields of the events table is now converted to the new format.
• The regex used to parse the text for the birthday calendar has been simplified. It is now possible to use round brackets in the birthday text between the #-characters.
• In past calendar versions, the text "[cd]" was replaced by the current event date because at that time this date was used by the email links. This is not done anymore and therefore the PHP code for these replacements has been removed.
• Further PHP 8 compatibility improvements (mktime function).
• The lctools.php script has been removed from the calendar's installation package. Creating multiple calendars can be done easily via the  installxxx.php script.

Bug fixes
• In the event report, which is opened when an event is clicked, events for which a sub-category has been selected are not shown in the sub-category color.
• When adding an event in an event category for which "No overlap allowed" has be set to "same category", an SQL error occurred. (This problem was introduced when adding the event type).
• Because of a stray variable ($eStyle), when an event with a URL in one of its description fields was shown in the side bar, a PHP Notice was produced.
• In the PDF Birthday Calendar portrait/landscape window, the labels of the radio buttons could not be clicked. Solved.
• The function to make the event repeat text produced "Rolling" when Repeat every xth weekday of month y was selected. (Missing break; in the switch statement).
• The problem with the left margin on landscape and portrait PDF prints, when a page break falls in the middle of the event body, is solved.
• The validation of GET variables has moved to after getting the settings, because if a GET variable is not valid, an alert message is shown, which uses some settings. For the same reason, the loading of the winXP variable is moved to before validating the GET variables.

170

(7 replies, posted in Need Help)

Hi Mustafa,
Answers to your questions:
1. I don't know. The best way is to search the web and look what other Nowegians suggest. Before you sign up with a provider (SMS carrier) you should always ask them for a trial user account with some credits (e.g. 1 €) so that you can test if it works with the LuxCal calendar.
2. By checking and reading the documentation on their websites.
3. LuxCal works via an API which sends an email. The email address part before the @ can contain a username/password, or user ID and the part after the @ is the SMS carrier (the provider). You can see examples by going to the calendar's Settings page and in the section Reminders - SMS hover over "SMS carrier template".
Roel

171

(2 replies, posted in Need Help)

Hi there,
I don't understand what you mean. In which calendar should I look?
Roel

172

(3 replies, posted in Need Help)

Huh, did I fix it!?

I just tried to analyze the problem. I'm not aware that I fixed something wink
Roel

173

(3 replies, posted in Need Help)

Hi Mustafa,
No, there is no need to contact Tech Support of your webhost. This is a calendar problem.
Are you using the latest calendar version 5.1.1?
Does this happen for events in all categories?
I have the feeling that this happens for event for which the category has "No overlap allowed" activated. Can you check this please.
Could you send me the file "logs/sql.log" via the Contact Us page.
Roel

Hi Mustafa,
I think on the Category page, for the Event categories you have created, you have checked "Day color". In that case the whole day gets the color of the event category.
What you should do is the following:
Edit the categories you created and for each category UNcheck "Day color (year/matrix view)" and "Day color (month/week/day view)".
On the Settings page set "Event colors based on" to "Event category" (as it originally was).
Roel

175

(2 replies, posted in What's New)

So far nobody ever asked.
It seams that the punBB forum software provides no means to change the user password. Even I, as administrator, have no option to do so.
I'm sorry for this.

If it is really important, I suggest to create a new use account.
Roel