Posts: 3
Threads: 2
Joined: Jun 2013
Hello. Im having trouble with Flagging, thumbs up / down. When I click flag, a jquery popup shows and asks if I want to flag. I click "OK" and the window closes but nothing happens. The post never gets marked as "flagged"
Also clicking the up / down does nothing..
I read the other posts and it says that jquery can affect it, but it still happens even on the example.php page thats included.
Any idea?
Posts: 3
Threads: 2
Joined: Jun 2013
well I figured out whats causing it, but no solution yet. It's the $cmtx_path = ''
It works if I use ../comments BUT if I use an absolute server path /home/user/public_html/comments ALL works except flagging and thumbs..
Is a little problem because i want to use the script on many pages within several directories, so without using an absolute path, no luck..
I know it's not the server because I use this absolute path on several scripts with no prob..
Perhaps it's the jquery version?
Thanks for any help
Posts: 2,894
Threads: 59
Joined: Jun 2010
Hi,
Can you open /comments/includes/template/comments.php
Replace this:
PHP Code:
<?php
url: "<?php echo $cmtx_path . "vote.php"?>",
With this:
PHP Code:
<?php
url: "http://www.yourdomain.com/comments/vote.php",
And this:
PHP Code:
<?php
url: "<?php echo $cmtx_path . "flag.php"?>",