Amazon S3 Addon
Academy LMS
Usage Guide
Copyright 2020 Creativeitem. All rights reserved.
Addon Installation:
Please follow the below steps to complete the installation process of
Amazon S3 Addon.
1. Before starting the installation process, we would suggest you to
check your application version. It has to be the latest one. For
checking the application you can move to About section from the
Settings menu.
2. If you are running the latest version, You are now good to go.
3. At first download the add-on you want to install on your
application from Codecanyon
4. Unzip the downloaded file.
5. You should get two folders inside. One is for documentation and
the other is for the addon file.
6. You do not need to change anything. Like renaming, removing or
something else.
7. Now get back to your application. Login as Admin role. After
logging in you will be able to keep following.
8. From the left navigation menu, Go to Addon Manager from the
Addons section.
9. You will find a list of addons you have so far.
10. Click on the “Add New Addon” button on the top. You should
redirect to an upload addon view.
11. That view will contain a single field called “Upload Addons
File”. Just upload the “[Link]” file.
12. After that hit the “Install Addon” button.
13. You should get a success message notification and you can also
see your installed addon on the “Installed Addon” list below.
Addon Usage:
If you’ve installed the addon successfully, You are welcome to this
section.
Set Up First:
After installing this addon, Admin has to set up the
Amazon S3 bucket first. Go to “S3 Settings” from the Settings menu
and provide the required credentials for setting up the Amazon S3
bucket. Make sure that you are providing valid credentials
otherwise it will not work.
Admin and Instructor Panel:
After setting up Amazon s3, Admin and instructor will get another
Lesson type enabled while adding or updating lessons.
Which is called “Amazon S3 Bucket”. Instructor and Admin will
be able to upload their system’s video file to the Amazon S3 bucket
through Academy. That uploaded video file will be added as a lesson.
N.B: There are a couple of things that should be checked before
uploading any video file. Check these below points on your server’s php
configuration.
1. max_execution_time
2. max_input_time
3. post_max_size
4. upload_max_filesize
FAQs
Question: How to increase Max_execution_time on server?
Answer: Max_execution_time determines the maximum time it will take to
execute a form. The straight answer of this question is to update the
Max_execution_time on php ini file. The location of the ini file depends on your
server. Like on most of the servers you can change it from MultiPHP INI Editor.
Click on MultiPHP INI Editor and choose your domain first and then search for
Max_execution_time. The default value of Max_execution_time is 30. Which
means 30 seconds. Increase it to at least 600 seconds.
Question: How to increase max_input_time on server?
Answer: max_input_time determines the maximum time it will take for an
input form. The straight answer of this question is to update the max_input_time
on php ini file. The location of the ini file depends on your server. Like on most of
the servers you can change it from MultiPHP INI Editor. Click on MultiPHP
INI Editor and choose your domain first and then search for max_input_time.
The default value of max_input_time is 30. Which means 30 seconds. Increase it
to at least 600 seconds.
Question: How to increase upload_max_filesize on server?
Answer: upload_max_filesize determines the maximum size for
uploading.You can update the upload_max_filesize from php ini file. The location
of the ini file depends on your server. Like, on most of the servers you can change
it from MultiPHP INI Editor. Click on MultiPHP INI Editor and choose your
domain first and then search for upload_max_filesize. The default value of
upload_max_filesize is 32M. Which means 32 Megabyte. The value of
upload_max_filesize depends on the videos you are going to upload via Amazon
S3. Let's say you’ve updated the upload_max_filesize value to 256M which
means 256 Megabyte. After that you will be able to upload videos which are below
or equal 256 Megabyte. Bigger than that will not be uploaded.
Question: How to increase post_max_size on server?
Answer: post_max_size determines the maximum size for all POST body
data.You can update the post_max_size from php ini file. The location of the ini
file depends on your server. Like, on most of the servers you can change it from
MultiPHP INI Editor. Click on MultiPHP INI Editor and choose your domain
first and then search for post_max_size. The default value of post_max_size is
8M. Which means 8 Megabyte. The value of post_max_size depends on the videos
you are going to upload via Amazon S3. Let's say you’ve updated the
post_max_size value to 260M which means 260 Megabyte. After that you will be
able to upload videos which are below 260 Megabyte. Bigger than that will not be
submitted. Because it will be submitted via a form. One last thing, make sure that
the value of post_max_size is bigger than upload_max_filesize.
N.B: Increase the value of those directives otherwise files will not be
uploaded.