<!-- JFBCShare -->
<?php
if ($config->get('usejfbc')) {
if (class_exists('JFBCFactory')) {
$link = CRoute::getExternalURL('index.php?option=com_community&view=profile&userid='.$act->actor.'&actid='.$act->id);
$fbClient = JFBCFactory::provider('facebook');
$fbAppId = JFBCFactory::provider('facebook')->appId;
echo '<iframe src="https://www.facebook.com/plugins/share_button.php?href='.$link.'&layout=button_count&size=small&mobile_iframe=true&appId='.$fbAppId.'&width=81&height=20" width="81" height="20" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>';
}
}
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.