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

Votes and Flags don't work
#11

Glad you got it working.

The only other problem I noticed is that if you click the BB Code email button, click cancel, it inserts the URL of the button image into the comment text area.

It only seems to happen in Firefox.

Have you completed the interview?
Reply
#12

(26-Nov-2012, 07:34 PM)Steven Wrote:  Hi,

You're right. It adds /art/ inside the URL.

I've been testing it in Firebug. I think I triggered a '500 Internal Server Error'. Can you check your server's error log to see the details.
..............

Sorry, the page was open I didn't see that you replayed Big Grin
I tested it with your solution and it works. but remember if your site URL is like http://www. it will not work. it just work with http://

but thank you again...


Attached Files Thumbnail(s)
   
Reply
#13

Okay, would this work?

PHP Code:
<?php 
url
: "<?php echo str_ireplace("www.", "", $cmtx_settings->url_to_comments_folder) . "vote.php?type=up"?>",

PHP Code:
<?php 
url
: "<?php echo str_ireplace("www.", "", $cmtx_settings->url_to_comments_folder) . "vote.php?type=down"?>",

PHP Code:
<?php 
url
: "<?php echo str_ireplace("www.", "", $cmtx_settings->url_to_comments_folder) . "flag.php?reason="?>" + text,

Have you completed the interview?
Reply
#14

Hello
You know, your are the best. I love your work. thank for all your time you pent to solve my problem.

I tested your first solution and it works, I had to change my url from http://www. from settings to http://
And about your last solution, I think it looks like work. I didn't test it, since the last was more OK for me.

If you want me to test it anyway, I will. just replay.
Thanks for your help.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
27-Mar-2013, 06:59 PM
Last Post by Koksi
22-Nov-2012, 03:19 PM
Last Post by Steven
03-May-2012, 12:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)