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

comment box appearance
#11

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.
Reply
#12

Hi,

Sorry about the delay.

In vote.php line 121 try this:

PHP Code:
<?php 
echo '<span id="cmtx_flash_like_' . $id . '">Like ' . $likes . '</span>';

In comments.php line 379 try this:

PHP Code:
<?php 
$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>';

You shouldn't need to change anything in flag.php.

Have you completed the interview?
Reply
#13

Thanks a lot!!!!!!!!!!!!!!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by kiyaaz
12-Aug-2020, 03:12 PM
Last Post by Vaiolet12
14-Sep-2017, 11:44 AM
Last Post by mariank
31-Dec-2013, 05:49 PM
Last Post by mariank
30-Dec-2013, 11:34 AM
Last Post by 2hands
28-Jun-2012, 02:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)