Previous Thread
Next Thread
Print Thread
Rate Thread
#119614 05/31/2001 4:53 AM
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
I have added the UBB Poll and everything appears to work, except if you try to vote twice. Instead of saying `You have already voted` I just get `$vars_wordlets_mods{polls_already_voted}` !


Burn
Sponsored Links
#119615 05/31/2001 5:32 AM
Joined: Jan 2001
Posts: 76
Member
Member
Offline
Joined: Jan 2001
Posts: 76
I think that there are something wrong with your worldlets.

Have a look at the instractions for vars_wordlets_mods.cgi

smile

#119616 05/31/2001 5:47 AM
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
I`ve never had a problem with vars_wordlets_mods.cgi before......although I did notice that Ubb Poll variables didn`t have ~q on either side where as all the other variables have. Would that be the problem ??


Burn
#119617 05/31/2001 7:46 AM
Joined: May 2001
Posts: 39
Member
Member
Offline
Joined: May 2001
Posts: 39
That`s the same problem i have 2.....

#119618 05/31/2001 9:39 AM
Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Post your vars_wordlets_mods.cgi here. We'll take a look.

Sponsored Links
#119619 05/31/2001 10:33 AM
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Code
code:


Burn
#119620 05/31/2001 1:59 PM
Joined: Feb 2001
Posts: 105
Member
Member
Offline
Joined: Feb 2001
Posts: 105
what i did was find where they are called in the ubb_poll.cgi i think

and if you see the code you will notice that there are extra single quotes around these strings. just remove them

#119621 05/31/2001 4:14 PM
Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Pablo was right! There is a bug in ubb_poll.cgi.

## Change this:

poll_html('$vars_wordlets_mods{polls_already_voted}') if($double);

## to:

poll_html($vars_wordlets_mods{polls_already_voted}) if($double);

## Do the same thing wherever you see the single quotes around

poll_html('$vars_wordlets_mods{....}')

Just remove those quotes

[ May 31, 2001 04:20 PM: Message edited by: freeTV ]

#119622 06/01/2001 3:24 AM
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Cheers FreeTV ! laugh


Burn
#119623 06/01/2001 3:31 AM
Joined: May 2001
Posts: 77
JJS Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
Burn:

Where do I find the polling script and how do I install it? I'd also like to add the Who's on Line script to my board.

My apologies to the moderator if this isn't the appropriate forum to ask these questions. If not, please direct me to the appropriate forum.

Thanks for the assistance.

[ June 01, 2001 03:32 AM: Message edited by: JJS ]

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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)