Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just figured this out recently. Hope this helps someone else.

    I directly edited two files in the plugin:
    connect.js
    Need to extend the scope to gain additional permissions on line 48. Use this facebook api reference.
    window.open('https://graph.facebook.com/oauth/authorize?client_id=' + client_id + '&redirect_uri=' + redirect_uri + '&scope=email,user_location,user_website,user_about_me',

    social-connect.php
    Add additional json variables after line 82.
    $sc_about_me = $fb_json->{ 'bio' };

    And then on line 175, add your variables to the array:
    'description' => $sc_about_me

    I did encounter a couple problems when I tried to get user_location. First, the login attempt loaded a white screen and the user was not created. Secondly, I am saving the location value to a custom author meta field and I can’t seem to get it to store any kind of value. Any thoughts would be appreciated.

    Thread Starter kidradio

    (@kidradio)

    Thanks for the quick response!

    Here is a link to a listing of all values for my “Artist Name” field. I’ve done some more testing and have not been able to replicate the problem on another wp install (although I was not converting nearly as many values). I was also unable to convert the key of “Label”.

    What are the known reasons for the “A name is required for this term” message?

    This has been driving we crazy for a while as well, although I made a tweak that seems to get it working. The above code didn’t work for me either, but editing those same lines from search-everything.php like this did:

    if ( $this->options['se_use_tax_search'] )
    {
    $all_taxonomies = get_object_taxonomies('review');
    foreach ($all_taxonomies as $taxonomy)
    {
    if ($taxonomy == 'post_tag' || $taxonomy == 'category')
    continue;
    $on[] = "ttax.taxonomy = '".addslashes($taxonomy)."'";
    }
    }

    All I did was change the line:
    $all_taxonomies = get_object_taxonomies('post');
    to this
    $all_taxonomies = get_object_taxonomies('review');

    Where ‘review’ is a registered post-type of mine, and now it searches all of my different post types as well (not sure why). Quite sure this isn’t the best way to go about it, but it works for now!

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