Page 6 of 6

Posted: 2010-08-24 13:43:57
by Eddie
Ok, lets try and help you out.
This template needs a webserver and a database, most likely MySQL.
Easiest way to start trying things without an external webspace would be to grab xampp at apachefriends. After unpacking/installing you should get a webserver and MySQL running.
Now open your browser and goto http://localhost/ ,on the left side, click on securitycheck and set a password for MySQL.
Restart MySQL afterwards. Now goto http://localhost/phpmyadmin and create a database, eg 'amc'.

Now unpack the template somewhere below the folder htdocs inside the xampp.

Now that we set up the basics, we have to edit the mentioned mdb_config.inc. In this file you have to enter the name of your just created database, the user and password to connect to it (for a start that is root).

You might goto http://localhost/moviedb/ and see what happens.

Hope that helps.

PS: regarding your name I guess you speak german, right? Maybe I could help you out in german, via PM then...

Movies Period only up to 2009 ?

Posted: 2010-11-02 06:21:17
by the_observer
Hi all.

I would like to ask if it is normal that i see in my web moviedb site the period category up to 2005 - 2009.

If it is normal,is there a way to show period greater than that ,since i have some movies from 2010?

Thank you 4 reading this.

Regards,
The_observer.

Tutorial PK Datamovie

Posted: 2010-11-06 18:38:35
by djvaxxx
Eddie wrote:Ok, lets try and help you out.
This template needs a webserver and a database, most likely MySQL.
Easiest way to start trying things without an external webspace would be to grab xampp at apachefriends. After unpacking/installing you should get a webserver and MySQL running.
Now open your browser and goto http://localhost/ ,on the left side, click on securitycheck and set a password for MySQL.
Restart MySQL afterwards. Now goto http://localhost/phpmyadmin and create a database, eg 'amc'.

Now unpack the template somewhere below the folder htdocs inside the xampp.

Now that we set up the basics, we have to edit the mentioned mdb_config.inc. In this file you have to enter the name of your just created database, the user and password to connect to it (for a start that is root).

You might goto http://localhost/moviedb/ and see what happens.

Hope that helps.

PS: regarding your name I guess you speak german, right? Maybe I could help you out in german, via PM then...

Hello everybody,
I discover this AMC and PK Movie Database for few days, and this is an amazing tool, thank you Antp for this programm and thanks alex for this Version.
So, my problem is after to make all what Eddie says, I become this:
get_html(); ?>
and Failure Box :
Floatbox does not support quirks mode.
Page needs to have a valid doctype declaration.

When I try to call mdb3.php, I have this:

get_stylesheet(). * require_once('mdb3.php'); * $moviedb = new MDB3(); * print $moviedb->get_html(); * * NOTE 1.) YOU SHOULD NOT NEED TO EDIT THIS FILE AT ALL UNLESS YOU KNOW WHAT YOU ARE DOING. :) * NOTE 2.) Call this file in your web browser to display a basic styled moviedb. You can see * the code for this usage at the very bottom of this file. * * * SUPPORT * ------- * Current support and help on using this script should be asked on the forum at the following * link. Please do not email me with support question, I simply don't have the time to answer * everyone. * viewforum.php?f=16&sid=2e29bcde798893fcb2cf40178bec9ba3 * * * LICENSE * ------- * Copyright © 2006-2007 PK-Designs, Some Rights Reserved. This work is licensed under a * "Creative Commons License" by M. Shepanski. The following link is a human-readable summary * of the full Legal Code - http://creativecommons.org/licenses/by/2.5 * * - You are free.. * - to copy, distribute, display, and perform the work * - to make derivative works * - to make commercial use of the work * * - Under the following conditions.. * - Attribution. You must attribute the work in the manner specified by the author or licensor. * - For any reuse or distribution, you must make clear to others the license terms of this work. * - Any of these conditions can be waived if you get permission from the copyright holder. * * * ATTRIBUTION * ----------- * If you plan to use this code on any site you own or help create, you must site the author * M. Shepanski along with a link back to PK-Designs.com ON THE WEBPAGE (not backend code). Like * most designers, I too do not like to include random links to someone's site when I use their * script. Because of this I do not require that you include this link right near where the script * is used on your page, but rather just mentioned on your site someplace; perhaps the disclaimer, * or about page. * * Not required, but it is always nice to hear from people who find my work useful to them. * If you wish, drop me a line so I can see how you implemented this script on your site. * * @author Michael Shepanski * @copyright Copyright © 2005-2006, Michael Shepanski * @package PK-Designs * @version Version 3.0 (2007.01.06) *=============================================================================================== */ require_once(dirname(__FILE__)."/template.inc"); require_once(dirname(__FILE__)."/mdb_movie.inc"); require_once(dirname(__FILE__)."/mdb_panel.inc"); require_once(dirname(__FILE__).'/mysql_db.inc'); $_GET = filter_var_array($_GET); class MDB3 { # Environment Variables - These are used internally within this class var $THISPAGE; // HTTP Path to this Script var $HTTPPATH; // HTTP Path to this Script's Folder var $UNIXPATH; // UNIX Path to this Script's Folder # MDB Main Variables - Main Variables used within this class var $version = "3.0.3"; // A stupid holder for for the current MDB version. var $config; // STATIC ARRAY: Contains the configuration options found in the config file. var $lang; // STATIC ARRAY: Language File definitions var $template; // STATIC ARRAY: Template options loaded from the template config var $options; // Array: All the possible _GET options, with their values. var $movies; // Array: Movie objects to display ON THIS PAGE ONLY. var $panels; // Array: Panel objects to display ON THIS PAGE ONLY. /** ------------------------------------------------------------------------------------------- * Create or Load an instance of the Moviedb3 database script. * @access public * ------------------------------------------------------------------------------------------*/ function MDB3() { # Useful environment variables $this->THISPAGE = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $this->HTTPPATH = substr($this->THISPAGE, 0, strrpos($this->THISPAGE, "/")); $this->UNIXPATH = dirname(__FILE__)."/"; # Do the hard work $this->_load_configuration(); # Load the config, language & template options. $this->_auto_import_ant_export(); # Check we should auto import Ant's export file $this->_fetch_allowed_options(); # Set _GET vars we care about for this configuration. $this->_get_options(); # Runs through _GET vars, make sure they are valid. $this->_fetch_viewinfo(); # Load template information; Set our current template file. $this->_fetch_panels(); # Create all panel objects, preparing for template creation. $this->_fetch_movies(); # Create all movie objects, preparing for template creation. } /** ------------------------------------------------------------------------------------------- * Set the relative path to the configuration file holding all this class' configuration settings. * @access public * ------------------------------------------------------------------------------------------*/ function set_configpath($path) { $this->configpath = $path; } /** ------------------------------------------------------------------------------------------- * Returns the relative path the templates default style.css file. This is needed because * this MovieDB script will not automatically include it for you. You must call this script * and place its result in the header of your HTML file. * @access


Any Ideas?

Thanks Vali[/img]

Posted: 2010-11-16 02:14:02
by Sguilly
Are you sure you have done the following as suggested by Eddie:

Set the "short_open_tag" in php.ini to "On". i.e.

short_open_tag = On

Posted: 2010-11-28 21:56:26
by Nenesse45
hi everyone, I'm french so don't worry about my bad english (google translation :D ) :

categories, directors, producers appear as individual, for example for Cars belonging to the Animation, Comedy and Family categories , each category is clickable individually:
Animation, Comedy, Family


By cons for languages and audio formats, all appears as a single link. Cars for example:
French, English, English, French

But does not appear in the form:
French, English, English, French

So I modify 2 files:

mdb_movie.inc where I add
...
var $directors; // Array of Dictionaries containing keys {name, text}
var $producers; // Array of Dictionaries containing keys {name, text}
var $languages; // Array of Dictionaries containing keys {name, text}
...
$this->directors = $this->_parse_names("DIRECTOR");
$this->producers = $this->_parse_names("PRODUCER");
$this->languages = $this->_parse_names("LANGUAGES");
...
$tpl->add_subtpl("DIRECTORS", $this->_templates_names("DIRECTORS", "DIRECTOR", $this->directors));
$tpl->add_subtpl("PRODUCERS", $this->_templates_names("PRODUCERS", "PRODUCER", $this->producers));
$tpl->add_subtpl("LANGUAGESS", $this->_templates_names("LANGUAGESS", "LANGUAGES", $this->languages));
details_view.tpl where I add
<div class='languages'><b>$LANG[LANGUAGES]: </b>{LANGUAGESS;, }<a href='$LANGUAGES[HREF]'>$LANGUAGES[TEXT]</a>{/LANGUAGESS}</div>
All work fine, but now, when I click on the link I have

Code: Select all

http://mesbr.nenesse.net/index.php?search=Fran%E7ais 
and it doesn't find anything
I should have

Code: Select all

http://mesbr.nenesse.net/index.php?languages=Fran%E7ais
Languages sorting work on the left column but not on the movie list

for the category, I have correctly

Code: Select all

http://mesbr.nenesse.net/index.php?category=Animation
and it found all the movies belong to the category Animation.


What should I do to make It work?

I do exactly the same thing with audio format in detail.tpl and it work fine... it's insane :mad:

Thank you



my website: http://mesbr.nenesse.net/

Facebook

Posted: 2011-04-18 14:27:47
by Pinonono
Come inserire il pulsante "condividi" di facebook nel template in modo da condividere i singoli film?


How to insert a button on facebook in the template to share the single film?

Posted: 2011-09-24 07:00:12
by z3us
I want to download this, but there arent working links

Posted: 2011-09-28 15:38:47
by SqueeZen
Oh please alex1, come back with a new link. :(

Posted: 2011-10-18 03:27:10
by z3us
:(

Posted: 2011-10-23 19:25:06
by z3us

lafafmentvotre template

Posted: 2011-11-10 00:10:41
by crack1986
does anyone have a lafafmentvotre template?

Posted: 2011-11-10 19:50:00
by christoph87
Hello,
finally i got this template running. It offers everything i always wanted for my movie collection. But there is something i need help with.

I think my english isn`t that good but i hope you understand me right an can help me.

At the top i want to place a Header / Banner that i created with Photoshop. It`s an animated gif. I have no knowledge about html/css and so on. If you would be so kind to tell me what i have to do to get my Banner (header.gif) to be shown like in the picture below.

Image

Thank you all in advance for your help.

with regards
christoph87

Posted: 2012-01-05 15:40:55
by Subbat
Hello,

Please excuse my bad english, but I'm french...

I would like to use this template on my Free personnal page... But Free use Php 4 or php 5.1... not 5.2 version...

So is it possible to change some few things on scripts for use this template on php4 or not ? Il it's possible, please tell me what to do...

Thx,

Subbat

Posted: 2012-02-05 20:17:27
by lestatou
margaan wrote:Hi

I downlaoded the files here and the latest xampp.
Then I put the files in the htdocs directory --> C: XAMPP HTDOCS MOVIEDB

I exported my DB from ANT with the options:

Image

In PHPMYadmin I created a DB called 'moviedb' and Imported the SQL File --> entries were created (table 'moviedb' and movie details).

My config looks this:

Code: Select all

$this->config['mysql']['server']    = "localhost";
$this->config['mysql']['username']  = "root";
$this->config['mysql']['password']  = "";
$this->config['mysql']['database']  = "moviedb";
$this->config['mysql']['table']     = "moviedb";
I have no phpadmin pass set. Its a local DB.

Now when i go to ://localhost/moviedb, I see the background colour and only:

Code: Select all

get_html(); ?>  
Any ideas what Ive been doing wrong?

Thanks!
Hi all and thanks.

I have this error too.
I have installer today wamp 2.2. Also tried to use a mysql bd on a hosting, but the error is the same. I tried to use user root without pass and user created by me with pass in mysql, but doesn't works.

A test.php shows "blank window", is correct?

<php

phpinfo();

?>


Error:
"*/ require_once('mdb3.php'); $moviedb = new MDB3(); ?> get_html(); ?> "


What can I do?

Posted: 2012-04-20 17:14:31
by im2020
Links for download no longer working.

Can anyone help?

Posted: 2012-05-08 14:27:33
by the_observer
im2020 wrote:Links for download no longer working.

Can anyone help?
I have uploaded here :

http://www.top-greek-hotels.gr/!Various ... v3.0.3.zip

Regards,
the_observer.

Posted: 2012-05-08 15:02:44
by im2020
Many thanks the_observer.

im2020