Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] Connect Button degradation

  • Hi. The Facebook Connect widget for the sidebar, when viewed on Android, just leaves a piece of text saying “Connect To Facebook.” Is there any way to make it just disappear if the feature isn’t supported by Android? The Share button and Likebox widget disappear. The like button stays and works. The only odd thing is that one line of text, seems like the ALT link or something… Is there any way to make it not display?

Viewing 1 replies (of 1 total)
  • $ua = strtolower($_SERVER[‘HTTP_USER_AGENT’]);
    if(stripos($ua,’android’) !== false) { // && stripos($ua,’mobile’) !== false) {

    // remove connect button //

    exit();
    }

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Connect Button degradation’ is closed to new replies.