FB login Option Still UP

GK User
Sun Nov 27, 2011 11:10 am
I have Facebook login settings set to no in the template settings, yet when you hit login – the facebook login option still comes up. I can email my URL in a PM if you need it.
User avatar
Expert Boarder

GK User
Wed Nov 30, 2011 2:39 am
WebWorx wrote:I have Facebook login settings set to no in the template settings, yet when you hit login – the facebook login option still comes up. I can email my URL in a PM if you need it.


Any news or update or solution?
User avatar
Expert Boarder

GK User
Wed Nov 30, 2011 10:57 am
If you are using latest version which is v2.4.1 then follow below.

Find File: \templates\gk_boutique\lib\gk.framework.php
Find Lines: 635 to 642 which is below for identify reasons only.
Code: Select all
// Parse Facebook and Tweeter buttons
    public function socialApiParser($embed_mode = false) {
       // FB login
       if(!($this->getParam('fb_api_id', '') != '' && $this->getParam('fb_login', '0') == 1) || $this->browser->get('mobile')) {
          // clear FB login
            GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mis'] = '';
       }
        else {

Change line 640 only which is below
Code: Select all
            GKParser::$customRules['/<gavern:fblogin(.*?)gavern:fblogin>/mi'] = '';

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



See you around...
User avatar
Platinum Boarder


cron