First let me say that your script is awesome. Thanks for your hard work and thank you for sharing this with the rest of us!
I would like to combine commentics with an existing login system, as an alternative to any other security measures already in place by commentics like captcha etc. I understand that I can supply confimed login details to Commentics and prefill form fields by adding something like this to the top of my integration code:
I believe that starting from the following line (in "../apps/processor.php") the above code gets processed:
But where can I find cmtx_setting()? I don't want to change state_name, state_email and so on in the admin menu. I'd like to leave it to the user if he wants to login or use the captcha test etc.
Also, I modified "/includes/app/processesor.php" and renamed it. I get an 403 (Forbidden) when I try to access the new file. But when I put the renamed file in "/commentics/includes/" it works. Are there any folder restrictions or anything like this?
Thank you for your time!
I would like to combine commentics with an existing login system, as an alternative to any other security measures already in place by commentics like captcha etc. I understand that I can supply confimed login details to Commentics and prefill form fields by adding something like this to the top of my integration code:
Code:
if($session->logged_in){
$cmtx_set_name_value = 'user_name';
$cmtx_set_email_value = 'bla';
...
cmtx_setting('state_name') == 'hide'; --> where can I find "cmtx_settings()" ??!
...
}
Code:
if (isset($cmtx_set_name_value) && !empty($cmtx_set_name_value) && cmtx_setting('state_name') != 'normal')
...
Also, I modified "/includes/app/processesor.php" and renamed it. I get an 403 (Forbidden) when I try to access the new file. But when I put the renamed file in "/commentics/includes/" it works. Are there any folder restrictions or anything like this?
Thank you for your time!