× Joomla Facebook Connect support forum

Topic-icon JFBComment Replies Etc ...

Active Subscriptions:

None
15 years 2 weeks ago #10266 by fb_1542011702
I have the latest version of JFBConnect with JFBComment added to articles. However, users cannot make replies and you cannot change user - I.e. Personal page to Fan Page.

Is there a setting or change that I need to make to include these options?

Homepage: www.couchfighter.co

Example comment page: www.couchfighter.co/news/general/00171-j...etter-view-of-fights

JFBConnect Version: 3.2.1
PHP Built on: Linux ecbiz102.inmotionhosting.com 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64
Database Version: 5.0.91-community-log
Database Collation: utf8_general_ci
PHP Version: 5.2.16
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.23 Stable [ senu takaa ama baji ] 04-March-2011 18:00 GMT
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10282 by alzander
Replied by alzander on topic JFBComment Replies Etc ...
Unfortunately, you've run into a bug that Facebook introduced recently. Basically, they upgraded their Comment box at the beginning of this month, and 'old' comment boxes don't have the features you're talking about. We use the 'new' comment box, but Facebook has a bug where if you don't specifically specify a URL, it uses the old comment box. To fix, you need to specify a URL for the comment box.

We've submitted a bug report to Facebook, and are awaiting an answer. We'll also be updating our {JFBCComment} tag and JFBCComment module to automatically use the URL of the page that the comment box is displayed on if no URL is specified. Previously, not specifying a URL was fine, but with this bug, obviously, it's not longer ok until they fix it.

Hope this helps explain, and if there's anything else we can help with, let us know!
The topic has been locked.
Active Subscriptions:

None
15 years 2 weeks ago #10293 by fb_1542011702
Can you provide the code that you would need in order to set up replies for individual pages? Also, when do you think the update will be available?
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10308 by alzander
Replied by alzander on topic JFBComment Replies Etc ...
The code you'd need to add is in the following system plugin file at /plugins/system/jfbcsystem.php. At line 430, you'll see a line like 'if ($href)'. At the bottom of this section add the following (top portion included as well for reference):
if ($href)
  $commentString .= ' href="' . $href . '"';
else if ($xid) //Use deprecated xid to keep old comments: http://developers.facebook.com/blog/post/472
  $commentString .= ' xid="' . $xid . '" migrated="1"';
else { // Add this section, starting from this line
  $url = JURI::current();
  $juri = & JURI::getInstance();
  $query = $juri->getQuery();
  if ($query)
    $url .= '?' . $query;
  $commentString .= ' href="'.$url.'"';
}

Please test and let us know how it goes. This is the code we'll be using in a future release, but it has not been thoroughly tested yet.

Thanks,
Alex
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10309 by alzander
Replied by alzander on topic JFBComment Replies Etc ...
The update should be available this week. We're a little behind with getting it out due to some testing and some other changes we're making. Worst case scenario, the update will be out at the end of May.
The topic has been locked.
Active Subscriptions:

None
15 years 2 weeks ago #10313 by fb_1542011702
The code works, however, there is a Captcha box (with error) that shows up each time you try to post a new comment. Is this part of the new code from Facebook?
File Attachment:
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10319 by alzander
Replied by alzander on topic JFBComment Replies Etc ...
That's a Facebook thing, and can be done for multiple reasons based on whether it thinks the post is spam, your site has been getting a lot of spam, or the user that's posting has been detected making spam in the past. Spam can be a lot of things in Facebook's eyes.

If the post successfully goes through after the captcha is set, and seems to be working, then there's nothing JFBConnect can do to prevent it. If it's not working after you set the captcha, that could be a sign of a misconfiguration, which is also causing the captcha to appear.

I'd also recommend trying from different accounts or different pages on your site to see what happens.
The topic has been locked.
Active Subscriptions:

None
15 years 2 weeks ago #10345 by fb_677898977
I tried the above code and while everything looks fine on my site the link it sent to Facebook is wrong... see below ...

www.barkleyandpaws.com/?%2F

Thanks!
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10362 by alzander
Replied by alzander on topic JFBComment Replies Etc ...
Mark,
Just posted a comment in an article and the link was right for me. The top link is for your homepage, and then beneath that was a link to comment itself, pasted below. Feel free to delete this from your site:
www.facebook.com/l.php?u=http%3A%2F%2Fww...626748745537&h=f88c8

If I'm missing something, let me know!
The topic has been locked.
Active Subscriptions:

None
15 years 2 weeks ago #10367 by fb_677898977
When I see the posting on my Facebook page there are four links... the link on the image and "BarkleyAndPaws" both work and go to the article. The link underneath "BarkleyAndPaws" goes to the website and works ... the link at the top "Mark McKeen commented on barkleyandpaws.com" does not work ... it adds a "/?/" to the end of the link ... I would have thought that link would be the one that went to the article ...

Thanks!!!
The topic has been locked.