Hi guys,
I've sent Lucas the changed files and instructions to create a birthday calendar. If someone else is interested, drop me a mail (Contact US page).
Roel
You are not logged in. Please login or register.
LuxCal Web Calendar → Suggestions → integration of birthday overview script with LuxCal? → Post new reply
All fields with bold label must be completed before the form is submitted.
Hi guys,
I've sent Lucas the changed files and instructions to create a birthday calendar. If someone else is interested, drop me a mail (Contact US page).
Roel
Hi Roel,
Great! Let's go for display 1.
Greetz, Lucas
Hi Lucas,
The modification is available.
Roel
Hi Roel,
Great, that is exactly how it should be!
the moment your modification is available,
I will focus on further optimizing the already available display for this (thank you: fbonani and schwartz)
and make a new display with some additional options for displaying some variations of the birthdaylist as well.
Best regards, Lucas.
Hi Lucas,
Example:,
You create an event with title "Harry Potter" for the 16th of May and a description field you put "2003" and for this event category (birthdays) you check the "show age" checkbox (the checkbox I propose to add).
Now each time the event is displayed, the software will make the calculation 2020 - 2003 = 17 and add "(17)" to the event title. So in 2021 the event title will be "Harry Potter (18)" and in 2026 the event title will be "Harry Potter (23), and so on.
Roel
Hi Guys,
What I could do for you is the following:
For the event category "birthday", where the Repeat is set to "every year" I can add a check box "show age". When this check box is selected, the software will look in the event description field and if it finds a "year" (1987, 2013, etc.) it will automatically add the age to the event title. So the title could look as follows:
Harry Potter's birthday (2003)
Or something similar.Would that help?
Roel
Hi Roel,
For sure that would make things already a lot easier!
Ideally, if in the event description the birth year is mentioned (for example 2003),
the 2020 event title showing up in the display should be "Harry Potter (17)"
and the 2021 event title showing up in the display should be "Harry Potter (18)".
Regards, Lucas.
P.S.: Am I correct you intend to make a kind of combination of the "day" and "month" of the initial (first) birthday event in combination with the birthdate year that is mentioned separately in the event description?
Hi Guys,
What I could do for you is the following:
For the event category "birthday", where the Repeat is set to "every year" I can add a check box "show age". When this check box is selected, the software will look in the event description field and if it finds a "year" (1987, 2013, etc.) it will automatically add the age to the event title. So the title could look as follows:
Harry Potter's birthday (2003)
Or something similar.
Would that help?
Roel
OK.
Will start working on it .
Hope to present a possible solution within one week or so.
Regards, Lucas
Great example, looks very nice !!!
The addition I am still looking for in the sidepanel,
is to also show how young/old someone has become.Perhaps an extra birthdate-line in the event-window could do the trick here.
Afterwards, the related field can be grabbed from the database to "calculate" and display how young/old someone will be.Regards, Lucas
Thank you. Your modification sounds great...looking forward to looking at it.
Great example, looks very nice !!!
The addition I am still looking for in the sidepanel,
is to also show how young/old someone has become.
Perhaps an extra birthdate-line in the event-window could do the trick here.
Afterwards, the related field can be grabbed from the database to "calculate" and display how young/old someone will be.
Regards, Lucas
With the help of Schwartz, I was able to integrate a birthday list in my calendar. In order to do that, if completed the following steps:
1. Changed the settings in the Views section to show a sidepanel with Info area checked
2. Logged onto the server and under the configs folder, copied one of the displays from the ”configs” subfolder “samples” to the “configs” folder.
3. Made necessary changes to the display form to indicate my preferences. Read the displays.html in the configs folder for details
4. In the sidepanel folder on the server, copy one of the text files in the samples folder and place it in the sidepanel folder
5. The code you will need there is <iframe height="600" width="275" class="display" src="display3.php?cnf=display3a"></iframe> The display3.php file is the display I want to display and the ?cnf=display3a is the file I copied from the configs sample folder to the configs folder.
The calendar can be viewed here.
Hopefully the directions were clear enough.
Hi Roel,
In the meantime I have followed your advice to upgrade the calendar to the 4.7.8 version.
And I have done some tweaking to the display as well. Indeed the issue with "PHP session expired" message, is solved now.
All seems to be in perfect shape and is running smoothly.
I am diving into your script to see what modifications need to be made exactly to get a birthday overview list in place.
Registered users
If we are talking about registered users, we need to capture their first name, their last name as well, as at present users are registered with only a self-choosen username. Also we need to capture their birthdate as well, as we also would like to show in the birthday overview not only a name, but also how young-old a person has gotten. I guess that for registered users this could be done with a small extension of the user registration form.
Capture names and birthdates of other persons as well
This looks a bit more difficult. In my example the registered users are teachers that also would like to make a list with birthdays of their pupils.
However, these pupils are (and wil stay) non-registered users of the calender script. They just visit a homepage where they can see what birthdays are ahead. So here we have to find a solution (that probably does not use the user registration form to save first names / last names and birthdates ...)
To be continued .
Hello Lucas,
First a little note: I suggest to upgrade to the latest LuxCal version 4.7.8. In the calendar sidebar of your current verion, when you click an event, then you get a message "PHP session expired". This problem has been solved in the latest version.
Your question about integrating a birthday calendar with the LuxCal calendar: Yes, I think this makes sense! As already mentioned by Schwartz, actually LuxCal has a number of so-called displays (see LuxCal website - LuxCal Displays). Displays are almost the same as the sidebar you are currently using, but they are very easy to use and highly configurable (user interface styles and content). With the displays of the last LuxCal version, you have the option to force the users to log in. So you could have a calendar category "public birthdays" and another category "private birthdays" and then have a display with the public birthdays, where users don't need to log in and another display with a log in button, where users will have to log in to see the birthdays.
Alternatively, if you prefer, you can also have one single birthday display where public users will see the public birthdays and when logged in they will in addition see the private birthdays.
When you decide to go into this direction, then I or Schwartz (he knows exactly how it works), can help you.
Kind regards,
Roel
Hello Lucas,
I've been very busy lately with other IT matters the last couple of days. I have read your post and will reread it again tomorrow and come back to you with more details or questions
Grüße,
Roel
Guys,
I think that if Roel would be able to extend the "add user template" and the database with 3 additional fields, we can easily get there.
-- new user field 1: first name
-- new user field 2: last name
-- new user field 3: birthdate.
When these extensions are available, I can easily adapt my PHP-file to use the above mentioned new user fields
as input for the birthday overview script.
Regards, Lucas
LuxCal Web Calendar → Suggestions → integration of birthday overview script with LuxCal? → Post new reply