Support » Plugin: 2 Click Social Media Buttons » Facebook button perm_on broken, fix included

  • If you set all buttons to be activated on all visits you’ll notice that the facebook button still stays greyed out. The reason is the cookie check in the code looks for an element that doesn’t exist.

    In the file social_bookmarks.js in the js subfolder go to row 665 column 112 and append “_btn” (without quotes, row and column numbers apply to version 1.6 of the plugin, you’ll need to redo the minified version of the file).

    Original row:
    $('li.twoclick-facebook div.fb_' + + ' span.fb_' + + '_dummy', context).click();

    Fixed row:
    $('li.twoclick-facebook div.fb_' + + '_btn span.fb_' + + '_dummy', context).click();

    Edit: If you really want to adapt the minified file manually (be sure to use an editor capable of that) look at column 26886.

  • The topic ‘Facebook button perm_on broken, fix included’ is closed to new replies.