about the voting i have made this:
in modules/myalbum/include/function.php
at line 533 cancel:
$finalrating = number_format( $totalrating / $votesDB , 4 ) ;
$query = "UPDATE $table_photos SET rating=$finalrating, votes=$votesDB WHERE lid = $lid" ;
and copy this:
//hack Dantom
#$finalrating = number_format( $totalrating / $votesDB , 4 ) ;
$finalrating = $totalrating ;
$query = "UPDATE $table_photos SET rating=$finalrating, votes=$votesDB WHERE lid = $lid" ;
now is all ok but when the sum exceeds 99 there is an error? (or not???) how can i do sum for example 202 ? (i must modify anithing else in phpmyadmin ???)
thanks a lot