Previous Thread
Next Thread
Print Thread
Rate Thread
#283644 02/18/2005 7:20 PM
Joined: Mar 2004
Posts: 26
Junior Member
Junior Member
Offline
Joined: Mar 2004
Posts: 26
Hey,
with the poll feature, how often is each member allowed to vote? Only once? Or once every day? If it is restricted, is it restricted to once per member, or once per IP address?

Cheers

Sponsored Links
Luca #283645 02/23/2005 6:33 PM
Joined: Mar 2004
Posts: 26
Junior Member
Junior Member
Offline
Joined: Mar 2004
Posts: 26
anyone have any feedback?

Luca #283646 02/23/2005 6:37 PM
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
2 options:
either you let only the registered users vote, then every user can vote once, or you let everybody vote, then every IP can vot once.

domain123 #283647 02/28/2005 2:33 PM
Joined: Mar 2004
Posts: 26
Junior Member
Junior Member
Offline
Joined: Mar 2004
Posts: 26
I found out that 6.5 had a bug whereby members could vote multiple times, as long as they had a different IP address each time they voted - it restricted based on IP address rather than by member. Also, if you allowed anonymous members to vote, it then restricted by member, meaning that anonymous users couldn't vote at all, even if you wanted them to.
I just installed 6.5.1 and am having the same problem, although it could be that I retained a few files from 6.5. Anyone know what was changed in 6.5.1 that supposedly fixed this problem?

Luca #283648 02/28/2005 3:10 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
in 6.5 the option for IP/UID in the control panel is switched. Bug in template. If you dont update set it contrariwise. This Bug is fixed in 6.5.1b4 and above. 6.5.1 runs well. If running 6.5.1 now please check your poll settings again.

After I run 6.5 I have to clean out my poll table with phpmyAdmin. I delete all IP votings (I allow only voting for UID).

Sponsored Links
landyphil #283649 03/01/2005 6:20 PM
Joined: Mar 2004
Posts: 26
Junior Member
Junior Member
Offline
Joined: Mar 2004
Posts: 26
Thanks.
Which template exactly was changed that fixed this problem in 6.5.1?

Luca #283650 03/02/2005 2:59 AM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
\templates\default\admin\features.tmpl

change:
Code
<input type="radio" name="whovote" value="0" $whovote_0_checked id="whovote-0" /> {$ubbt_lang['VOTE_1']}</label><br /><br /><label class="radio" for="whovote-1"><br /><input type="radio" name="whovote" value="1" $whovote_1_checked id="whovote-1" /> {$ubbt_lang['VOTE_2']}</label>


to:
Code
<input type="radio" name="whovote" value="1" $whovote_1_checked id="whovote-0" /> {$ubbt_lang['VOTE_1']}</label><br /><br /><label class="radio" for="whovote-1"><br /><input type="radio" name="whovote" value="0" $whovote_0_checked id="whovote-1" /> {$ubbt_lang['VOTE_2']}</label>


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
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 20240506)