Topic-icon FB Login with Rockbox

Active Subscriptions:

None
11 years 3 months ago #30064 by fb_100001831880953
I've been using JFBConnect v4.0.3 on my J1.5.x site for some time without any problems. I upgraded the site to J2.5 and installed the same JFBConnect version to make sure it's working before purchasing the latest version. My site uses a RocketTheme template with pop-up login box. On J1.5.x I placed the following code in the Login module Text-After box and it works great:



When placing that code in the J2.5.x Login Module Text-After box, the onclick portion is stripped out when the changes are saved, leaving just the button and text. I assume Joomla is doing this, but haven't been able to find a workaround. That code DOES work in my shopping cart login.

How can I insert the code without having it changed when saved?

Regards,
Ed
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #30065 by fb_100001831880953
Sorry, here's the snippet used:

(input type="button" onclick="jfbc.login.login_custom();" value="Login With Facebook" /)

() at beginning and end replaced with greater than/less than.

Ed
The topic has been locked.
Support Specialist
11 years 3 months ago #30074 by alzander
Replied by alzander on topic FB Login with Rockbox
Ed,
Joomla 2.5 is more restrictive about the filtering it performs on that text, so that method won't work anymore. The newer versions of JFBConnect have a simple setting in the SCLogin module where you can choose to use a custom image, custom text, or the Javascript button. The Javascript button is the default, but doesn't work in a RokBox.

If you aren't planning on upgrading, then you'd need to add that code to your template or some other method of preventing Joomla from stripping the code. The new releases definitely make using a custom button easier as well as have tons of new features over the 4.0 series. The most exciting is the Open Graph Actions for Joomla support, which makes promoting your site much easier by letting your users do it for you.

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

None
11 years 3 months ago #30078 by fb_100001831880953
Thanks for the prompt reply Alex!

I will definitely be ordering the latest version; just been waiting until I got the J1.5->J2.5 upgrade bugs worked out.

Regards,
Ed
The topic has been locked.
Support Specialist
11 years 3 months ago #30080 by alzander
Replied by alzander on topic FB Login with Rockbox
No problem. Best of luck with the migration,
Alex
The topic has been locked.