Topic-icon How to change "Content Plugin - Like" url

Active Subscriptions:

None
11 years 4 months ago #29449 by andbal2
Hi, i've done the update to last version, i have that code in html but doesn't work using tag {JFBCLike} and {JFBCComments} in template, for example you can test it here:
1. click i like apps.facebook.com/hmtreservicegroup/prodotti/category/view/29
2. go to "sala giochi" apps.facebook.com/hmtreservicegroup/sala-giochi confirm facebook data and check your points

these are the facebook link, you have the real url here
1. hm3.socialapp-store.com/prodotti/category/view/29
2. hm3.socialapp-store.com/sala-giochi

ps. right click is disable, to view code you can save page from real url hm3.socialapp-store.com/prodotti/category/view/29

tx
The topic has been locked.
Support Specialist
11 years 4 months ago #29558 by alzander
Andrea,
I just connected my account to your site. At first, I had 10 in the "Il tuo punteggio รจ" area. I then hit the "Like" button for the Fan Page and now it shows "20". Can you check your AUP activity log to see if points were awarded?

In general, that seems right to me, but I'm not sure where I got my points from, so let me know.

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

None
11 years 4 months ago #29567 by andbal2
Hi, yes i see your point but issue is not on like funpage.
it's on like application page button, i mean like button on this page apps.facebook.com/hmtreservicegroup/prod.../product/view/37/829, under title "Colorati su mazzetta mcs". in this case, to show like button i used tag {JFBCLike} inside template code. i think issue is using {JFBCLike}
The topic has been locked.
Support Specialist
11 years 4 months ago #29661 by alzander
Andrea,
The issue on that page is that Mootools is not being included on the page. That looks to be a JFBConnect problem. Looking at our code, if you enable the AUP integration, we should be including Mootools on every page since we use that library to perform our AJAX actions. We'll have to add a call to that in the next release. For now, I'd recommend adding it yourself either in the template or we can help you add the proper Joomla call to automatically load Mootools within our JFBCSystem plugin (which is how we'll do it as well).

Hope that helps answer your question, and thanks for the report,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #29696 by andbal2
Yes please, can you help me to add the proper Joomla call to automatically load Mootools within JFBCSystem plugin? tx
The topic has been locked.
Support Specialist
11 years 4 months ago #29798 by alzander
Andrea,
Very sorry for the delay in getting back to this, especially with such an easy answer. To add the Mootools library to the page, please edit the /plugins/system/jfbcsystem/jfbcsystem.php file. Do a search for "edge". You should see the following line:
$subs .= "\nFB.Event.subscribe('edge.create', jfbc.social.like.create);";
Add a line below that, so it looks like:
$subs .= "\nFB.Event.subscribe('edge.create', jfbc.social.like.create);";
            JHTML::_('behavior.mootools');
Let us know if that fixes your issue like we think it should.

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #29959 by andbal2
Sorry, any news about this?
The topic has been locked.
Support Specialist
11 years 4 months ago #29971 by alzander
Andrea,
Any news about what? The Mootools change was provided in the post above your last one. Did that not work? Is there something else you're looking for? We're planning to include the fix in the next release as well, but if you're having problems, we'd love to hear about it from you first.

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

None
11 years 3 months ago #30178 by andbal2
Hi, you said

USER wrote: For now, I'd recommend adding it yourself either in the template or we can help you add the proper Joomla call to automatically load Mootools within our JFBCSystem plugin (which is how we'll do it as well).


which code i need to add in te template?
The topic has been locked.
Support Specialist
11 years 3 months ago #30184 by alzander
Actually, at the top of the index.php file for your template, if you add the following call, I believe it should add your Mootools library to each page as well:
JHTML::_('behavior.mootools');
Test that and let me know if that helps.

Thanks,
Alex
The topic has been locked.