|
|
Joined: Nov 2000
Posts: 48
Member
|
Member
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
|
|
|
|
Joined: Jan 2001
Posts: 76
Member
|
Member
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
|
|
|
|
Joined: Nov 2000
Posts: 48
Member
|
Member
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
|
|
|
|
Joined: May 2001
Posts: 39
Member
|
Member
Joined: May 2001
Posts: 39 |
That`s the same problem i have 2.....
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
Joined: Apr 2001
Posts: 235 |
Post your vars_wordlets_mods.cgi here. We'll take a look.
|
|
|
|
Joined: Nov 2000
Posts: 48
Member
|
Member
Joined: Nov 2000
Posts: 48 |
Burn
|
|
|
|
Joined: Feb 2001
Posts: 105
Member
|
Member
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
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
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 ]
|
|
|
|
Joined: Nov 2000
Posts: 48
Member
|
Member
Joined: Nov 2000
Posts: 48 |
Cheers FreeTV !
Burn
|
|
|
|
Joined: May 2001
Posts: 77
Junior Member
|
Junior Member
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 ]
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|