Tuesday, 28 January 2020
  7 Replies
  672 Visits
0
Votes
Undo
Hello,

I'm using the Custom Layouts feature to customize the Event Detail Page. I want to show how old get my web users in that Event Detail Page, by using the "Birthday Age" field, but seems JEVAGE tag doesn't calculate it well when people is older than 50 years (now at 2020). Birthday events are imported from a Google Calendar using the URL method, and it's working fine with young people. The repetitive event is created at the borning year, but it seems the code only takes into account borning dates from 1970.

Is my feeling correct? Is there an easy way to edit some code and workaround the bug?

Thank you!
5 years ago
·
#214742
0
Votes
Undo
Hello,

This is a native Linux calculation it's from 1970 when computers were born they don't be back before 1970 :/.

Is this for JEvents Tags using Birthday Age field is that correct? Can we see a screenshot of your setup?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#214753
0
Votes
Undo
I think you're asking me for that:


PHP Version : 7.2.5
MySQL Version : 5.5.5-10.1.26-MariaDB-0+deb9u1
Server Information : Linux vxhcg-24.srv.cat 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Joomla : 3.9.14
component_com_jevents : 3.4.50
component_com_jce : 2.8.3
module_mod_jevents_cal : 3.4.50
module_mod_jevents_custom : 3.4.50
module_mod_jevents_filter : 3.4.50
module_mod_jevents_latest : 3.4.50
module_mod_jevents_legend : 3.4.50
module_mod_jevents_switchview : 3.4.50
plugin_content_jevents : 3.4.50
plugin_finder_jevents : 3.4.50 (not enabled)
plugin_installer_jeventsinstaller : 3.4.50
plugin_search_eventsearch : 3.4.50
plugin_system_gwejson : 3.4.50


And here it is my customized code using Birthday Age field (in bold):

{{Títol:TITLE}}
Descripció: {{Descripció:DESCRIPTION}}
Informació extra: {{Informació extra:EXTRAINFO}}
Anys: {{Birthday Age:JEVAGE}}
Calendari: {{Categoria:CATEGORY}}

It's the only untranslated field I'm using. Could it mean something...?

Thanks
5 years ago
·
#214757
0
Votes
Undo
Hello,

So I've checked this. I've created an event which started in 1968 and also 1971, repeated yearly and it shows the correct ages always

Can you give me logins and how to recreate the issue please? See:
https://www.dropbox.com/s/ruodwhqjlopvq3z/Age_Field_Test.mkv?dl=0

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#214764
0
Votes
Undo
Hello,

Thanks for your time and feedback. I've done some testing after your video reply.

- Component generated events before 1970 don't fail at all in my site, as you pointed.

- Imported google calendar events still "failing", obviously, because of the imported wrong data (please, see images). I'm sorry I didn't realize that before.

So I think it's clearly an issue on the importation routine (a bug in the code or a limitation with old dates in some system, methods or variables, as you pointed too).

I can edit all this wrong dates one by one, but I guess I'll lose the changes when I'd need to synchronize the calendar...


Jordi
5 years ago
·
#214767
0
Votes
Undo
Oh ok, can you please send me a copy of the ical export link from google and I'll test that as part of an import?

tony at jevents . net

Please.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#214784
0
Votes
Undo
You already got it!

Thanks
5 years ago
·
#215063
0
Votes
Undo
Hello,

Can you confirm you are receiving my e-mails at the inbox you told me?
- 30/1/2020 at 22:13
- 10/2/2020 at 13:06.

Thank you
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.