adriantudor78

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 170 total)
  • Author
    Posts
  • in reply to: EventON button missing #328344
    adriantudor78
    Participant
    Not working :) I would like to display only the events that are saved in that course. The course "Test Badge 3" has no event atached. https://live4life.ro/course/test-badge-3/events PS: Same for registered users/students
    in reply to: Time zone and appointments #328240
    adriantudor78
    Participant
    WOW so big surprise :) Thanks!!!!
    in reply to: Badges are awarded even if they are disabled #327771
    adriantudor78
    Participant
    I don't know if is good or not, but my idea is to empty the vibe_course_badge parameter when vibe_badge is set to H
    in reply to: Time zone and appointments #327496
    adriantudor78
    Participant
    Any progress?
    in reply to: Badges are awarded even if they are disabled #327495
    adriantudor78
    Participant
    Hi @diana, I tried with deactivating badgeOS plugin, but no succes. Any other solution?
    in reply to: Time zone and appointments #326959
    adriantudor78
    Participant
    @diana, Almost 2 months have been passed and no progress?
    in reply to: Badges are awarded even if they are disabled #326958
    adriantudor78
    Participant
    Hi @diana, I'm pinging you, as per your request.
    in reply to: EventON button missing #326382
    adriantudor78
    Participant
    Hello, Do you have a solution? BR, Adrian
    in reply to: Badges are awarded even if they are disabled #326376
    adriantudor78
    Participant
    Hi @diana, Your script is working for the course sidebar only. But, the badge is still awarded at the end, after the new student finished that course. https://screencast-o-matic.com/watch/cYXTiVLHYs Thanks
    in reply to: Time zone and appointments #326346
    adriantudor78
    Participant
    Nothing here?????? Please help!!!! Tip no. 1 The "start_date" and "end_date" columns are wrong calculated in "wplms_appointments" table. That can be corrected in wp-content/plugins/wplms-appointments/includes/class.api.php: $a['date_start'] = $a['date_start']-$availability['timezone']2601000; $a['date_end'] = $a['date_end']-$availability['timezone']2601000; Tip no. 2 Why do you use "+6e4*F" in .js files? F=getTimezoneOffset() is a negative number. Therefore should be -6e4*F PS: Maybe that why you used wrong math like: $time = $appointment[0]['start_date']+60000$appointment[0]['start_time'] - $appointments_buffer_time60000 - 2*intval($post['timezoneoffset']); // subtract because we comare with date in current timezone
    in reply to: Badges are awarded even if they are disabled #325821
    adriantudor78
    Participant
    @diana Please share the code with me. Best regards, Adrian
    in reply to: Badges are awarded even if they are disabled #325339
    adriantudor78
    Participant
    This reply has been marked as private.
    in reply to: Time zone and appointments #325044
    adriantudor78
    Participant
    Hello @diana, Did you have time to analyse this?
    Dear @mr-vibe and @diana , As I said before I don’t want to migrate to v4 for the moment, as I worked too much and hard for the actual stable version of my website. At this moment I don’t want to start all over again. But, I think you can solve this issue very quickly, as you know very well your scripts. It’s not about the calendar. It seems it is a “-“ (minus) typing mistake in your script or something similar. That is where you INSERT the data INTO the wplms_appointments table. How do I deducted this? The main goal of the test: creating a Schedule from 1st January 2021 to 2nd January 2021, having the timeframe 07:00 AM – 09:00 AM, with 30 min. slots for a Student located in UTC Time. RESULTS 1. Instructor from UTC+2 (Bucharest) Front office 01 January 2021 @ 09:00 AM (UTC+2) 02 January 2021 @ 11:00 AM (UTC+2) Database start_date: 1609444800000 => 31 December 2020 @ 08:00 PM (UTC) end_date: 1609617540000 => 02 January 2021 @ 07:59 PM (UTC) Conclusion: 4 hours are missing for UTC+2, from both start_date and end_date (twice) https://screencast-o-matic.com/watch/cYXljUM58P 2. Instructor from UTC+1 (Amsterdam) Front office 01 January 2021 @ 08:00 AM (UTC+1) 02 January 2021 @ 10:00 AM (UTC+1) Database start_date: 1609452000000 => 31 December 2020 @ 10:00 PM (UTC) end_date: 1609624740000 => 02 January 2021 @ 09:59 PM (UTC) Conclusion: 2 hours are missing for UTC+1, from both start_date and end_date (twice) https://screencast-o-matic.com/watch/cYXljKM5R5 3. Instructor from UTC+5.5 (New Delhi) Front office 01 January 2021 @ 12:30 PM (UTC+5.5) 02 January 2021 @ 14:30 AM (UTC+5.5) Database start_date: 1609419600000 => 31 December 2020 @ 01:00 PM (UTC) end_date: 1609592340000 => 02 January 2021 @ 12:59 PM (UTC) Conclusion: 11 hours are missing for UTC+5.5, from both start_date and end_date (twice) https://screencast-o-matic.com/watch/cYXlQhMEc6 4. Instructor from UTC Front office 01 January 2021 @ 07:00 AM (UTC) 02 January 2021 @ 09:00 AM (UTC) Database start_date: 1609459200000 => 01 January 2021 @ 12:00 AM (UTC) end_date: 1609631940000 => 02 January 2021 @ 11:59 PM (UTC) PERFECT !!!!! Conclusion: 0 hours are missing for UTC+0 (twice 🙂 as well) https://screencast-o-matic.com/watch/cYXljkM59t 5. Instructor from UTC-3.5 (Newfoundland) Front office 01 January 2021 @ 03:30 AM (UTC-3.5) 02 January 2021 @ 05:30 AM (UTC-3.5) Database start_date: 1609484400000 => 01 January 2021 @ 7:00 AM (UTC) end_date: 1609657140000 => 03 January 2021 @ 06:59 AM (UTC) Conclusion: 7 hours are ADDED for UTC+5.5, in both start_date and end_date (twice more) https://screencast-o-matic.com/watch/cYXl6sMEDx 6. Instructor from UTC-8 (Pacific Time) Front office 31 December 2020 @ 23:00 AM (UTC-8) 02 January 2021 @ 01:00 AM (UTC-8) Database start_date: 1609430400000 => 31 December 2020 @ 04:00 PM (UTC)* end_date: 1609516740000 => 03 January 2021 @ 03:59 PM (UTC) Conclusion: 16 hours are ADDED for UTC+8, in both start_date and end_date (twice more) * The start_date is correct to be 31 December, as long as the start_time for the first slot is 1860 (=31 h). 31 Dec @ 00:00 + 31H = 01 Jan @ 07:00 https://screencast-o-matic.com/watch/cYXlXqMEYG PS: in all scenarios I tested, both columns start_time and end_time seem to be good PS2: please help me with other 2 issues I have, but I received no answer from you yet: https://wplms.io/support/forums/topic/eventon-button-missing/ https://wplms.io/support/forums/topic/badges-are-awarded-even-if-they-are-disabled/ BR, Adrian
    in reply to: EventON button missing #325043
    adriantudor78
    Participant
    Ok, but can you help me to not display all events on the course status page? I would like to display only the events that are saved in that course. Please see in this video that a course that have no events is showing all events from the website https://screencast-o-matic.com/watch/cYXblyLi1q
    in reply to: Badges are awarded even if they are disabled #325037
    adriantudor78
    Participant
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 170 total)