Maybe it's usefull to put in the details also the borrower...; So friends of me know that the movie they would like to see is not here at the moment...
And instead of the name of the borrower you can just put a little word like "borrowed" somewere in the details...
thanx for the translation, I will add that as soon as I return from my vacation (which will be next thursday). I already have a few things done for the next beta, including more statistics etc.
I'll have to check all the warnings with my php and clean up my dirty code.
The next version will probably feature a few new language strings. I'll fill the missing ones in the dutch translation with english, feel free to update it...
About the borrow thing: I'm not using that feature of AMC, so this hasn't been on my mind yet. I'll have a look and will add it in the next beta as well.
Do you know already when your next release will be? I'm really looking forward to it, because it is a great template. And it runs really fast on my apacheserver... Keep up the good work, dude...
Next Version? Late next week I would say, gotta go on a business trip on monday. A few new things can already be seen in the demonstration on the homepage. Have a look at the first new statistics.
Btw, Fonske: What setting was your php error reporting at when you encountered those warnings?
Ormus wrote:
Btw, Fonske: What setting was your php error reporting at when you encountered those warnings?
Sorry, I don't remember, but I know that it was a default installation from scratch.... So if you reinstall php, you will have same settings as I had...
Added your 'borrow' request, check the online demonstration. Is that, what you've been thinking about (see movie #1)?
The php warnings: Can't do much about them. If I increase the warning level I get way to many warnings to fix them. So I declare 'Report only errors' in php.ini a requirement. Microsoft-style
Ormus wrote:Added your 'borrow' request, check the online demonstration. Is that, what you've been thinking about (see movie #1)?
Ok, seems to work, but I would put it in the details as you put the field "added" and than as value, you can give a boolean: yes or no, depending if it is borrowed to somebody or not... Do know what I mean?
I first thought the problem was with me, but your demo shows the same "error".
When you click on "list" you get the entire movie list.
The first movie on page 2 = the last movie on page 1. After page 2 everything is right.
But the result is that you can never see the last movie in your list.
When you go to the last page, you'll see that the last movie is nr 1200.
But when you set the "Rows per page" to (for example) 1250, you can see the real last movie: nr 1201.
I did a quick look on the code, but didn't have the time to check it out carefully...
The demo works now.
I have changed some stuff myself, and I didn't want to change them back when a new release comes out just for this little thing.
So I searched for it myself and found what was wrong.
Well, I think I found it
Here's what I did:
In the main.php:
// start at offset
// todo: fast direct jump possible ???
if ($row > $_SESSION['currentOffset'] + 1)
Maybe it's not right to do this, so I'd like to know how you did it.
Anyway, I really like it
Ok found it
Had a little problem with copying stuff from the old main.php to the new, but found that too.
The function "replaceSubStrings" had another name in the previous version.
Thank you for this great piece of coding!
And ofcourse the creator of Ant Movie Catalog