08-Oct-2017, 07:34 PM
Hi, I would like to fill through PHP the name and email of the user to integrate commentics fully with my website.
That works:
<?php
$cmtx_name = 'some user';
$cmtx_email = 'some@some.com';
$cmtx_website = '';
$cmtx_town = '';
$cmtx_country = '';
$cmtx_state = '';
$cmtx_identifier = '3';
$cmtx_reference = 'myref';
$cmtx_folder = '/mycomments/';
require($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');
?>
I would like also to show the comments without enabling at all a new comment if the user is not logged in my website.
How can i do that in PHP?
Thanks
Luigi
That works:
<?php
$cmtx_name = 'some user';
$cmtx_email = 'some@some.com';
$cmtx_website = '';
$cmtx_town = '';
$cmtx_country = '';
$cmtx_state = '';
$cmtx_identifier = '3';
$cmtx_reference = 'myref';
$cmtx_folder = '/mycomments/';
require($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');
?>
I would like also to show the comments without enabling at all a new comment if the user is not logged in my website.
How can i do that in PHP?
Thanks
Luigi