Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Our sites are running on P2:
    http://www.worsterer.com
    and coming soon in spanish:
    es.worsterer.com

    More on the way 🙂

    For those of you having this problem with the Sociable plugin. I’ve hacked the heck out of this plugin for a project and ran into the same issue. the problem lies with the fact that autor permalinks use user_nicename for the URL generation. Apparently it can’t have spaces, or at least can’t be explicitly told to have spaces as the plugin does. Open fbConnectLogic.php, line 126 and change the line from:
    $user_data[‘user_nicename’] = $usersinfo[“first_name”].” “.$usersinfo[“last_name”];
    to
    $user_data[‘user_nicename’] = $usersinfo[“first_name”].”-“.$usersinfo[“last_name”];

    You’ll notice I added a hyphen “-” instead of a space ” “. This does the trick. For any users you have registered already you’ll have to manually go into phpMyAdmin and change the fields for them (just add in hyphens). For those of you having this problem with the FB-Connect problem I’d wager to say it’s the same problem. You’ll just have to find the line of code in the plugin similar to above that inputs to the database and make sure it isn’t explicitly putting spaces.

    Hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)