Is it possible to integrate users with this comments system so that if they are logged into the website, they do not need to fill out any of the forms and can make a comment with their username?
This is the community forum. For a developer response use the Client Area.
18-Apr-2014, 12:41 PM
Hi,
Yes that's possible. The integration page explains it:
http://www.commentics.org/wiki/doku.php?...in_details
Yes that's possible. The integration page explains it:
http://www.commentics.org/wiki/doku.php?...in_details
24-Apr-2014, 07:21 PM
I am confused about when it says to add the code to the "integration code." Where is the integration code? My website also uses usernames instead of first name so how could I make it use the username?
25-Apr-2014, 11:05 PM
The integration code is the code that you added to your website's page(s). It should look similar to this:
PHP Code:
<?php
$cmtx_identifier = '1';
$cmtx_reference = 'Page One';
$cmtx_path = 'upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
With the login data, it should look like this:
PHP Code:
<?php
$cmtx_set_name_value = ''; //enter your username variable here, e.g. $cmtx_set_name_value = $username;
$cmtx_set_email_value = '';
$cmtx_set_website_value = '';
$cmtx_set_town_value = '';
$cmtx_set_country_value = '';
$cmtx_identifier = '1';
$cmtx_reference = 'Page One';
$cmtx_path = 'upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
« Next Oldest | Next Newest »
Possibly Related Threads…
Thread / Author
Replies
Views
Last Post
Users browsing this thread: 1 Guest(s)