Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthornic_papi
    • CommentTimeNov 28th 2007
     
    Hello,

    From where can I change the number of minutes (now is 10)... a user can apply again to a new job?
    Thank you for your help.
    • CommentAuthorfilip
    • CommentTimeNov 28th 2007
     

    open up _includes/class.jobApplication.php,
    public function Apply(),
    edit the first SQL query:
    $sql = ‘SELECT id FROM job_applications WHERE ip = “’ . $ip . ‘” AND NOW>DATE_ADD(created_on,INTERVAL 10 MINUTE)’;

    You can take this completely out (but pay attention the next if structure: if (empty($row))) or change that interval.

    • CommentAuthornic_papi
    • CommentTimeNov 28th 2007
     
    I didn`t change it.
    But I see that after I apply for one job I can`t apply to a new one ... not only after 10 minutes ... forever.
    Can you help me please?
  1.  
    Has anyone got any code I can copy/paste in to replace the 10 minute apply issue. I don't want to limit applications.

    Thanks,

    CS
    • CommentAuthorTokyoJ
    • CommentTimeApr 24th 2008
     
    So according to the above code....the interval in this line

    $sql = ‘SELECT id FROM job_applications WHERE ip = “’ . $ip . ‘” AND NOW>DATE_ADD(created_on,INTERVAL 10 MINUTE)’;

    can be changed to 1 or 0 MINUTE, correct?

    BUT .... I'm more interested in

    "You can take this completely out (but pay attention the next if structure: if (empty($row))) or change that interval."

    I don't understand how ...
    Thank you...