Topic-icon JFBC Conflict with Jumi plugin

Active Subscriptions:

None
11 years 9 months ago #46960 by fb_1127481405
I am using the Jumi plugin to insert php generated content into a page.

Part of the content is a Javascript subroutine.

JFBC seems to be confusing the original Jumi plugin call with the content even though I have numbered the JFBC system plugin well below the Jumi one.

How can I make sure that the Jumi plugin has run and finished before JFBC starts?

Example page is at www.heartsracing.com.au/hearts-ratings/racing-form.html

I have also tried disabling the Opengraph setting for all pages in this category but JFBC seems to be creating the social media buttons all the same.

Why would that be?
The topic has been locked.
Support Specialist
11 years 9 months ago #46988 by alzander
That looks to be an issue with the Pinterest button specifically. I'd recommend for now disabling the Pinterest button from the JFBConnect -> Social configuration area.

Since the content plugins are triggered before the system plugins that Jumi is using, the pinterest button is trying to scan the page for an image to use, but can't find one. Pinterest requires an image, so that button wouldn't work anyways without one.

We'll look into how the Pinterest button is scanning the content as well to see if there's something we could be doing better there.

I hope that helps, but if you need anything else, just let me know.

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

None
11 years 9 months ago #46992 by fb_1127481405
THe next problem is that the content plugins are including the Jumi plugin call as a part of the content.

How do I avoid that?

I thought I could do it by excluding such articles from being acted on by the content plugin but I'm not sure how to do that.

Whereabouts can you specify that certain articles are not to be acted on for specific social media plugins?
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #46994 by fb_1127481405
Its OK. Found it under Social. Would still like to know if there is any way to exclude system plugin tags from being included in the FB description
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago - 11 years 8 months ago #46995 by fb_1127481405
Its getting worse.

I've turned off the Social plugins entirely for the affected categories but I can't stop the FB and Twitter tags appearing in the <head> section and then because their description tag includes the Jumi call it gets included three times in the eventual page - once because I call it and twice for FB and Twitter.

Have a look at form.virtualformguide.com/form-fields?fo...rack=Bel.Pk&raceno=1 and you'll see what I mean. Different site but the same problem.

PS I turned off the buttons on the affected pages using the JFBC Social tab. However that didn't stop the FB/Twitter tags being included which in turn triggered multiple executions of my Jumi script. So then I switched off the JFBC content plugin but still the FB/Twitter tags are being generated. How do you kill this thing?
Last edit: 11 years 8 months ago by fb_1127481405.
The topic has been locked.
Support Specialist
11 years 8 months ago #47029 by alzander
There isn't a way to disable the Open Graph or Twitter tags on the page. That's something that's simply enabled right now. We'll have to test with Jumi more to understand what's going on there. Our Open Graph tags are generated at multiple steps during the page rendering based on various factors (like if you have an Open Graph plugin enabled for the specific component you're using).

What I'd recommend is:
* If the component generating that page is Joomla Content, or another component with an Open Graph plugin, disable that plugin.
** This will make JFBConnect use the meta description tag for the page instead of trying to scan the article contents to generate a 'better' description.
* Ensure the JFBCSystem plugin is ordered after the Jumi plugin. Depending on when Jumi does it's replacements, that may help, but likely not from what you describe.

Disable the Open Graph tags with a minor code change. To do so, edit the /plugins/system/jfbcsystem/jfbcsystem.php file. Around line 275, you'll see:
$this->replaceGraphTags();
Comment that line out and not tags should be inserted on the page.

I hope that helps,
Alex
The topic has been locked.