PK's MovieDB Release.V3.0 (Dynamic PHP View)

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
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

thx @ kazgor

Search does not work in my db :(


BTW nice template @ kazgor.

I see i have to learn a lot in php to create a template like yours :)
mjs7231
Posts: 60
Joined: 2005-07-27 23:17:15

Post by mjs7231 »

r32 wrote:Search does not work in my db :(
Try replacing all the files on your server with the files in version 3.0.2 except for mdb_config.inc. Let me know how it goes.
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

I've done this. same problem.

hm, i have no idea what went wrong.
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

r32 wrote: EDIT: "_TEXT" in search field ?
I got this as well when i installed 3.0.2. its down to the template files having the following line

<input class='searchbox' type='text' name='search' value='$SEARCH_TEXT'/>

just change $SEARCH_TEXT to $SEARCH

this was ok in 3.0.0


@MJS.

How come in my side panel, OTHERS appear at the top (after ALL) rather than at the bottom of the Panel? this is for all Panels
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

How can i hide some things on the left side e.g. "country" ?

and how can i add something like "jump to" on the left panel?
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

r32 wrote:How can i hide some things on the left side e.g. "country" ?

and how can i add something like "jump to" on the left panel?
This bit is brilliant.. i love how MJS as done this.

If you edit the MDB_Config.inc and file scroll down abit you will see lots of

$this->config['panels'][0]['dbfield'].....etc

so for the country side panel you will see

$this->config['panels'][3]['dbfield'] = "COUNTRY";
$this->config['panels'][3]['display'] = TRUE;
$this->config['panels'][3]['minimum'] = 1;

Just change TRUE to FALSE.

I don't think you can do a JUMP TO panel that was in 2.2 just yet.. perhaps one for 3.1 release ;)

*edit* hmm i just tried setting a few to False myself and it doesn't seem to work.


@MJS.. Notices that you can set the Date format in the Language file, but this is not used in the Templates.. guessing this is one that on the TODO list ;)
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

hmm.. another problem is that side panel dont seam to be recalculating the totals.. no matter what i click on. it shows the Intial unfiltered values.
mjs7231
Posts: 60
Joined: 2005-07-27 23:17:15

Post by mjs7231 »

FIXED BUGS for VERSION 3.0.3
FIXED : Search not working correctly.
FIXED : Not reading panel display option.

OPEN BUGS
Panel #'s not changing
When you click one panel, by nature the numbers on that particular panel will not change. Its the other ones that will. Let me know if thats it, or if there is a real issue.

I am currently looking for a tool that can run a diff recursively on a directory tree. One of my problems when fixing code is that my package directory is getting out of sync with my development directory.

Thanks for helping me thru these bugs guys. :)
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

Always glad we can help iron out the bugs..

for the panels values. have alook at my site and see if its doing what its meant to..

http://brunes-movies.awardspace.com/index.php

is i click on say COMEDY, the Country panel does not update, yet when i do this on your site it does change the Country panel.

you will also see that OTHERS appears after ALL yet on yours its at the bottom.

another problem is to do with AWARDSPACE, it does not like how the UNIXPATH field it built up, so it can't later find the Antexport folder for the covers.

work around was to just do the following instead.

$this->UNIXPATH = dirname(__FILE__)."/";
mjs7231
Posts: 60
Joined: 2005-07-27 23:17:15

Post by mjs7231 »

FIXED : UNIXPATH action goofy (thanks)
As for your panel number I still don't know whats going on..looking into it

EDIT: Try this one guys.
http://pkwebstudio.com/apps/moviedb/

Version 3.0.3 - 2007.01.06
--------------------------
+ Added missing language key for 'CLEARSEARCH'.
+ Fixed Search not working correctly.
+ Fixed not reading panel 'display' option, I now read this value.
+ UNIXPATH not working on awardspace, using new method to calculate.
+ 'Other' category should always be at the bottom of a panel now.
+ REMOVED empty_categories option from mdb_config (it never worked right).
+ Moved date_format from language file to config file, and now using it! :)
Last edited by mjs7231 on 2007-01-08 05:22:34, edited 1 time in total.
MisconductQC
Posts: 49
Joined: 2005-11-30 15:58:57
Location: Quebec

Post by MisconductQC »

Will be nice to add a command to get the link for the selected movie.
www.imcdb.org and www.imdb.com for some car and image from the movie.

Ce serais bien d'ajouter une commande pour ajouter un lien pour avoir des images de voitures et du film sélectionné a partir des site imdb.com et imcdb.org

Sorry for my english.
mjs7231
Posts: 60
Joined: 2005-07-27 23:17:15

Post by mjs7231 »

MisconductQC wrote:Will be nice to add a command to get the link for the selected movie.
www.imcdb.org and www.imdb.com for some car and image from the movie.

Ce serais bien d'ajouter une commande pour ajouter un lien pour avoir des images de voitures et du film sélectionné a partir des site imdb.com et imcdb.org

Sorry for my english.
IMDB is currently linked. IMCDB is not because there is no field for it in ANT.
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

nice new version.

how can i disable the value "other" e.g. in borrower or media type?

Example:

Media Type:

ALL 500
Xvid 250
DVD 250
Other 0

Borrower:

ALL 500
Tom 5
Kate 3
Other 492
Lul2x
Posts: 6
Joined: 2007-01-04 10:43:32

Post by Lul2x »

a BIG THANK YOU to mjs for this wonderful release, I love it!! :grinking:
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

mjs7231 wrote: IMDB is currently linked. IMCDB is not because there is no field for it in ANT.
IMCDB uses IMDB numbers, so the link is built using the same field ;)
"http://www.imcdb.org/movie.php?id=" followed by the nunber.
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

Using 3.0.3 now and all fixes mentions are confirmed here.

Ta for sorting the Date Format :)

Still to do.

1. Panel Recalculations, still a problem with 3.0.3 :( very very odd,
can anyone else confirm this too?

Look on PKW site, click on a Country, eg Germany (13), you see the Categories panel now shows ALL (13) instead of ALL (498), Country Panel will not change though.

Now on your site click on a country does the Categories panel get recalculated?

2. Others should not be visible if its got Zero in it

3. IMDB should have a ALT name.
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

@kazgor

i can confirm it. i tested it on my site.

if i click eg on germany, i get the right movies. thats ok. in category there is eg Fantasy with 0.

so i think thats what you mean, right?
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

r32 wrote:@kazgor

i can confirm it. i tested it on my site.

if i click eg on germany, i get the right movies. thats ok. in category there is eg Fantasy with 0.

so i think thats what you mean, right?
Before you clicked on germany.. did Fantasy have anything other than zero in it?

here my site so you can see what its doing there.

http://brunes-movies.awardspace.com/index.php
r32
Posts: 17
Joined: 2007-01-06 09:17:11

Post by r32 »

Before i click on anything there is no zero.

Minimum 1 everywhere....
kazgor
Posts: 175
Joined: 2006-05-08 13:13:52
Contact:

Post by kazgor »

in Categories.. does the ALL value decrease to match the number of films thats in GERMANY. eg is with no filters say you had 100 films. in Germany you have 20. what should happen is when you Choose Germany, the Categories will recalculate to show 20 in the ALL field and then the rest is a break down of what categories those 20films are in.
Post Reply