If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Multiple votes on Advanced Poll?  XML
Forum Index » Support Forum
Author Message
jcoones
Newbie

Joined: 21/01/2003 18:43:14
Messages: 3
Location: Toronto, Ontario Canada
Offline

I installed Advance Poll as per the instructions and placed the line "<?php require "Poll/db/poll_cookie.php"; ?> before anything else. I then placed the following code where I wanted the poll to appear on the page.

<?php

/* path */
$poll_path = "/home/yourlcbo/www/www/Poll/db";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new poll();

The poll works fine except it allows anyone to vote as many times as they want. I understood that Advanced Poll only allowed one vote per IP.

Is my understanding incorrect or have I missed something during the install and setup?

Thanks
[WWW]
Anonymous



Hi,
check your general settings-miscellaneus-check! Perhaps you have there not the correct. Check IP table and lockout time.
Murphy
iloveyou
Beginner

Joined: 14/11/2002 19:36:23
Messages: 17
Location: iloveyou
Offline

Yes, do that!

I love you!
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum