05-Dec-2015, 01:53 PM
You must be busy for Christmas. Sorry to disturb you again. I was wondering if you had a chance to look at the 2 queries below:
a) in the comments.php, i replaced the line 389 with
$cmtx_box .= '<a class="cmtx_vote cmtx_like" href="' . cmtx_url_encode(cmtx_current_page()) . '" id="cmtx_like_' . $id . '" title="' . CMTX_TITLE_LIKE . '" rel="nofollow">Like ' . $likes . '</a>';
and in vote.php , line 121 with
echo 'Like ' . $likes;
After the above changes, the counter for the number of likes is not increasing on the page.
b) When i am trying to remove the image for flag tag , i replaced the line 379 in comments.php with this
$cmtx_box .= '<a class="cmtx_flag" href="' . cmtx_url_encode(cmtx_current_page()) . '" id="cmtx_flag_' . $id . '" title="' . CMTX_TITLE_FLAG . '" rel="nofollow"> . CMTX_FLAG . '</a>';
I am getting an error message:
Parse error: syntax error, unexpected '/' in /public_html/comments/includes/functions/comments.php on line 379.
I couldn't locate what to change in flag.php.
a) in the comments.php, i replaced the line 389 with
$cmtx_box .= '<a class="cmtx_vote cmtx_like" href="' . cmtx_url_encode(cmtx_current_page()) . '" id="cmtx_like_' . $id . '" title="' . CMTX_TITLE_LIKE . '" rel="nofollow">Like ' . $likes . '</a>';
and in vote.php , line 121 with
echo 'Like ' . $likes;
After the above changes, the counter for the number of likes is not increasing on the page.
b) When i am trying to remove the image for flag tag , i replaced the line 379 in comments.php with this
$cmtx_box .= '<a class="cmtx_flag" href="' . cmtx_url_encode(cmtx_current_page()) . '" id="cmtx_flag_' . $id . '" title="' . CMTX_TITLE_FLAG . '" rel="nofollow"> . CMTX_FLAG . '</a>';
I am getting an error message:
Parse error: syntax error, unexpected '/' in /public_html/comments/includes/functions/comments.php on line 379.
I couldn't locate what to change in flag.php.