Keyword

K2 kills facebook when using JomSocial (Solved)

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago - 12 years 1 month ago #102399 by frold
Hey,

I was hoping to use K2 with JomSocial and the template JA Social from JoomlaArt.

When testing at my localhost and when installing on my live site www.studmed.dk - the login using facebook function doesnt work.

This is the popup I normaly get:

File Attachment:


It just shows up in less then a nano second and then it is away just after I have installed K2. With nothing content, no user merge, just a plain vanilla installion.

Is that a known issue? How to solve it?

UPDATE:
This is how it look like when K2 is installed:

www.screenr.com/grf8


This is how it look like whit out K2, and this is how it should work!

www.screenr.com/Crf8

Please Log in or Create an account to join the conversation.

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102400 by frold
When I compare the html output for the 2 solution: without K2 and with K2 I only see one major different.

When K2 is installed there is added this JS to the html output:

<script type="text/javascript">

window.addEvent('domready', function() {

SqueezeBox.initialize({});
SqueezeBox.assign($$('a.modal'), {
parse: 'rel'
});
});
var K2SitePath = '/';


I dont understand that JS but could it be the reason?

Please Log in or Create an account to join the conversation.

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102401 by frold

frold wrote: <script type="text/javascript">

window.addEvent('domready', function() {

SqueezeBox.initialize({});
SqueezeBox.assign($$('a.modal'), {
parse: 'rel'
});
});
var K2SitePath = '/';


I dont think it that snippet that course the issue. I think that code comes from libraries/joomla/html/html/behavior.php - did remove that part and FB login still doesnt work...

I really hope someone can help, else Im not able to use K2 on my site... ;(

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102402 by Lefteris
Hi. Probably there is a javascript conflict causing all this. Are you getting any javascript errors? In the video it seems like the popup opens but closes immediately. Does this happen every time?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102403 by frold

Lefteris Kavadas wrote: Hi. Probably there is a javascript conflict causing all this. Are you getting any javascript errors? In the video it seems like the popup opens but closes immediately. Does this happen every time?


I dont get any errors in Firefox 15, not what I can see. Maybe i have to enable something?...

The funny thing If Im not logged in to facebook I get promted to do so, when I am the popup disapear quickly...

See here: www.screenr.com/DYf8

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102404 by Lefteris
Is your current page a K2 item? If so go to the item's settings and set "Facebook button" to "Hide". Are you sure that you get this behavior only with K2? I mean that it maybe another type of issue.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102405 by frold
Hey,

The page is not a K2 item (Its JomSocial frontend), but the "problem" is first initiated when K2 is installed. Just after I installed K2.

So in some way it must be related to K2, but if it is a JomSocial or a template issue related to my joomlart template, I can´t say cause i dont have the skills.

Facebook login works great without K2 installed - I have used it for a year at my live site: www.studmed.dk

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102406 by Lefteris
The fact that it works no an other site that doesn't have K2 doesn't mean anything. I can post you several sites with K2 and JomSocial with Facebook login working normally. And since this page is not generated by K2 then maybe it's something else. Can you post a link to your site? Otherwise i am afraid i cannot help you further.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102407 by Lefteris
I mean the development site, which has also K2 installed.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • frold
  • frold's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102408 by frold

Lefteris Kavadas wrote: The fact that it works no an other site that doesn't have K2 doesn't mean anything. I can post you several sites with K2 and JomSocial with Facebook login working normally. And since this page is not generated by K2 then maybe it's something else. Can you post a link to your site? Otherwise i am afraid i cannot help you further.


I did now installed K2 at my live board: www.studmed.dk

Please let me know when you have tested it, cause then I will uninstall K2. Cause, as you understand, et blocks the login of facebook users...

I really appreciate your help!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum