RevCMS FindRetros Voting

Artist

Member
Jan 12, 2014
73
5
When I click my banner, it takes me to voting instead of url/index/novote

Does anyone know how to fix this problem?
 

Artist

Member
Jan 12, 2014
73
5
My banner is supposed to go to url/index/novote but instead it makes you vote, usually it would take you there before voting but now it isn't.

My voting is set to make it so when you go to url/index it makes you vote.
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
Not sure never used this new API, but im guessing you only need to add this code to your client.php
Code:
<?php

require_once 'findretros_config.php';
require_once 'findretros.php';

$FindRetros = new FindRetros();

if($FindRetros->hasClientVoted()) {

    echo 'You have voted!';

}else{

    // echo 'You have yet to vote!';

    $FindRetros->redirectClientToVote();

}
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Not sure never used this new API, but im guessing you only need to add this code to your client.php
Code:
<?php

require_once 'findretros_config.php';
require_once 'findretros.php';

$FindRetros = new FindRetros();

if($FindRetros->hasClientVoted()) {

    echo 'You have voted!';

}else{

    // echo 'You have yet to vote!';

    $FindRetros->redirectClientToVote();

}
Easier then this though is make your Enter Client -> Retroslist -> site/client.php
Negative of this way:
- Advertisers can skip voting

Positives:
- Most people will vote and less vote
 

Users who are viewing this thread

Top