Topic-icon SC-Login not working since v8.4.7

Active Subscriptions:

None
1 year 6 months ago #68295 by 5ky
Hello,

before 11 month there was already this post with Helix, Pagebuilder and a not working SC-Login Module:
www.sourcecoast.com/forums/sclogin-enhan...not-working?start=10

Today i tried again to update to latest version (current Joomla 3) but the error stil exists...
Also th working version from above link is not working to download.

You can see the error on:
all4joomla.org/en/
which trows a bootstrap tooltip error:
Uncaught TypeError: t.fn.tooltip is undefined
all4joomla.org/media/jui/js/bootstrap-tooltip-extended.min.js

Can you help please before I update some other sites with this module.
For a quick fix, can you provide the working 8.4.7 file again?

Greets
The topic has been locked.
Support Specialist
1 year 6 months ago #68310 by alzander
Looking at the output on the page, it looks like your template is loading Bootstrap 5 files. SCLogin on Joomla 3 expects Joomla's native (and old) Bootstrap 2 files to be loaded on the page.

Before we revert to an even older version of SCLogin, I'd prefer you try to make an edit to see if that works for you. Please edit the /modules/mod_sclogin/helper.php file. Around line 100, you should see:
if(JVERSION >= 4.0 || $jfbcBsVersion == '2')
Change that to:
if (true)
That will force SCLogin to load Bootstrap 5 classes in our template file, which should make the popup work properly.

Please let us know how that goes. If it still does not work, please leave enabled so we can check other items. We'd much rather get SCLogin working as-is if possible.

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

None
1 year 5 months ago #68340 by 5ky
Hello Alzander,

thanks, I changed line 107 like this:

// if (JVERSION >= 4.0)
if (true)

and this works for me...

Can you update this for next releases?
The topic has been locked.
Support Specialist
1 year 5 months ago #68351 by mel
I've made an issue in our tracker on how to best address this so as not to break other configurations. I'll look into it for the next release but I'm glad it works for you in the meantime.

-Melissa
The topic has been locked.