This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Integrating Users
#1
Question 

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?
Reply
#2

Hi,

Yes that's possible. The integration page explains it:
http://www.commentics.org/wiki/doku.php?...in_details

Have you completed the interview?
Reply
#3

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?
Reply
#4

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
?>

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
20-Mar-2017, 09:09 PM
Last Post by Steven
21-Sep-2015, 05:40 PM
Last Post by Steven
10-Apr-2014, 08:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)