UBB.Dev
Hi,
I just upgraded my board from 6.20 to 6.21, but the Poll feature does not work correctly. I am able to post the poll and can preview it, but after I click "post poll" button, I don't see the poll show in my message i just posted. Anyone here knows whats' wrong?
Basically, everything is fine until i try to view the poll i just posted, and i cannot see it, only see the description of the poll, that's it.

Thanks
Wrong forum. Moving to new members...

Re-upload ubb_lib_posting.cgi, public_topic_page.pl.
I checked the code in find out that in the ubb_lib_posting.cgi the following condition does not met and therefore the poll does not show up.

# Add poll data before the signature
# polling bits
if(($stat_line[10] =~ m/^(w{12})$/) && ($thisline[1] eq "000000")) {
&RequireCode("ubb_poll.cgi");
&poll_load($1);
$post_body .= &topic_poll_bits($poll->{$1}, $1, $topic_number);
} # end if

What's stat_line[10] and what does this condition means?
Can anyone help me?
[10] is the letter combination of the poll name, like YIOpDyNpPtwe.

Did you install hit hack 3.01? If so, I guess you used the old version. Please remove it and install the new version (in hit hack's last post - ClanKiller's url)
awesome LK. Thanks alot for ur help. Yup, the old Hit Hack cause the problem. I saw the old Hit Hack set stat_line[10] = "", and this, I think, cause the problem.

Thanks LK. Thing works great now.
© UBB.Developers