Topic-icon [Resolved] JFBConnect code appearing above article: {JFBCGraph...

Active Subscriptions:

None
I read some articles before posting as I had this chunk of code appear at the top of one of my articles: {JFBCGraph description=View Comments

So I read a post where where there may be competing libraries (JS) and I turned off the two plugins for Disqus. Cleared the sever cache. The code text disappeared. It would be great if I didn't have to choose between the two.
I'm using: Joomla 1.7.3, Yootheme Downtown (template), Warp 6.1, Widgetkit 1.0, the site is writingpractice.com
I have attached a photo of the code on the site page.
File Attachment:

Thanks for any insights you may have.
The topic has been locked.
Support Specialist
Jerry,
The problem you were having probably wasn't from a competing Javascript library, but probably a competing plugin. Try re-enabling the plugins, but re-order them so either JFBConnect is higher or lower than them. Hopefully, one of those combinations will work.

We've seen quite a few sites use Disqus and JFBConnect at the same time, so they can work together.. but I haven't set up many sites with both. If the above plugin re-ordering doesn't work though, let us know, and we'll do what we can to help. To get us going, leave the plugins enabled, but add that tag to a more obscure page (if possible) and send us a link to that so we can take a look.

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

None
Hey Alex,
Thanks for the fast response. Reordering the 2 Disqus plugins to load after JFBC plugins solved the errant code display. But just on one page. I can't discover a correlation between whether the post has a comment and the code display. I'll try the opposite load sequence and report back.

The FB and LI buttons are in kind of a jumble at the bottom of the Disqus comment box. Is there a way to make them appear before the comment box, but still at the end of the article? I imagine they would sort themselves into a single row.
Not sure if I should open a new comment, but when I use FB login, it goes through the process, and welcomes me, but delivers me to the registration form which is only populated with my name, none of the other info (email, city, state etc). I don't have redirection enabled.
The topic has been locked.
Support Specialist
Let us know what you find about the different ordering. The plugin that parses out the {JFBCxxx} tags is the JFBCSystem plugin, so that's the only one you should really need to mess with the ordering on. If you're using the System - Cache plugin, that must be ordered last (or very near to it). Ordering it earlier won't save the results of any of the plugins that fire after it, like the JFBCSystem (but also others), and can cause a lot of weird issues on your site.

For the ordering of the social buttons, that's likely the ordering of your disqus and jfbc content plugins. Simply order the JFBCContent plugin before (above) the Disqus, and I think you should be good. For the "jumble", I think that's because the style your using for the buttons is too wide for the area you're putting them in. Try changing from standard to "button count" in the Social config area of JFBConnect and hopefully that will get you going.

Finally, for the login, a new post might be good. In general, make sure you have the profile plugin for the system you're integrating with enabled. Then, make sure the mappings are setup properly. Once that's all done, you won't see the fields during registration, the data will just be filled in automatically upon registration.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hey Alex
Thanks for the suggestions. When you say the System Cache plugin should be almost last, is that of the other "System" plugins, or all of the plugins? Below is a photo of the end of the plugins in order. "User - Joomla is the last plugin.
File Attachment:

I used your suggestion about the button sizes, it took care of FB but not LinkedIn, Couldn't find a similar wording for it. I tried "No Count" but it had no effect. the buttons now look fine when not with a comment box, but the Tweet doesn't render a button. With Disqus, it looks like this.
File Attachment:

I'll start a new message for the login not mapping.
The topic has been locked.
Support Specialist
The System - Cache plugin just needs to be at the end of it's group (System). Your image looks correct for ordering there.

For the buttons showing up in a line, I just looked a little further, and the Disqus module isn't displayed in a 'block'. It does have a div after it with a class of "clr", but that's not defined in your CSS file anywhere. Therefore, any contents after the module will show up to the right and will wrap if too long. It looks like if you add the following code to your CSS file, it will fix the wrapping issue:
.clr {clear: both}
The best guess location for this, if you don't have a preferred CSS file, is: /templates/yoo_downtown/css/style.css

Finally, for the Tweet button, there's a minor bug if both JFBConnect and JLinked are installed. It's easily fixable if you order the JFBCSystem plugin ahead/before (lower number) the JLinked System plugin. That will hopefully fix that issue, and may fix the JFBCGraph tags showing up.

Hope that gets you going, but as always, if not, just let us know!

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

None
Hey Alex
Thanks for the code snippet, I put it at the end of the style.css page and it changed the button arrangement for the better. Safari handles them perfect, Firefox slightly different. The photos below show Safari first, then Firefox:
File Attachment:

File Attachment:

I placed the plugin order as you said, so that JFCBSystem loads before Jlinked System. Fixed the Tweet button image in both browsers, but the LinkedIn button still lacks the "Share" word in Firefox.
Also, with the plugins arranged thus, the pages load much faster (they must have been slugging it out behind the scene). Safari is superfast, Firefox faster than it was before.
Alas, the plugin arrangement did not solve the errant code appearance at the head of the articles with comments.
Here is a page which when there are comments in Disqus, displays code:
writingpractice.com/index.php/why-type-it-up

I am very appreciative of your accuracy and swift responses.
The topic has been locked.
Active Subscriptions:

None
Hey Alex
After looking into the plugins and the errant code on the page, I find it appears whether or not Disqus plugins are active. It only disappears when I turn off the Content-JFCBContent plugin. I put it at the beginning and at the end with and without Disqus active, no effect. I purge the cache after each change. I'm baffled
writingpractice.com/index.php/why-type-it-up is a good example. Every page does this except the front page where, for some reason, the buttons do not appear at the bottom of the posts. I'd appreciate any more ideas you might have. I have sent you a private message with super admin access.
Be well,

Jerry
The topic has been locked.
Support Specialist
Jerry,
I think we're both going nuts now :) I just clicked on (I think) every page of your site and was unable to see the tag anywhere. I definitely saw it yesterday, but can't recreate it now. I didn't make any changes, so it's not something I did.

The System - Cache plugin saves the page's output, and it's possible the 'bad' stuff was saved from before you re-ordered things. If you were actually hitting the "Purge Expired Cache" button and not the "Clear Cache" button, that would explain it. If you were actually clearing the cache though, it wouldn't.

Either way, please let us know if you can see it on another page, and we'll investigate again. Don't touch anything if you see it though :D

Hopefully, you're all fixed up, but if not, we will get you there.

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

None
Hey Alex
Haha, we are not going mad, I posted my discovery in a related thread, but not this one, the original. I think this code appearing on the web page is related to Ryaarm's Open Graph Error post.

This is the problem I mis-identified as a Disqus conflict.
File Attachment:

When I turn off my Open Graph in the admin settings, it stops placing the code on the page.
I tried removing the default info:
"title=Writing Practice
type=activity
site_name=Writing Practice
description=Writing practice information, tools and activities to encourage timed writing practice"
but it had no effect on the code appearing on the page (it was still there). When I turn off the radio button: "Use beginning text in article for default" the code goes away. I hope this helps to track it down. My site is writingpractice.com
Be well,
Jerry

PS I sent you a message with admin credentials so you could turn it on and off yourself to experiment. Let me know what I can do to help. It is off right now.
The topic has been locked.