Modification of PK's MovieDB [UPDATE 2009-06-04]

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
gropy
Posts: 1
Joined: 2009-06-27 18:45:45

hi

Post by gropy »

that you might set it be great to start a section with the 10 latest movies added. Sorry for the translation is from google. I do not speak English xD
alex1
Posts: 9
Joined: 2009-05-11 18:36:20

Post by alex1 »

nwaps
Posts: 2
Joined: 2009-09-23 11:10:52

Post by nwaps »

alex1 wrote:New Link: http://ul.to/mf7pt0
thx for your work, looks really great.
but i can't download it from your rapidshare link or from your uploaded link. please create an collectors account to share it with more than 10 people or premium members.

thx
mking
Posts: 10
Joined: 2009-06-03 09:08:24

Post by mking »

alex1 wrote:New Link: http://ul.to/mf7pt0
The file status can only be queried by premium users - Purchase a premium account now! :cry:
alex1
Posts: 9
Joined: 2009-05-11 18:36:20

Post by alex1 »

Uploaded it on my personal webspace. It will last a bit longer now. ;)
http://alexirsi.czerrahn.de/dl/download.php?id=9
nwaps
Posts: 2
Joined: 2009-09-23 11:10:52

Post by nwaps »

thx :grinking:

hi,
i want my newest added movies shown first at enter the page.

i changed in mdb_config.inc
$this->config['sorts']["DATEADD"]['direction'] = "DESC";
to
$this->config['sorts']["DATEADD"]['direction'] = "ASC";

but how can i change the selected sort to adddate?

thx
the vice president
HiroNakamura
Posts: 2
Joined: 2009-10-25 14:08:26

Post by HiroNakamura »

Ok first thanks for this great template, it looks great:

http://hiromovies.piranho.de/movies/index.php

One problem: What do I need to write exactly in mediatype field to display the "Xvid" logos? As you see I have som xvids there but no logo displayed. I figured out how to display avc, mp3:

Code: Select all

AVC
MP3
But I can't figure out display code for xvids. Tried alread XvID, xvid, Xvid....

Anyone can help?
:??:
alex1
Posts: 9
Joined: 2009-05-11 18:36:20

Post by alex1 »

XviD

And check if the file templates\default\images\info\videoformat\xvid.png exists and is not corrupt or sth.
Pinonono
Posts: 35
Joined: 2009-08-13 12:08:42

Post by Pinonono »

I am using your template: very nice!
I have two problems. There is an error in the view of the country
Pease: {COUNTRYS;, }$COUNTRY[TEXT]{/COUNTRYS}
Resolved:

Code: Select all

 <td width='6%' align='left'><b>$LANG[COUNTRY]:</b></td>
				  <td width='25%' align='left'>$MOVIE[COUNTRY]</td>
I would enter the URL of the movie.
Resolved:

Code: Select all

<td width='10%' align='left'><b>URL</b></td>
				  <td width='43%' align='left'><a href='$MOVIE[URL]'target='_blank'>$MOVIE[URL]</a></td>
Can you help me?

http://backupfilm.altervista.org/moviedb/
mjs7231
Posts: 60
Joined: 2005-07-27 23:17:15

Post by mjs7231 »

Awesome Alex, looks nice. I really like the addition of the lightboxes for
image previews and especially the actor list. Glad someone was able to
take the reigns and keep this project officially moving forward. Any chance
you fixed these issues? http://securityvulns.com/Tdocument50.html

I haven't touched this project in a long time, its about time the copyrights
came off anyway. I just ask that you keep the Creative Commons license
attached either a readme or in the code. Any interest in getting this into
Google Code or something where we can better track bugs and changes?

I have moved my development efforts from PHP to Python, so if I have time
I may work on a Django version in the future. Problem is that I no longer
use Windows and do everything on Linux. That puts a damper on my use of
Ant Movie Catalog. :(
Pinonono
Posts: 35
Joined: 2009-08-13 12:08:42

Post by Pinonono »

I really like your template ..... congratulations for your work.
I've put online, and to be "perfect" would be nice if we grant visitors to rate the film.
Anyway thanks again
:grinking:
Elusyn
Posts: 2
Joined: 2009-11-03 17:19:15

Post by Elusyn »

AMAZING work. this template made me use ANT for a small project i have for my website =)
Im not a coder, i can design but... i lack coding skills so im hoping someone can help me on this :

I want to create a menu on the side, like the year cap and the genre, but... my ratings.

Movies rated 10
Movies rated 9
etc...
etc....

can someone help me on this? thanks in advance =)
Pinonono
Posts: 35
Joined: 2009-08-13 12:08:42

Post by Pinonono »

I would reinsert the function "random movie."
I realized that I must put the code in detail_view.tpl

Code: Select all

 # --- RANDOM MOVIES COVERS --------------------
          <div class='movies IMGVIEW curvy2'>
              <div class="bl"><div class="br"><div class="tl"><div class="tr">
               <div class="header">$LANG[RANDOMMOVIES]</div>
                <table class='TABLErnd'><tr>
                {RNDFILMS}
                    <td><a class='cover' href='$RNDFILM[HREF]'>
                      <img src='$TEMPLATEDIR/images/resize.php?img=$UNIXDIR$COVERSDIR$RNDFILM[PICTURENAME]&w=75' alt='$RNDFILM[ORIGINALTITLE]' title='$RNDFILM[ORIGINALTITLE]'/>
                    </a></td>
                {/RNDFILMS}
                </tr></table>
               <div class='footer'></div>
              </div></div></div></div>
              <div class="iefix"> </div>
          </div>

          # --- RESULTS MOVIES --------------------------
But all I get out of proportion to the template and the images are "fuzzy". What is wrong?


Image
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post by Eddie »

First of all, great work.
But may I suggest to use the $COVERSDIR in the path to the floatbox'ed image.
I relocated the covers to another dir using the variable in the mdb_config.inc, but the path to the covers for the floatbox is hardcoded and is therefore ignoring the configvariable.
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post by Eddie »

Elusyn wrote:Im not a coder, i can design but... i lack coding skills so im hoping someone can help me on this :

I want to create a menu on the side, like the year cap and the genre, but... my ratings.

Movies rated 10
Movies rated 9
etc...
etc....
The easy way is just add another panel to the config file, like this:

Code: Select all

//----
$this->config['panels'][15]['dbfield'] = "RATING";
$this->config['panels'][15]['display'] = TRUE;
$this->config['panels'][15]['minimum'] = 1;
//----
But I probably think you only want integers, not decimals. One way would be to update the database just like the way it is done for the period.
Meanwhile I'm investigating further ways to do it.
Mstrik
Posts: 9
Joined: 2009-11-11 10:02:22

Post by Mstrik »

Code: Select all

SELECT PERIOD,count(*) FROM `kirtsn_databasetest`.`movies` GROUP BY PERIOD ORDER BY PERIOD

Invalid Query: Unknown column 'PERIOD' in 'field list'
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post by Eddie »

Are you using Alex' version? That creates the field "PERIOD" while autoimporting the SQL. You have to reimport your movies after switching to Alex' version of the script.
That should fix the problem.
Mstrik
Posts: 9
Joined: 2009-11-11 10:02:22

Post by Mstrik »

I tried it on a other location because the old one was giving problems, and I reuploaded my SQL file.. Still getting the error, with another user and database..
Eddie
Posts: 40
Joined: 2005-07-29 07:04:08

Post by Eddie »

Reuploaded by hand or by the autoimport function?
Mstrik
Posts: 9
Joined: 2009-11-11 10:02:22

Post by Mstrik »

Eddie wrote:Reuploaded by hand or by the autoimport function?
I think you mean with autoimport just this function? http://img20.imageshack.us/i/importsql.png/ (This is what I did)

How can I reupload it by hand?

Thanks

Ps. I didn't edit the config file

Code: Select all

$this->config['options']['auto_import']         = TRUE;
Post Reply