× Joomla Facebook Connect support forum

Topic-icon Plugins and Kunena

Active Subscriptions:

None
15 years 4 months ago #7253 by bobmeetin
Plugins and Kunena was created by bobmeetin
I just ran a test to see if I could get the plugin code either {JCFBLike} or {JCFBLogin} to work in a Kunena Forum post, and of course, you guessed it, no dice. Is there a way?
The topic has been locked.
Support Specialist
15 years 4 months ago #7254 by alzander
Replied by alzander on topic Plugins and Kunena
Actually, it should work if it works anywhere else. We haven't tested directly in a Kunena post, but it definitely works in Agora posts. Just make sure you spell JFBC correct (above, you've transposed a few letters).

If that doesn't work, check the HTML to make sure that the tag is showing up exactly in the post, and not encoded in some way. If that still doesn't turn anything up, let us know and we may try it out in Kunena.

Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #7260 by bobmeetin
Replied by bobmeetin on topic Plugins and Kunena
Well, never mind, sort of... It mostly works. Apparently I'm aspiring to be dyslexic. However, it appears that you can only add a genuine {jfbclike} upon the first edit. If you go into edit mode a second time with the same post the text gets converted to something like the following in Kunena:

<div id="jfbclike"><fb:like href="www.jtest.us/index.php?option=com_kunena...id=2&id=3&Itemid=216" show_faces="true">


And this will output in the post.
The topic has been locked.
Support Specialist
15 years 4 months ago #7270 by alzander
Replied by alzander on topic Plugins and Kunena
Yes, unfortunately, the {} are replaced on page load with the HTML code you display above. Then, if the user saves, that code is what's then saved. We're working on a few things to help this behavior, and some of it should be in the next release:
1) The ability to have the tags not replace if they're within a textarea field (kinda tough, but we think it's do-able
2) A 'key' that can be set in the admin area which has to be set in the tag. This prevents users from randomly entering the tag and causing login buttons or like buttons to appear where you may not want to. Ex. { JFBCLike key=12345} If key isn't present, the tag won't be parsed. This will be optional.

Hope this helps explain what's going on, but if you have other questions (or suggestions on how to improve things), let us know!
The topic has been locked.