Posts: 3
Threads: 1
Joined: Sep 2012
Clicking on the buttons to vote the comments up or down won't work, flagging as spam won't work too, but the reply button and everything else seems to be working fine.
The javascript message won't show up, and these functions don't work even if I disable the message, and the page goes to the top when buttons get clicked.
Posts: 2,905
Threads: 59
Joined: Jun 2010
The vote and flag buttons use jQuery. Your page likely has something which is interfering with it. If you post a link to your page I could take a look.
Have
you completed
the interview?
Posts: 3
Threads: 1
Joined: Sep 2012
Sorry, I'm testing on local server. (And now I'm posting on mobile ^^')
But, yes, I'm using jQuery for Dynamics Drive Smooth Menu, and I'm using jQuery I downloaded from the Google page
Commentics isn't the first script that didn't work, probably because of the same thing, now that I'm thinking...
Console gives an error:
"Uncaught type error: cannot write property 'classname' of 'undefined'." (Or something like that. ^^')
Thank you for your support! =D
Posts: 3
Threads: 1
Joined: Sep 2012
Fixed, downloaded jQuery 1.7.2 (same version commentics was using), replaced the version I was using, and removed the code that loaded jQuery from templates/comments.php.
Thank you. ^^
Posts: 6
Threads: 1
Joined: Nov 2012
Hello
I need a little help. I want to change tables order, (right to left)
and why when I use in a web page with directory address like:http://kabulit.com/art/290 the vote an flag not work. but if I change the address to
http://kabulit.com/view.php?entryID=290 it works fine. it is open to try it.
And thanks for your good script.
Posts: 2,905
Threads: 59
Joined: Jun 2010
Hi,
What exactly do you mean by "tables"?
If you mean the text inside the comment boxes, you would open the stylesheet (/comments/css/stylesheet.css) and add the line below:
.cmtx_comment_text {
font-family: helvetica;
font-size: 0.8em;
direction: rtl;
}
Have
you completed
the interview?
Posts: 2,905
Threads: 59
Joined: Jun 2010
At the moment, I'm not sure why the vote and flag features are not working when your URL is re-written.
I'll look into it and let you know if I find a solution.
Have
you completed
the interview?
Posts: 6
Threads: 1
Joined: Nov 2012
Thanks for your answer. I think when I user re-write, the link to vote/flag gets change from url:"comments/vote.php?type=down", to to plus this /art/ so then it willl not work.
see here: url:"http://kabulit.com/art/comments/vote.php?type=down",
but my link shloud be like:url:"http://kabulit.com/comments/vote.php?type=down",
Thanks for your help
Posts: 2,905
Threads: 59
Joined: Jun 2010
Have
you completed
the interview?
Posts: 6
Threads: 1
Joined: Nov 2012
Hello again, I fixed the problem.
in comments/includes/template/comments.php line 214, 225 and 266 put echo 'http://'.$_SERVER['SERVER_NAME'].'/'.
check example under
url: "<?php echo $cmtx_path . "vote.php?type=down"?>",
url: "<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'.$cmtx_path . "vote.php?type=down"?>",
I hope this help others too.