Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Mod Name / Version: Alternative Poll Tracking 1.0

Description: This mod is for the following:

1) Admins who allow everyone (both registered and unregistered) to vote in polls (btw it won't affect the way in which registered users are tracked, which is by usernumber, if they are the only ones allowed to vote).

2) Admins who have users complaining that they can't vote because they share an IP number with one or more other users who use different computers.

Instead of tracking votes by IP number, this mod will now store a randomly generated & permanent number in a cookie (even if your forums are set to not use cookies).

Also, if a user doesn't allow cookies to be set then they won't be able to vote.

Note: As far as I can tell this works exactly as intended without any noticeable bugs, but if you find something not functioning correctly please let me know asap :-)


Working Under: UBB.Threads 6.3-6.4

Mod Status: Finished

Any pre-requisites:

Author(s): Twisty

Date: 01/06/05

Credits:

Files Altered:

ubbt.inc.php
dopoll.php
pals/pollpal.php (if IIP is installed - tested with IIP 5.3.1 - newer IIP versions may not be compatible with the changes specified in step #3!)

New Files:

Database Altered: no

Info/Instructions: (see attachment)

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments

Last edited by Twisty; 04/29/2005 8:53 PM.
Sponsored Links
Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
In IIP 6.5.1 I do not see the line you say to look for in step 3-B

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Ditto here.

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Thanks for the heads-up.

I should mention that this was tested with IIP 5.3.1 which I currently still use btw (and edited my post/attachment above to clearly state this).

Newer versions will probably use different code, so if someone wishes to update this mod, then by all means feel free

Last edited by Twisty; 04/29/2005 8:50 PM.
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
I searched through pollpal.php and could not find anything even remotely close to that line.

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
I really can't add anything more as I don't use the newer IIP versions, and have no way to test any proposed changes.

It's definitely present in 5.3.1 - that much I can guarantee.

Someone would just have to figure out how to add the same functionality to the newer script.


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
isaac
isaac
California
Posts: 1,157
Joined: July 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 20221218)