Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - botez

Pages: [1]
1
Feature Suggestions / Re: TheMovieDB.org
« on: December 30, 2013, 06:54:12 pm »
Is there any chance anyone knows of a JSON parser for pascal?  I found this: https://github.com/koldev/JsonParser, but I'm not quite sure how to get that to work in the PVD environment (if it is at all possible).  Without the JSON parser I think we can consider TMDB dead in the water :-/

2
Feature Suggestions / Re: TheMovieDB.org
« on: December 30, 2013, 08:09:26 am »
I'd love to give the MovieDB plugin a look to see if I can update it.  Where is the source for the tmdb script?  I just see the dll available.

3
I was following along here and noticed the same issues that koliniol posted previously.  I fixed it by removing the <viddb> and </viddb> tags from the exported xml file. Similarly, you could just remove those from the export script so that they aren't inserted when you export the XML file from PVD.

4
Development / Re: PK's MovieDB dynamic website template
« on: August 06, 2010, 06:25:16 pm »
Thanks mgpw4me.  That makes perfect sense.  I'll just let that one go for now :)

Two other things I'd love to get some tips on, both regarding side panels:

1) First off, I want to get them to sort by count, instead of by name.  Thus a director panel would be ordered by number of movies in my database instead of alphabetically.  I swear this should be a simple tweak of the panel template code and how the keys/values are sorted, but I've yet to be able to get it to work.

EDIT: I finally figured this one out -- needed to edit the mdp_panel.inc and change the following line in the sort_categories function:

        $keys = array_keys($categories);
        sort($categories);

to

        ksort($categories);
        arsort($categories);
        $keys = array_keys($categories);

I then create a second function and a second class that allows the panel to be sorted this way.  Yippee.

2) When you select a subset of data, say showing all the films that have the genre of "horror", the side panel for directors stays with the same set of names that it has for the entire movie collection.  So, if I have 10 James Cameron films in my database and then select "horror", instead of showing me the directors with the most horror movies, it would just keep Cameron on there with a "0" next to his name, since he has no horror movies.  You can click on my database if this makes no sense (http://botez.byethost9.com/index.php?genre=Horror) to see what I'm talking about.

I'd like to find a way to be able to get the side panel to update when you drill down into genres/years/etc.

Thanks for any help anyone can provide.

5
Development / Re: PK's MovieDB dynamic website template
« on: August 06, 2010, 01:05:55 am »
I've been messing with this script once again (http://botez.byethost9.com/index.php) and am trying to find a way to sort by last names for fields like Director, Actor, etc.  Currently, you can only sort by the first letter of the first name.

I figure there has to be a way to do this, either via a SQL command on the existing database or some kind of regular expression on the export out of PVD.  Or perhaps it all has to be done in the PHP, like the "period" function from a few posts above.

Does anyone have any ideas on this?

6
Support / Poster Import from IMPAwards issue
« on: April 16, 2010, 11:26:14 pm »
I'm having an odd issue when trying to import posters from IMPAwards using the plugin.  If I run the plugin for a movie like "Aliens", it comes up with only posters for "Aliens vs. Predator".  This despite the fact that the posters for "Aliens" are definitely on the site.  Is there a way I can fix this or workaround this?  Has anyone else seen this?

Let me know if you need log info from me...

7
Support / Re: 5-Star rating scale?
« on: April 15, 2010, 05:08:56 am »
Nostra -- I look forward to that if you have the opportunity to do so.  Thanks for the reply.

8
Support / 5-Star rating scale?
« on: April 15, 2010, 12:48:35 am »
I've just started using PVD and think it is quite possibly the greatest database tool ever.  Right now I'm spitting out SQL which allows me to post all of my viewed/rated movies to a website that I access from my movie blog.  Simply wonderful and pleasing to my OCD sensibilities.

One issue I'm having that I can't find a fix for.  I've been using a 5-star scale for my ratings for the longest time and don't really want to alter it.  Is there a way to incorporate a five-star scale into the User Rating instead of the standard 10-star one that exists?

Thanks

Troy Olson

Pages: [1]