× Joomla Facebook Connect support forum

Topic-icon The like button doesn't show up in some content

Active Subscriptions:

None
15 years 1 week ago #10531 by Denev
Hello again. first, thank you for your great support! I have a problem with the like button. It didn't show up in some videos. It's strange for me. Can you please look itfor yourself and help me with solution. Thanks. bgtunes.com/
The topic has been locked.
Support Specialist
15 years 1 week ago #10541 by alzander
First, and unrelated, you have 2 head sections in your document. I don't know what's doing this, and don't believe it's JFBConnect, but in the 2nd head section, there's 2 Open Graph tags that are trying to be added, but are blank. I'd highly recommend looking into removing that extra head section as it can cause problems with Facebook and general indexing of your site from search engines.

As for the like button now showing up, how are you adding it? If you're using the Content plugin, please note that the Like button will only be inserted into Joomla articles (com_content pages) and not other components. If you want to add to other components, you'll need to either use the JFBCLike module on those pages, or add the {JFBCLike} tag to the component's template files that you want to add the Like button too.

Hope that helps!
The topic has been locked.
Active Subscriptions:

None
15 years 1 week ago #10570 by Denev
I think I've removed that extra section but I don't see a difference so please can you check it again?
I fixed the like button, thank you for the assistance.

But I have another problem caused by seo. When it's turned on the jfb login button don't work and gives me a HTTP 404 - File not found. You can see it in my front page.
Thank you, KIril
The topic has been locked.
Support Specialist
15 years 1 week ago #10579 by alzander
Yes, the extra head section is gone. It wasn't something visible on the page, just in the raw HTML.

As for the login issues, what SEF component are you using? That will help us to give you suggestions as to what to change to ensure compatibility with JFBConnect.

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

None
15 years 1 week ago #10583 by Denev
Unfortunately, I didn't use any SEF component. Is thats the problem?
The topic has been locked.
Support Specialist
15 years 1 week ago #10592 by alzander
Nope, that's not a problem at all. Just checking if you were. The default Joomla SEF should work just fine with JFBConnect. However, on your page, the redirection that's ocurring after login is to:
component/jfbconnect/?task=loginFacebookUser&return=Lw%3D%3D

The problem with that link is that it should be components/com_jfbconnect/?task...
I'm not sure why component is missing the 's' and jfbconnect is missing the 'com_'. There are a few SEF extensions we've seen do this before (AceSEF, ArtioSEF, SEF Advance, etc), but if you're using standard Joomla SEF, that shouldn't be happening.

From here, I'd have to ask to get a set of super admin credentials to determine the cause. If you could, private message them to me, and we'll get in and see what we can do.

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

None
15 years 6 days ago #10599 by Denev
I send you a massage.
The topic has been locked.
Active Subscriptions:

None
15 years 5 days ago #10624 by Denev
@alzander,
Did you find any solution?
The topic has been locked.
Support Specialist
15 years 4 days ago #10640 by alzander
Denev,
We got into your site, and looked around. We're a little confused about what's going wrong right now, but know of a few small code changes you could do to make things work. However, they shouldn't be necessary, and you'd need to re-do them whenever you upgrade, which isn't ideal. Basically, if we disable SEF URLs, the links for JFBConnect work properly. Once we enable it though, they break.

Can you help me answer the following:
1) Do you know if you, or anyone else, has made modifications to Joomla's PHP code itself? If so, that could be part of the problem.
2) Do you know why SEF URLs aren't really working on your site anyways? It's possible the video component you're using doesn't generate SEF URLs, but in that case, you may just want to disable SEF URLs altogether which would fix the problem.

If none of the above helps, just let us know, and we can let you know the code change that should work. It will basically disable the creation of the SEF links for the JFBConnect URLs that are failing.

Please let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 4 days ago #10642 by Denev
I think nobody has made modifications to Joomla's PHP code itself. For the second question, I don't know why SEF URLs aren't really working on my site, but this driving me crazy. Every day I'm trying to find a solution without any results. Please help.

Kiril
The topic has been locked.