22-Jan-2016, 02:43 PM
Hello All
I have integrated comment box successfully on my website. I want a comment form on user's profile page. So comment form must be different for each user.
In my website, user's profile page url is - http://gurutechnolabs.com/demo/epic/76561198150832211
In above url, last URI (76561198150832211) changes for every user. I called the form using below code.
<?php
$last=explode('/',$_SERVER['REQUEST_URI']);
$cmtx_identifier = $last[3];
$cmtx_reference = 'Page One';
$cmtx_path = 'comments-upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
Problem: It is showing same comment form and comments in all users. For ex
1) User 1 - http://gurutechnolabs.com/demo/epic/76561198150832211
2) USer 2 - http://gurutechnolabs.com/demo/epic/12234213446311524
It is showing same comments in both user's profile.
Please guide me where I am making mistake ?
Thanks
I have integrated comment box successfully on my website. I want a comment form on user's profile page. So comment form must be different for each user.
In my website, user's profile page url is - http://gurutechnolabs.com/demo/epic/76561198150832211
In above url, last URI (76561198150832211) changes for every user. I called the form using below code.
<?php
$last=explode('/',$_SERVER['REQUEST_URI']);
$cmtx_identifier = $last[3];
$cmtx_reference = 'Page One';
$cmtx_path = 'comments-upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
Problem: It is showing same comment form and comments in all users. For ex
1) User 1 - http://gurutechnolabs.com/demo/epic/76561198150832211
2) USer 2 - http://gurutechnolabs.com/demo/epic/12234213446311524
It is showing same comments in both user's profile.
Please guide me where I am making mistake ?
Thanks