Hi there,
No it's not possible to hide the Venue field, but what maybe could help to make things simpler is the following:
On the Settings page, in the section Views you can check the "Reduced event window" box and select Save settings.
Once you've done this, the lower part of the Add/Edit Event window will initially be hidden. If you need the lower part, you can click the "down arrow".
Roel
126 2022-03-05 00:38:04
Re: Adress/location field (1 replies, posted in Problems)
127 2022-02-26 13:16:42
Topic: LuxCal 5.2.0 SQL error Invalid datetime format when upgrading (0 replies, posted in Known Issues and Fixes)
When upgrading to calendar V5.2 or when restoring a databse backup file via the Database page, depending on the MySQL database configuration, the following SQL error message may occur:
SQL query error: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: ''
Query string: UPDATE `mycal_settingsX` SET `value` = '' WHERE (`name` = 'spMiniCal' OR `name` = 'spImages' OR `name` = 'spInfoArea') AND `value` = 0
This can be solved by editing the file "common/toolboxx.php" and on line 877 and 878 enclosing the values 0 and 1 in single quotes. In other words, change . . .
AND `value` = 0");
to . . .
AND `value` = '0'");
and change . . .
AND `value` = 1");
to . . .
AND `value` = '1'");
Roel
128 2022-02-26 13:08:29
Re: SQL Error when restoring database (3 replies, posted in Problems)
Hi Stefan,
Thank you very much for digging into this problem. I've changed this in the toolboxx.php file.
I will also add the solution to the "Known Issues" section of the forum.
(The SQL error message "Invalid datetime format" is very misleading, since there is no datetime involved.)
Roel
129 2022-02-26 13:02:35
Re: Kickoff import events dynamically via script (1 replies, posted in Suggestions)
Hello Karl-Heinz,
A new script would be needed for this, which directly converts .ics events into LuxCal events and add them to the database.
I will keep this in mind for a new calendar version.
Cheers, Roel
130 2022-02-24 15:53:53
Re: SQL Error when restoring database (3 replies, posted in Problems)
Hi Stefan,
This problem has been reported twice before and so far I could not reproduce it and solve it.
For the other users it appeared that the problem occurred when they migrated to PHP 8.
And when they went back to PHP 7 the problem disappeared.
On the web I saw that many other people with different applications are having this same problem.
Are you using PHP 8? and if so, could you go back to PHP 7.4 and try the Restore again? and let us know your findings.
Roel
131 2022-02-22 10:36:12
Re: e-mail (3 replies, posted in Problems)
Hi Mustafa,
You should create a cron job on your server (in cPanel) which runs daily early in the morning (for example at 3:00) and which starts the lcalcron.php script in the calendar root.
Thereafter email reminders should work. Of course you will have to specify in the Event window that a reminder should be sent x days before the event date.
Note: open the file lcalcron.php in your editor and have a look at the description at the top of the file.
Roel
132 2022-02-20 20:00:14
Re: Text Search listing all User Groups (2 replies, posted in Problems)
Hi Frederick,
That depends . . .
If all events are private events, as is probably the case in your calendar, this could be done. But if not, a user might be interested to search for a specific topic posted by a manager or by the administrator. So in the latter case, the User Group drop-down menu will be needed.
Roel
133 2022-02-19 15:40:47
Re: New 'User Right' (2 replies, posted in Suggestions)
Hi there,
Sorry, this time I will have to disappoint you - no this is not possible
Roel
134 2022-02-19 15:38:50
Re: View month as calendar month (2 replies, posted in Need Help)
Hi there,
Yes, that's possible.
Go to the Settings page and in the section "Views" hover over "Weeks to show in Month view" (5th from the top) and have a look at the last two lines of the pop-up info.
Roel
135 2022-02-19 11:40:35
Re: Make every event 'Private Event' by default. (2 replies, posted in Need Help)
Hi there,
This can be done via the Settings.
Open the Settings page and in the section Events set "Posting of private events" to "always". Press save settings and you're done.
Roel
136 2022-02-19 11:32:15
Re: LuxCal 5.2.0 - MySQL and SQLite - released 15 Jan. 2022 (2 replies, posted in What's New)
Hi Stefan,
We're considering to add an option to the calendar to send reminder messages via a messenger. In this case the field msingID will be the ID of the sender.
I would prefer to use WhatsApp, but it has no free API, but for instance Telegram has a simple API and is free.
Roel
137 2022-02-16 11:09:57
Re: Sending SMSes / SMS carrier API (7 replies, posted in Need Help)
Forget sending SMSes; send emails.
If there is enough interest, at some point we may add the possibility to send Telegram messages from the calendar. Telegram is open source and has a good API. This would be much better, more flexible and free.
Roel
138 2022-02-10 23:34:58
Re: User Profile (4 replies, posted in Need Help)
Hi Stellan,
Yes correct, line 232.
You can turn the downside into an upside by editing the file common/toolbox.js and on line 254 change '40px' to '20px'
Roel
139 2022-02-10 16:01:24
Re: User Profile (4 replies, posted in Need Help)
Hi there,
There is no setting for this.
If you want, I can give you a simple software change to hide the "User Profile" option.
After all, the admin can access all user profiles through the calendar's Users page.
Let me know if you want this.
Roel
140 2022-02-09 10:55:15
Re: Correct carrier template setting for sending sms. (2 replies, posted in Problems)
Great John,
Thanks for letting us know!
Roel
141 2022-02-08 11:57:17
Re: Single Sign On - Outside of Main LuxCal Folder (17 replies, posted in Need Help)
Hi there,
The last problem is a known problem and the solution can be found in this forum under Known Issues and Fixes.
Roel
142 2022-02-06 17:51:50
Re: Single Sign On - Outside of Main LuxCal Folder (17 replies, posted in Need Help)
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
143 2022-02-04 23:43:53
Re: Database connection error: could not find driver (3 replies, posted in Need Help)
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
144 2022-02-03 11:12:11
Re: LuxCal 5.2.0 SQL error when opening User Profile (2 replies, posted in Known Issues and Fixes)
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
145 2022-02-02 23:44:59
Re: Filter and Print (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
146 2022-02-01 23:17:12
Re: Show email address in event? (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
147 2022-02-01 11:35:39
Re: Setting section button viewing. (1 replies, posted in Problems)
Hi there,
You are testing the limits of the LuxCal calendar. Great
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
148 2022-02-01 09:38:37
Re: Show email address in event? (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
149 2022-01-30 11:12:02
Re: changing admin sign in (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
150 2022-01-29 19:33:27
Re: Search - for PostOwn group user (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
Roel