Remove "Login with Facebook" from Log In

GK User
Mon Sep 03, 2012 5:42 pm
Hello,

I am using Cherry Design template for Joomla! 2.5.6
I am trying to remove the Facebook log in option from my log in module but I cannot.

In the template's Social Api Settings I set the "Use Facebook login" to Off but it still won't go away. Usually that's the way to go, but in this case it just won't budge. :angry:

Thank you in advance
User avatar
Senior Boarder

GK User
Mon Sep 03, 2012 6:33 pm
It is due a small error in the code - please change in the lib/gk.framework.php file lines:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mi'] = '';


to:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mis'] = '';
User avatar
Administrator

GK User
Mon Sep 03, 2012 6:41 pm
Hi

Yes you are right.
It's not working properly.

I'll report this issue on our development department and probably on next update it will be fixed.
Meanwhile, you can temporally remove it using css.
Please go to template parameters > Advanced Settings and enable override.css file.
Them open this file located on template css directory and add this code:

Code: Select all
#fb-auth {display: none!important}


After the update is release, you can erase this line.

Cheers

Too late ;)
Solution added by Dziudek, our Merlin.
User avatar
Platinum Boarder

GK User
Mon Sep 03, 2012 7:29 pm
It worked!!!!!!!
:D Thank you


dziudek wrote:It is due a small error in the code - please change in the lib/gk.framework.php file lines:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mi'] = '';


to:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mis'] = '';
User avatar
Senior Boarder

GK User
Mon Sep 10, 2012 4:24 am
drosos wrote:It worked!!!!!!!
:D Thank you


dziudek wrote:It is due a small error in the code - please change in the lib/gk.framework.php file lines:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mi'] = '';


to:
Code: Select all
// clear FB login
GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mis'] = '';


I had the same issue with MyFolio template. I applied the same fix and it works now. :)
User avatar
Gold Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.