I am working on a site which will mainly be viewed from a couple of computers. The problem is that once you have voted from one machine you can't do it again. How can I get round this as I can't see any option in the control panel for disabling this. Is there some code I can comment out?
I have been running AP v1.6 for some time now just fine. Recently we have been unable to login to the admin with any consistancy. Today I can't get in at all. I have not changed the password.
I tried to rerun the install but it saw that the db tables were up and stoped there-- any advice?
The location:
/include/class_poll.php in your installation directory
find function poll ()... Now you can place the string
$this->pollvars['check_ip'] = 2;
after the string
$this->pollvars = $this->db->fetch_array($this->db->query("SELECT * FROM ".$this->tbl['poll_config']));
It will set the value of parameter 'check_ip' to '2' in the database.
The number of this line is between 35 and 40 (I have edited the code, so can not tell you exactly).
I think that your way to do this is better. So use editing database directly (via phpMyAdmin or something else) if it works.