Code

Discussion on MTDb - Ultimate Movie&TV Database

Discussion on MTDb - Ultimate Movie&TV Database

By
Cart 3,665 sales

Vebto supports this item

Supported

5868 comments found.

Hi,

First of all this is a great script. 2 questions.

Where are all the ads located so that I can change them? “The Place ad code here”

and How do i change the meta tags for the home page and other pages?

Hi Mark, Like I said I love the script. I am having one issue. Everytime the news is being updated I am getting the home page of the site go down with a “whoops something is wrong message” I turned the debug on and the error is “Undefined variable: compiledNews ” Is there any fix for this?

It is in /home/movierev/public_html/app/lib/Services/Scraping/NewsScraper.php

Will be fixed in next update, should be up today.

i have another little problem, on the mainpage there are 4 trailers and switch to other 4 trailers, it works fine. i opend my website again an it loads long and after 1 minute i get an 500error. after reload page works fine but from the 8 trailers are only two trailers listend the ohter 6 trailers are away? how can i fix it? :O

and a second question, i get an error when i will use the contact form? http://www.stooorage.com/show/2545/10694726_bildschirmfoto-2014-01-11-um-17-24-52.png have you any idea?

The error will be fixed in next update, please just send me your ftp details and site url and I’ll change the link for you, will be faster then explaining :)

done. thanks for great support!!! watch@ll

Hi, there seems to be an issue with the scraping. When I scrape something, and truncate the database and scrape again, sometimes ti will work and sometimes not.

I am on a localhost, it would be great if there is a progress bar of whatever is being scraped at the moment and possibly a loading bar based on the amount of titles requested.

Only the movie titles scrape

I have tested it with imdb and with tmdb now, the same issue, only the movie titles.

It’s explained in documentation under scrapers how it works, to get full title with reviews and cast, you’ll need to select the amount you want to scrape from ‘scrape fully’ dropdown.

hi r4mark,

i want to add google analytics to first site, where is the best to place it?

i want to add a further tab like ‘tos’ also a single site

i want to use german meta language tag so google chrome didn`t translate it, where is the best to place it?

thanks a lot! the script works fine.

You need to define a route, go to app/routes.php and under homepage and footer add

Route::get('imprint', 'HomeController@imprint');
You will also need to create a new method app/controllers/HomeController.php same as contact or tos one, just change view name to imprint.

thanks! now it works!

Glad to hear it :)

finally got it to work on share dhosting

just a few question 1) when I insert my poster/ link from amazon and choose featured….I can’t see any thumbnail in the featured box in the homepage or anywhere/category on the site.

2) it doesn’t play videos hosted on vimeo…tried it 3)how can one had more categories 4) can one use a branded player? 5)how do one remove the news and now in theatre column and use the style you had on the membership page on the homepage?

1. It currently displays 8 trailer only, so you’ll need to go to the older ones edit page and select ‘no’ in the featured dropdown.
2. Uncheck ‘show text under video’ when you are getting embed code and only enter the src part in the movie edit page like: //player.vimeo.com/video/83687790
3. Do you mean genres? If so you can edit them in movie edit page.
4. Depends what you have in mind exactly, but you’d probably need to modify the iframe code that the video source gets injected to.
5. Can you clarify that please?

might update documentation.. for placing ads say main page under jumbo tron is this location..

app\views\Main\Themes\Columns\Home.blade.php

app\views\Main\Themes\Rows\Home.blade.php

<div class="row ads-row"> {{--PLACE YOUR AD CODE HERE--}} </div>

not

/app/views/main/home.blade.php

<div class="row ad-row"> {{--PLACE YOUR AD CODE HERE--}} </div>

notice to the added “s” on “row ads-row”

same as all other ad code except some are deeper in folder structure

Will update the documentation in the coming update, what do you mean by blank page?

a new page we can add our own info..

You’ll have to add it manually currently (check the comment below) I’ll work on an easier way for next update.

Are you able to show local “showtimes” for movies still showing? like a widgets on the sidebar or something.

Hi, you can drop a widget code in the ‘custom field’ in the movie edit page, I’ll add more places in future updates.

Any scheduled update? i hope you read my emails.. peace…

Yes, in the coming days there will be a pretty big update.

I’m having trouble installing. I will send my hosting and ftp stuff and I would love if you could install it for me! Thanks

Should work now.

Hello,

a very nice script, easy to install and works fine. I have some question about the language.

I have seen that the actors in english, is it possible to change it to german (movies and series works). If not can you tell me the name of the import script, that i can add auto translation.

Can you tell me the name of the import script for the new or the best place to add auto translation.

How can i change the englisch wiki link to german and last question is it possilbe to change in the url movie to film, series to serien and people to schauspieler?

Thanks and you get 5 stars for that fine script.

1. TMDB does not provide translation for names, nor do I see why they would as names are not something you translate. The file that handles most of the tmdb actor related stuff is app/repository/actorData/TmdbActorData.php

2. The news scraping is done by app/lib/services/scraping/NewsScraper.php.

3. Open up app/lib/services/helpers.php with text editor, find the wikipedia link and just change the .org to whatever you need.

4. You’ll have to open app/routes.php and change route naming to whatever you want, most of the urls are built using app/lib/helpers.php method url, so you’ll need to modify that so the urls on site link to your new routes. I’ll look into adding translation for urls in next update tho.

hi r4mark, can i change the source of trailers? i want to get german trailers, also the news, did you know a news site in german i can use? how can i change the amazon.com to amazon.de? at last, tmdb says in the api description: i must to mark tmdb as source, that i can use that, who it works?

Hi, 1. Tmdb will return trailers in the language you specify in dashboard if it has any.
2.I don’t.
3. You’ll need to open app/lib/services/presentation/dbPresenter.php with text editor and replace .com to .de 4.You can put tmdb logo or something similar somewhere that links to tmdb website.

Hello i purchased your Script yesterday. i have few question

1. how can i add movies by name, i want to add some specific movies not all.. 2.when i try to change movie detail it remain same, i cannot see change on movie page.. 3.and is there any way to change theme layout?

1. Just search for them and they’ll be added to database automaticlly if you have data provider set as imdb or tmdb.
2. Did you click save at the bottom?
3. Currently there are 2 layouts of homepage and title page, you can change them at dashboard > appearance.

thanks, one more question. I want to make movie page as home page and want to remove people and news page from navigation and add contact page or other page to navigation.

For the homepage go to app/controllers/HomeController.php, find index method and replace it with this:
public function index()
{    
    $data = Title::whereId(1)->first();

    return View::make('Titles.Themes.Tabs.Title')->withData($data);                      
}
You can search by Title or whatever like this: whereTitle(‘Dark Knight’)

To change menu items open app/views/partials/navbar.blade.php and HomeNavbar.blade.php and replace the urls like so:
<a href="{{ url('people') }}">{{ trans('main.people') }}</a>
with:

<a href="{{ url('contact') }}">{{ trans('main.contact') }}</a>

hi r2mark,

i have a problem with installation, i have downloaded the file an look into 1.4 – full but in this folder there is no install folder? if i upload the files to server and open myurl.com/install it does not work beqause there is no directory!?

There is no install folder, if the url doesn’t work you most likely didn’t upload the .htacess file.
If you still can’t get it working send me your site url and ftp details and I’ll take a look.

ok, it works now, i have put these two lines in the .htaccess file

RewriteBase /
AddType application/x-httpd-php54 .php

now i will try it out =)

Where is the actual file that is used for crawling the imdb database? I can’t seem to find it. There are so many files in vendor/sympfony/*

If you mean the source code for the crawler then:

vendor\symfony\dom-crawler\Symfony\Component\DomCrawler\Crawler.php

If you mean the class that uses crawler to scrape imdb then:

app/repository/Data/ImdbData.php
and
app/repository/ActorData/ImdbActorData.php

Thanks, been looking all over.

Also on /tos page . base_path() . ’ shows server path not url

Will fix in next update.

getting error on cantact page http://gyazo.com/cc96cde06da9f26e56a91a6b7885eed9_1.png

also took me a minute to fix the email because i had to change to “mail” in mail.php but i did not see anything about mail setup in documentation

That bug is fixed in the next update, should be available tomorrow.

There’s mail explanation under configuration menu in documentation.

oops sorry about the mail lol i musta scrolled right past it

if you use hostgator and dont have php 5.3 add this to your .htaccess file

  1. Use PHP 5.3 AddType application/x-httpd-php53 .php

I’m so bored out of my mind i think i am gonna use this to build a real estate site. Just wanted to let you know :D

Symfony dom crawler.

Thanks man. I haven’t looked at the code yet but I can tell just by reading through the documentation that good coding practises were adhered to. Which is such a relief, can’t tell you how many things I have bought where the files are thousands of lines and no comments.

Thanks!

great script and super A+ support :)

Thanks!

Hi r4mark,

I love your script, but I’m having trouble installing it. It connects to and creates the database and creates the site, but it’s having problems saving information (I think). I can PM you the URL to see the install errors. Any help would be greatly appreciated. It’s running on shared hosting with PHP 5.4.22.

Thanks!

I’m unable to find your email address, is it in the download files somewhere?

Use contact form on my profile here.

These days a product is only as good as the customer service behind. This script is awesome and the customer service r4mark provides is even better! Thanks!

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