|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Wrong forum. Moving to new members...
Re-upload ubb_lib_posting.cgi, public_topic_page.pl.
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
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?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
[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)
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
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.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,832
Joined: January 2000
|
|
Forums63
Topics37,571
Posts293,923
Members13,848
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|