Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
26/03/2004 16:37:44
|
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
|
|
09/04/2004 16:54:28
|
Anonymous
|
Hi,
check your general settings-miscellaneus-check! Perhaps you have there not the correct. Check IP table and lockout time.
Murphy
|
|
09/04/2004 18:36:45
|
iloveyou
Beginner
Joined: 14/11/2002 19:36:23
Messages: 17
Location: iloveyou
Offline
|
Yes, do that!
|
I love you! |
|
|
|
|
|
Based on the open source JForum
|