Reply to thread

Changes I made to voted.php that fixed my issue.

Btw my API is different I believe it grabs from global.php so when they login they have to vote. But it still does check /findretros/ folder. Which the one Sledmore I think released only has findretro_config.php and findretros.php, and the

[SPOILER="Findretros PHP Code"][HTML]    <?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();

  

    }[/HTML][/SPOILER]

Mine is little different from voting API released I believe probably why I had that problem.


Unedited voted.php file.


Edited voted.php with changes made that fixed my issue.


Top