I have a problem in the voting part, when someone votes, keeps counting the time for all accounts and apparently time does not end
box_votescript.php
** EDIT **
If I create a new account now, and go to vote it will say that you already voted and keep counting the time to vote again
** EDIT² **
apparently i had another file on my server similar to box_votescript called vote.php in i also modified it as@ketchup commented:
Replace HTTP_CF_CONNECTING_IP with REMOTE_ADDR
and apparently it's working, thank you very much
Code:
$_CONFIG['vote_enabled'] = true;
$_CONFIG['vote_timedelay'] = 15;
$_CONFIG['vote_toplists'] = array(
0 => array(
'name' => 'Gtop 100',
'link' => 'https://gtop100.com/topsites/Flyff/sitedetails/Flyff-Testvote-99668?vote=1',
'earnVotePoints' => 10,
'timeLimit' => 43200
),
);
box_votescript.php
You must be registered to see links
** EDIT **
If I create a new account now, and go to vote it will say that you already voted and keep counting the time to vote again
** EDIT² **
apparently i had another file on my server similar to box_votescript called vote.php in i also modified it as@ketchup commented:
Replace HTTP_CF_CONNECTING_IP with REMOTE_ADDR
and apparently it's working, thank you very much
Last edited: