Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I put the code up at http://brettly.net/netflixo.txt. Just save that file, change the name to netflixo.cgi and put it in your cgi-bin directory with the netflix.cgi from Oscar’s code.
    Once you have that, create a second .dat file (I use netflixo.dat) with the same permissions you have for the netflix.dat file.
    Finally, make a copy of the code you used above to display the queue and change the $filename line to point to the new .dat file and the $output line to point to the new .cgi file and put it in your index.php where you want the outstanding queue to appear.
    Hopefully that works, I set it up a month ago so I’m trying to remember if I changed anything else.

    Southerngal,
    To get the movies at home part, I took Oscar’s netflix-outstanding plugin from MT and hacked it down to match up with the netflix.cgi he created and called it netflixo.cgi then in my index.php file I include each one seperately. If you’re interested, I can send you the netflixo.cgi file and the quick instructions to add it in.

    rsbenedict: not sure if anyone helped you on this or not but I used the old netflix plugins before Oscar did all the great work to add all the functionality he did and I wanted to limit the list too. Here is what you need to do.
    after line 26 which is: my $out = ”;
    add another line: my $i = 1;
    then change this line: while ($c =~ m!s=bd>(.*?)</tr>!sg) {
    to: while ($c =~ m!s=bd>(.*?)</tr>!sg && $i < 11) {
    change 11 to one more than however many you want displayed
    finally, after the print line, add another line with: $i++;
    I use this along with a hack of the netflix outstanding plugin I made with my WP testing site which I haven’t publicized yet, and it works perfectly.

    Thread Starter brett

    (@brett)

    Thanks, that did the trick. I was just one line too soon in the file when I tried before.

    Thread Starter brett

    (@brett)

    True, but there isn’t really an answer in that post, it just says add $cat=”-15″ to the wp-rss2.php file. That might make perfect sense to the person that posted it, but if you just randomly insert it into the php file, it will throw an error. Does it go in a loop? Does the -15 correspond to which specific category to exclude? Just for the sake of taking the post at its word, I just added that line to the php file and it breaks the php. Any help would be appreciated.
    Thanks, Brett

    Where do you put that line? I want to exclude a single category and if its just a matter of adding that line, I just need to know where it goes.

    Thread Starter brett

    (@brett)

    I was just wondering if anyone has come up with anything on this. I duplicated the function and can call it alongside the original function, but when it comes to getting it to properly display the next month’s calendar, I’m stumped. I got the next month’s name to display correctly and a future dated post shows up, but for some reason it changed the year to last year and the days start in the wrong spot.

    Thread Starter brett

    (@brett)

    I’m not too fluent in php yet so if you (or anyone else) do come up with something, it would be great. I’m going to take a look at the function to see if I can take a stab at it anyways.

Viewing 8 replies - 1 through 8 (of 8 total)