Oh no, I am so an idiot...
I tested this as admin -> ok there it is always activated (of course ... why should the admin lock himselfe out ^^)
So I tested it, when I was logged out -> as Guest
But I did not tested it as a normal registered user logged in. <- There it works perfectly...data is stored in table and so on.
But now I am a little bit sad because I thougt this MOD would also allow Guests to Download after they have voted.
The Votes are counted, but there is no entry in the table (jeah I know, he has no UserID)
But maybe it is possible that the voting is saved by cookie/ip, so that this Guest can download the image after a vote.
if (!in_array($id, $split_list) && !in_array($id, $cookie_rated) && !$rated) {
Thought that "$cookie_rated" was what I was searching
Any ideas how to implement that?