First thing you want to do before installing MTDb is to create a new database on your mysql server. If you already know how to do this/or have already created one just skip to the next step.
Your host will most likely be running phpMyAdmin as mysql manager, if that's the case here's a step by step guide (if not the proccess will be very similar on other managers).
Login to your control panel, find and click phpMyAdmin link:
Click on the database tab in the top menu, enter any name you like and click create.
After creating a database, unzpip the .zip file you donwloaded from CodeCanyon and upload the contents of website folder to your server's root folder (usually called www or html or something similar) or a sub-directory.
Shared hosting providers usually have a web based file manager, but you should use something like Filezilla to do the upload as the web based managers can cause various problems fairly often.
Make sure that storage and all the sub-folders are writable by your server (have 777 permissions if you are on shared hosting). You can change files and folders permissions by right-clicking them in the filemanager, clicking file permissions, and then entering 777 in the permissions field.
Optional. Point your domain or sub-domain to "public" folder inside mtdb directory instead of mtdb directory itself. While this is optional, you should do it if possible to increase security and potentially avoid issues on some servers.
After you uploaded MTDb files, simply open up your site url and follow on-screen instructions to finish the installation.
With version 3.0 mtdb has been fully re-written, essentially it's now a different application to prior versions. This means that updating from versions prior to 3.0 is a bit more difficult.
If you don't need to keep data from older versions (users, links, watchlists etc), easiest way would be to remove old version completely and install fresh copy of 3.0
If you do want to migrate data from older versions, please follow the steps below: (If you don't want to loose production time, we'd recommend making a duplicate of your current site and updating that, instead of updating a live site directly.)
client folder inside the .zip can be ignored, unless you plan to modify MTDb code.
In order to populate the homepage, you need to attach lists that you want to display on homepage from "admin > appearance > homepage".
You can make each list update automatically when creating or editing it.
You can import multiple titles by visiting this url: htts://your-site.com/secure/tmdb/import?type=movie&page=1&limit=100
You can change type to movie or tv, maximum number for limit is 1000
You can also specify all filters described here, for example, to only import movies with specific genres, you can use this url: htts://your-site.com/secure/tmdb/import?type=movie&page=1&limit=100&with_genres=28,48
You need to set up a cron job on your server so MTDb can perform some scheduled tasks (automatically updating news, lists etc.).
You can usually create cron jobs from your hosting's cpanel. You should create a cron job that calls the command below every minute.
php /path/to/mtdb/artisan schedule:run >> /dev/null 2>&1
Note that news and lists will only be updated once a day, regardless of how often cron job runs.
Outgoing mail includes all emails that are sent from your application to the user. Password reset, user confirmation, notifications and more.
In order for outgoing mail to work, you will need to configure it in admin area > settings > mail page.
Unless you already have one of the other available mail methods set up, we highly recommend using mailgun. It's free for up to 10000 emails a month and you will avoid many of the problems associated with traditional SMTP servers.
Although you are not required to add a credit card for mailgun, it's recommended that you do, because you will be put on a lower priority queue without a credit card, which could result in slower email delivery.
If you want to use SMTP, go to admin area > settings > mail page and simply enter your smtp server credentials.
Analytics page is powered by google analytics so you will need to register for google analytics and add supplied code to your site. Here's how to do it.
Important! This will only enable tracking. See below on how to get the analytics page on the site working.
To get analytics page on the site working, you will need to get a service account key. Head over to Google API's site and create or select a project.
Next, specify which API's the project may consume. In the list of available API's click "Google Analytics API". On the next screen click "Enable".
Now that you've created a project that has access to the Analytics API, download a file with the credentials. Click "Credentials" in the sidebar. You'll want to create a "Service account key".
On the next screen you can give the service account a name. You can name it anything you'd like. Select "Project > Owner" Role. In the service account id you'll see an email address. Note this address as it will be needed later on. Select "P12" as the key type and click "Create" to download the P12 file.
Rename downloaded file to "certificate.p12" and upload it to your server in "storage/laravel-analytics" directory.
Go back to google analytics site and "User management" page in the Admin-section of the property.
Add a new user using email address you have saved earlier. Read only access is enough.
The last thing you'll have to do is fill in credentials in BeDrive "admin > settings > analytics" page. You have service email and google ID from earlier, get View ID from "View setting" in the Admin-section of the property.
You can translate MTDb right from the admin area so there's no need to mess with configuration files or 3rd party applications. Simply open translations page and enter your translation for a particular line under translation column in the table.
Note that while you can translate the original (englsish) locale, it is recommended to create a new one (frome the panel on the left) so you don't need to worry about overwriting it with future updates.
If you have any issues or questions, you can submit a new ticket on our support site here. Thank you!
Social Login
In order for social logins to work properly, you will need to register for an application on their respective sites and enter the credentials you receive into admin area > settings > authentication page.