Topic-icon javascript error?? on latest release.

Active Subscriptions:

None
10 years 10 months ago - 10 years 10 months ago #33496 by petwal
Hi Alex,

I downloaded and installed the latest release and its certainly growing into a great little module.

I did however have a issue.... not sure what happened but on certain pages its caused my main menu to stop working and kept trying to log me in via facebook!.

I reverted back to the beta release and all was well again...so not sure what is causing the issue.

the other thing i noticed is the modal was much lower down the page and the beta version had the login modal higher up the page whiched looked better - not sure if that my thing or general SCL thing!
Last edit: 10 years 10 months ago by petwal.
The topic has been locked.
Support Specialist
10 years 10 months ago #33499 by alzander
Peter,
Not sure what's going on with the menu or the constant logging in. We'd have to see it happening to even come up with a idea of what's happening. Some things to check first:
* Clear your Joomla cache after updating
* Try from a different browser than you've been using (that will make sure it's not a browser cache issue).

As for the position of the modal, yeah, that's something we had to change due to some issues where it wasn't appearing on everyone's site properly. To rever that back, you'll need to edit the /modules/mod_sclogin/css/sc_bootstrap.css file. Look fro the following lines:
#login-modal.modal
#login-modal.modal.fade.in
In both those sections, change "top: 50%;" to "top: 10%;".

We like the old looks better too and will be reverting that, but need to make sure it's more compatible with all sites and templates. Till then, the easy change above should get you going.

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

None
10 years 10 months ago #33507 by petwal
Hi Alex,

tried it on 2 different pcs although both pc were using firefox. AS soon as I reverted back to the old module - all was well. no cache set as im still in development although the site is live.

you welcome to go into the backend and upload the new module and see the issue in action - I am UK based so any time your pm will be late into my night. !

let me know and ill send across the log in details.
The topic has been locked.
Support Specialist
10 years 10 months ago #33524 by alzander
Peter,
Sorry for the delay. We'll definitely need to see what's going on in order to diagnose/debug that issue. It's not something that's been reported by anyone else or can be recreated on our development sites.

Can you Private Message me some credentials for your site and we'll look into it soon. You can PM me by hitting the mail icon under my name to the left.

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

None
10 years 10 months ago #33571 by petwal
Hi Alex,

Dont know how i missed this - but got a simular problem on the beta version as well - except this time it goes through the motions but never logs anyone in.....only particular to one section of the site. Will email you the url so u can tell me what i got going wrong.

thanks
The topic has been locked.
Support Specialist
10 years 10 months ago #33575 by alzander
The problem on that page is coming from RSEvents. It looks to also be including the Facebook Javascript library and initializing it in a way that's conflicting with JFBConnect. Additionally, you've set a different Facebook App ID, which means that when JFBConnect tries to log the user in, it would be for a different app.. this is likely where the looping is coming from. JFBConnect is set to auto-login, but the app it's logging into isn't working (different App ID).

You'll need to disable the Facebook Javascript inclusion from RSEvents. I don't know how you'd do this, or if it will disable other Facebook integration features in that extension, but hopefully you can find a way to get it all to work how you want.

I hope that helps, and please let us know what you find.

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

None
10 years 10 months ago #33614 by petwal
Hi Alex,

thanks for the advice. I contacted RSevents to double check if I changed the APP ID to the same used by SCLogin and they advised me to go ahead and attempt it and I can report back that all is working fine now.

I will upgrade to the latest release now and if all is great, consider this thread closed and resolved.
thanks again for the superb support!!
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #33615 by petwal
One more quick note......fixed the modal position back to normal. thanks for the tip. (btw latest release working fine now :=D )

The position of my login module is extreme right, so when the menu option is used, some of the menu 'scrolls' off the screen (if you look at yours, there is a couple of pixels that fall off the boundary of the template. Can I right align the menu box but not the menu text if you know what I mean!

see attached pic!
File Attachment:
The topic has been locked.
Support Specialist
10 years 10 months ago #33618 by alzander
Peter,
First, for the App ID being the same, *please* make sure you test in a lot of browsers with that. Since RSEvents is still initializing the Facebook Javascript library, and since browsers all load things in different orders, make sure the login works properly in all of them. It hopefully will, but just want you to be careful.

Next, I just looked at your site. In the top right, if I shrink the window just right, this is what I see:
File Attachment:

If I widen the screen, the "Change the color" stuff still overlaps, but isn't so bad.
Wanted to point that out. If you need help diagnosing/fixing that, just let me know.

Now.. to your actual question :) Try adding the following to your stylesheet:
.scuser-menu {left: -20px; }
You'll probably need to adjust the actual value, but hopefully that gets you started. If not, you know where to find us.

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

None
10 years 10 months ago #33623 by petwal
thanks again alex for the heads up on the different browsers, so far all good on three of the main ones, IE, firefox and chrome :/ ill have to check the others
I fixed that overlap you spotted (was not apparent in firefox) - thanks for that.

The additional lines added to the custom.css and template.css files and it did not work - but in the end adjusted the figure in the sc-bootstrap.css file. Question is when there is a update, will this get overwritten?
The topic has been locked.