It's not possible in JFBConnect, and I'm not sure if we'd ever add such a function. While we can query each social network for the total amount of times a URL has been shared, the way that module is doing it is on *every* page load. That means that every time a page is loaded, the server has to send 4-8 queries (one to each social network) to check the share count. That would cause a large performance hit on many different sites for various reasons (slow server, high load, etc).Recently i came across an excellent module by Joomla Buzz called jbsocialshare demo
Can we replicate this kind of display with JFBC?
There isn't. My best recommendations would be to:Secondly is there anyway we can ignore some words from OG Description, in some of my pages i'm using sourcerer to load some dynamic content, this is done between {source}{/source} tags, but the issue now is that facebook picks up {source}{/source} in description.
I wasn't really trying to knock their module. It looks nice and well laid out. It's just one of those things that we've investigated before, but are always aware of how critical performance is for each site. Implementing the counter as shown in that module would be a no-go for that reason alone, but there may be something we can do to get around it to implement something similar in the future.Noted your comment on the increase in queries, i'll stay away from that module as well. Thank you for opening my eyes.
Absolutely! The easy tag is just HTML within a PHP file. You can do whatever you want in the tag, like:Regarding the second point, i'll test and come back to you. One question on {SCOpenGraph description=My new description}, is there a possibility of php echo some dynamic text inside the SCopengraph easy tag?
{SCOpenGraph description=Learn more about <?php echo $breed_of_cat;?> cats}
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.