Hello,
I need to set UP this module to check User_id
but if I add to line
$user_id=$wb->get_user_id();
$database->query("INSERT INTO ".TABLE_PREFIX."mod_polls_votes SET `vote_ip` = '" . $ip . "',`poll_id` = '" . $poll_id . "', `vote_datum` = '" . $date_time . "',`user_id` = '" . $user_id . "' ");
work but not check
where I must add checking user ID (and how)
Thank you I try it 3. hours and nothing works

Only simple change all $ip > $user_id works