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 
Advanced Poll - Check IP table  XML
Forum Index » General Discussion
Author Message
Chemist
Newbie

Joined: 09/02/2011 23:09:05
Messages: 4
Offline

Hi to all!
Is it possible to make time for option "Check IP table" in minutes instead of hour? Can I block for 15 minutes?
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

The time unit is 1 hour. You can only change the code to do this.

From the class file class_poll.php replace the line

with
[Email] [WWW]
Chemist
Newbie

Joined: 09/02/2011 23:09:05
Messages: 4
Offline

Thank you very much! After that time unit will be in minutes?
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

Yes, that's right
[Email] [WWW]
Chemist
Newbie

Joined: 09/02/2011 23:09:05
Messages: 4
Offline

It does not work correctly. I set up 15 in admin page. But if I clear cookie I can vote at once. Not after 15 minutes.
May be the correct code:

I am not sure.
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

The time is calculate in seconds.





[Email] [WWW]
Chemist
Newbie

Joined: 09/02/2011 23:09:05
Messages: 4
Offline

Thank you very much for your great support!
DM613
Newbie

Joined: 09/11/2011 09:22:32
Messages: 2
Offline

It will not work correctly. I got a 15 on the administration page. But if I can remove the cookies to vote both. Not after 15 minutes.

 
Forum Index » General Discussion
Go to:   
Based on the open source JForum