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

Vote, Flagging not working- even on test page??
#1

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?
Reply
#2

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
Reply
#3

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"?>",

With this:

PHP Code:
<?php 
url
: "http://www.yourdomain.com/comments/flag.php",

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by drwx
29-Jun-2023, 09:34 AM
Last Post by Steven
04-Jul-2020, 06:46 PM
Last Post by MattyP
13-Apr-2020, 08:33 PM
Last Post by mtnlvy
06-Jan-2019, 06:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)