Code

Discussion on MTDb - Ultimate Movie&TV Database

Discussion on MTDb - Ultimate Movie&TV Database

By
Cart 3,663 sales

Vebto supports this item

Supported

5865 comments found.

Can I install MTDB on my sever?

Sever configuration environment:

Windwos Sever 2003 Enterprise edition
PHP v5.3.14
Microsoft-IIS/6.0
MySQL 5.0.91-community-nt

If you also have mysql, apache and pdo,mbstring,curl and gd php extensions then yes.

Error in Groups, the permission shows: {\superuser\} when I save. But I was add {superuser}

Do you have magic_quotes enabled in your php installation?

Thanks man, I forget that, now I disable via php.ini

Hi

I am trying to allocate all new users to a group upon registration

I have copied all the files from the Cartalyst\Sentry\ to the app\lib folder and my header I have included the path of the Group provider

use Carbon\Carbon;
use Lib\Services\Validation\UserValidator;
use Lib\Repository\User\SentryUser;
use Lib\Cartalyst\Sentry\Groups\Eloquent\Provider as GroupProvider;
use Lib\Repository\User\UserRepositoryInterface as Repo;

In my app/controllers/UserController.php

if ($this->options->requireUserActivation())
{
              // Find the group using the group id
                $userGroup = $this->sentry->findGroupById(2);
              // Assign the group to the user
                $input->addGroup($userGroup);
                $this->user->register($input);

I keep receiving an error

ErrorException
             Undefined property: Lib\Repository\User\SentryUser::$groupProvider
              public function findGroupById($id)
{
    return $this->groupProvider->findById($id);
}

Any help would be greatly appreciated.

Hi, you don’t need to copy any files for this. Just go to app/lib/repository/user/SentryUser.php and in register method after the user has been registered add these lines:

$group = Sentry::findGroupById(1);
$user->addGroup($group);

You shouldn’t edit the core files tho, instead you should create a new class in user repository that extends the SentryUser class and overwrite register method in there, then change the class that the script will use in UserServiceProvider.

Ok thanks for response. I try it now.

Yep works.

$user = Sentry::register( array_except($input, 'password_confirmation'), $act);
     $group = Sentry::findGroupById(2);
     $user->addGroup($group);

Some ideas: 1- Maintenance mode, example: The maintence mode show a custom message to users. 2- A space to edit the featured trailers in Dashboard

I got error in register translation, after account creation, redirects to /register and show 404

Will be fixed next update, send me an email if you don’t want to wait.

Okay, thanks man. Other idea: Button to stop the news update, and the featured trailers/movies

Awsome script.

I have a suggestion for upcoming function. Create custom pages.

I’ll see what I can do.

hi there, i’m interested in purchasing your script and i’d like to consult on custom/freelance work on it. how can i contact you?

Via contact form in my profile page.

I want to buy this script, because I have a group of subtitle translation series, but to use the group I need a page for each episode, will it be implemented?

Page for each episode would be cool too for websites that do analyze because my case for example, I would only use part of the series, to do the analysis and provide subtitles for download.

Maybe in future update, the reason it’s not there currently is because there’s simply not enough data in imdb and especially tmdb for majority of episodes to warrant a separate page and it would also require quite a lot of space, bandwidth and time to scrape.

I understand php, do you think the current system, it would be difficult to create?

If you know laravel/symfony shouldn’t be to hard, episodes already have their own table in database, so you would just need to add controllers/views.

Interesting that movie trailers aren’t accessible (or possible to simply click and access) from a movie detail screen. Only the front page carousel allows for movie trailers to be seen. Why is this? Have I missed something? http://hottipsmedia.com

There is no Update from external” button on any of my dashboard pages. I’m noticing my database counters gradually increasing the numbers of things that are available, so perhaps the site (in it’s youth) simply hasn’t scraped trailers yet. Not one single movie, aside from the 7-8 in the main front page carousel, have a trailer button

There does appear to be some kind of problem, can you send me your ftp credentials via contact form? I need to take a closer look to see what the problem is exactly.

I’ve submitted them to you.

Could you also take a look and see why the “Related” movies and shows aren’t displaying as well? This information also refuses to populate).

I have created a Super User account for you in the dashboard as well. This was sent in a separate email

Why this error message ? see http://www.movienix.com/

PDO extension disabled most likely.

I’d LOVE a way to add a responsive ad unit (an adsense ad unit) to the Sidebar of the news articles. Perhaps at the very top, and then another at the very bottom below the Facebook Like box.

Also… social sharing buttons? Where are they, and are there any plans to integrated them in a way where people actually see them? Is there a way I can accomplish these things myself, if no plans are in place?

This finally works now after a bit of time with my hosting support team, so thank you for this awesome script.

You can open up app/views/news/single.blade.php and paste the code there indicated it will appear after 3rd news item.

There are social buttons on the footer and the header of every movie/series. Where would you like to see them?

They don’t really look like buttons to be honest. The ones at the bottom aren’t even noticeable, and the ones within the movie description area just looks like counters. Or links. Not buttons.

The iconic “look” of the button makes it recognizable, trustworthy, and ultimately leads for far more engagement.

I was referring, however, to the NEWS area mostly. There’s nothing for social media within news. Perhaps above the title, or below the content of it.

As for the advertising locations… I was also referring to news. I will not place Adsense in that bottom of the page slot, as it violates Adsense TOS (you should never place Adsense on search pages. An empty search will result in an ad being placed on a page without content, a violation of TOS)

I haven’t put social media for news as they are scraped, I might add share buttons for manually created news items next update tho.

Hello,

I want to know what are the requirements to install the script

Thank you.

php 5.3+, apache, mysql and some php extensions that I have yet to see disabled on any host – curl, mbstring, gd, pdo.

Hi i got a problem with my register page, when i hit create account it go to http://mysite.com/register and gives the 404 page. also noticed that the create account button does a POST to http://mysite.com/users ???

That’s the correct url for post, can you send me your site url via contact form, can’t seem to reproduce this.

This Bullshi… Google Login.
I change and change and change, but every time is the same Error:
Fehler:invalid_scope

Some requested scopes were invalid. {invalid=[https://www.googleapis.com/auth/userinfo.profilehttps://www.googleapis.com/auth/userinfo.email]}
Can somebody help me Please? :cry:

Can you send me your app/config/hybridauth.php file via email, seems like there is a typo there.

I send you an email Thx

Hi!

Excellent script. Can this be used as personal movie/show DB? My requirements are as follows.

- I would use bigger poster in home slides which will show random movies/shows from my collection.
- I would show movies/shows I've watched on home instead of latest news.
- I would show movies/shows that I'm gonna watch (wishlist) on home instead of in theaters now.
- I would need a Watched button in movies/shows listings like Add to Watchlist or Add to Favorite.
- I would need Watched, Add to Watchlist & Add to Favorite button beside Play Trailer. Also I would like to remove Buy Now button from single movie/show listings.
- I would need to be able to enable/disable users' comments!

Sorry for the long list. I kind of know it may not be possible with the current release but may be in future you would add these so that people can use this script as their personal movies/shows database :) Waiting for your reply!

Regards

You’d currently need to modify the code to achieve this. I might add some of the suggested features in future update.

Thanks! If you can confirm you’ll add most of these then I’ll go ahead & buy this.

Can’t confirm for sure, sorry.

Hello r4mark,

First of all congratulations for this application. This is a quality application .

I am French , and I noticed a bug .

1) For information : I use the ” TMDB API KEY ” with the language “FR” . In the dashboard , I use the function ” Update News , Trailers and Movies in Theaters ” to retrieve the updated movie pages . I noticed that all the movie pages that appear in the “home page of the WebSite” are systematically translated into English. I feel that the application ignores my choice from the dashboard on the FR language . Example: ” RIO 2” that normally exists in French , but that is systematically collected in Translation “EN” (only on the homepage)

2 ) I do not want to retrieve news articles TMDB as it is in English. For cons , I just wish retrieve pages TMDB movies without retrieving the news . How can I do? Is it that you can not separate the remains of the news site? I try to delete all the news on the site, but they reappear automatically every day (with the configuration menu of the Dashboard = > setting = > Options = > Primary Data Provider : TMDB)

3 ) How to change the link amazon.com (button ” buy now ” ) ? I would amazon.fr :)

Thank you again.

1. For trailers, they are fetched from traileraddict/imdb as tmdb doesn’t provide that information, you will have to turn off automatic trailer updating in dashboard and manually make movies you want featured by check ‘featured’ box when editing a movie.

2. You’ll have to edit the view file and remove it manually – app/views/main/themes/*/home.blade.php

3.You’ll have to change it manually in app/lib/services/presentation/dbPresenter.php, note that the urls probably differ more then just .fr

Thanks r4mark.

For point 1), how to disable the automatic update of the trailers? Is it in the dashboard => settings => Options => Automaticlly update featured movies?: Because it is not enabled in my options.

(sorry this question)

Try to enable > save and then disable > save, might not be showing the correct state.

i want to change language of main menu titles(in lang/main.php)..but when i do this it’s not work. mysite/movie << mysite/people on different language doesn’t work..i want to change only menu titles not links how i can do this?

Can you open up app/views/partials/HomeNavbar.blade.php and Navbar.blade.php and confirm that you have this in there:

<a href="{{ route('home') }}">{{ trans('main.home') }}</a>

<a href="{{ url(Str::slug(trans('main.movies'))) }}">{{ trans('main.movies') }}</a>

<a href="{{ url(Str::slug(trans('main.series'))) }}">{{ trans('main.series') }}</a>

<a href="{{ url(Str::slug(trans('main.news'))) }}">{{ trans('main.news') }}</a>

<a href="{{ url(Str::slug(trans('main.people'))) }}">{{ trans('main.people') }}</a>

yes they are

I’ve fixed it for next update, email me via contact form and I’ll send it to you now if you don’t want to wait.

on actor pages…. the link to read bio says “read bio at imdb” even if you have tmdb as your source.

also on sorting by genre dont work so well. like i have 92000 movies in db but only 9 show up as drama.

and the genre animation shows as “main.animation”

just reporting little things sorry :D

For the genre, if you’re filtering my anything else like rating, you need to have movies ‘fully scraped’ first as otherwise they won’t have rating/genre. As for the animation, make sure you either movie the lang folder from update into your app folder and overwrite or copy over the translation marked as //new in 1.6.2

I had the same problem User nukboon, plus my server is shared, and I have root access to run the script: (SET global.sql_mode =’’;)

What do I do?

I found the software very good, but very heavy, with many files, which slows the navigation.

try to run this from phpMyAdmin query window:
SET sql_mode = '';
should work even on shared hosting.

Improved navigation, more when I’ll update the database keeps giving error.

There is not much I can do if mysql database is timing out, you need to increate wait_timeout limit or change hosts.

Hi,
is there a way to edit “similar movies & series”? Future update?

I’ll be adding keywords in future update, you should be able to edit it then.

Cool thank you ;)

How to resolve this error?

“Illuminate \ Database \ QueryException SQLSTATE[HY000]: General error: 2006 MySQL server has gone away”

It’s not really script related, you’ll need to contact your hosting support with it, they probably need to increase mysql wait_timeout

I asked, they said they can not because it affects all users of hosting. I do not know what I do!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey