× Joomla Facebook Connect support forum

Topic-icon Comments show on all articles instead of just where entered

Active Subscriptions:

None
New Install. This is happening whether the JFBCComments tag is used in articles or modules.

This is the JFBCComments tag I am using.
{ldelim}JFBCComments width=440 numposts=10{rdelim}

Thanks,
Keith
The topic has been locked.
Support Specialist
You probably have the JFBCContent plugin enabled and configured to show on all articles :) If you don't want those boxes to show automatically, and want to manually place them per article, simply disable the JFBCContent plugin.

Hope that helps, but if not, let us know. Good luck!
The topic has been locked.
Active Subscriptions:

None
Yes I have configured the Like/Comment box to appear in all articles, but let me explain further. The problem is not that the Like/Comment box shows on multiple article, it's that a comment made to one article shows for all articles.

Article A + JFBConnect Social Box + Comment on Article A
Article B + JFBConnect Social Box
Article C + JFBConnect Social Box

THE COMMENT DISPLAYS EVERYWHERE THE BOX IS (EVEN IF I AM LOGGED OUT OF FACEBOOK, and after clearing cache and cookies)
Article A + JFBConnect Social Box + Comment on Article A
Article B + JFBConnect Social Box + Comment on Article A
Article C + JFBConnect Social Box + Comment on Article A

I would expect comments on Article A to only appear on Article A, comments on Article B to only display on Article B and so on.

For example, the JFBConnect Social Box is displayed at the bottom of the TangoBeat.com home page. Those two comments (Vancouver and Interesting work) were about other articles.

Is the problem more clear now?

Thank you,
Keith
The topic has been locked.
Support Specialist
Hiya Keith,
Yeah, I misunderstood your issue, but you've explained it great this time. First off, the comment/like buttons will show all the time, regardless of whether the user is logged into Facebook. If they want to put their input in (like something or make a comment), they'll need to log in. However, if they aren't logged in, they can read previous comment and see the Like button. Hope that makes sense and seems like the right functionality.

As for multiple comment boxes using the same ID, you're correct that it should be different per article. If you're using the JFBCContent plugin, that should be taking care of putting a unique comment box on each article. If you're manually inserting the { JFBCComment... } tags into each article, you'll need to make sure that you specify a unique xid parameter for each one. You can read more about the comment tag below:
www.sourcecoast.com/extensions/jfbconnec...ation-guide?start=11

For the content plugin, we create an id like xid=content_23 (content = com_content, the built in Joomla article manager, and 23 is the ID of the specific article). Looking at your home page, I currently only see 1 comment box with a xid=1. I'm not sure how you've configured that, but if you set the comments to display on all articles, look at the HTML and find the xid=?? code. If it's the same for all articles, that's why the comments are the same.

Hope that all makes sense, help you narrow down the problem, and helps. If you have other questions, just let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks. I understand the problem with duplicate IDs for all articles. For a site of our size, creating unique IDs is not practical. JFBContent appears to work better, but creates a new problem. We have an extensive map interface using Mike Reumer's Googlemaps
tech.reumer.net/Google-Maps/Documentatio...oglemap/welcome.html

JFBContent is treating map Modules as articles and inserting the Like and Comment boxes.
www.tangobeat.com/usa/new-jersey-tango.html

It's strange because these are modules not articles. Can you help me with a solution? The map interface is one of the elements of the TangoBeat brand. We have hundreds of maps.

Thanks Keith
The topic has been locked.
Active Subscriptions:

None
This remains a problem (JFBC Content treats Reumer's GoogleMaps modules as articles) , but I found a workaround so you don't need resolve this for me.

The solution is this:
I'm creating articles using Form-To-Content (F2C) which lets you standardize article creation with custom fields and article templates. Instead of using JFBC Content, I am using JFBC Social and putting the Like and Comments tags in the article template. F2C lets offers a parameter for the Joomla Article ID so I use that to create a unique xID for the Comment tag.

This avoids the problem with Reumer's GoogleMaps and also gives me more layout control.

Thank you,
Keith
The topic has been locked.
Support Specialist
Ahh.. that makes sense. Yeah, our plugin works with anything that reports itself as a content page. So, if you're using something else that shows content, it can confuse our plugin because both are doing what they're supposed to do.

Glad you got that fixed up, and let us know if there's anything else we can help with regarding this issue!
The topic has been locked.