• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Academy Learning Management System

Academy Learning Management System Version 6.6 – 20 February, 2024

No permission to download
Version 6.7 – 1 April, 2024

- AamarPay payment gateway added
- Flutterwave payment gateway added
- Tazapay International payments gateway has been added.
- More minor issue fixes


Update needed, thanks.

In the previous update, Wasabi, BBB live settings are not working
 

Attachments

  • update_6.7.zip
    235.9 KB · Views: 29
  • Like
Reactions: Oworock
Thank you so much, it solved the problem i'm facing.

Also if anyone has the Bootcamp addon should please share.

Thanks to everyone.
 
1705111380813.png
I updated with a date error like this
Can anyone guide me to fix it?
Thanks

Hello,

in file /application/models/Crud_model.php
find function:
=====================================================
Code:
public function get_total_duration_of_lesson_by_course_id($course_id)
{
$this->db->select('SEC_TO_TIME( SUM( TIME_TO_SEC( `duration` ) ) ) AS timeSum ');
$this->db->where('course_id', $course_id);
$query = $this->db->get('lesson')->result_array();
return $query[0]['timeSum'] . ' ' . get_phrase('hours');
}
=====================================================

and replace all by:
=====================================================
Code:
public function get_total_duration_of_lesson_by_course_id($course_id)
{
$total_duration = 0;
$lessons = $this->crud_model->get_lessons('course', $course_id)->result_array();
foreach ($lessons as $lesson) {
if ($lesson['lesson_type'] != "other" && $lesson['lesson_type'] != "text") {
$time_array = explode(':', $lesson['duration']);
$hour_to_seconds = $time_array[0] * 60 * 60;
$minute_to_seconds = $time_array[1] * 60;
$seconds = $time_array[2];
$total_duration += $hour_to_seconds + $minute_to_seconds + $seconds;
}
}
// return gmdate("H:i:s", $total_duration).' '.get_phrase('hours');
$hours = floor($total_duration / 3600);
$minutes = floor(($total_duration % 3600) / 60);
$seconds = $total_duration % 60;
return sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds) . ' ' . get_phrase('hours');
}
=====================================================
 
Hello,

in file /application/models/Crud_model.php
find function:
=====================================================
Code:
public function get_total_duration_of_lesson_by_course_id($course_id)
{
$this->db->select('SEC_TO_TIME( SUM( TIME_TO_SEC( `duration` ) ) ) AS timeSum ');
$this->db->where('course_id', $course_id);
$query = $this->db->get('lesson')->result_array();
return $query[0]['timeSum'] . ' ' . get_phrase('hours');
}
=====================================================

and replace all by:
=====================================================
Code:
public function get_total_duration_of_lesson_by_course_id($course_id)
{
$total_duration = 0;
$lessons = $this->crud_model->get_lessons('course', $course_id)->result_array();
foreach ($lessons as $lesson) {
if ($lesson['lesson_type'] != "other" && $lesson['lesson_type'] != "text") {
$time_array = explode(':', $lesson['duration']);
$hour_to_seconds = $time_array[0] * 60 * 60;
$minute_to_seconds = $time_array[1] * 60;
$seconds = $time_array[2];
$total_duration += $hour_to_seconds + $minute_to_seconds + $seconds;
}
}
// return gmdate("H:i:s", $total_duration).' '.get_phrase('hours');
$hours = floor($total_duration / 3600);
$minutes = floor(($total_duration % 3600) / 60);
$seconds = $total_duration % 60;
return sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds) . ' ' . get_phrase('hours');
}
=====================================================
nothing happen bro it is hours does not change
 
Guys i have error 500 when installing, im trying to install in a subdomain and the installation setup has some troubles finding the files in the bottom of the script (they dont exist), however when i fill in everything up to step 4 (admin part) then it redirects to error 500.

Anyone have a fix for this?
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock