Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 18
Junior Member
Junior Member
Offline
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

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)