• Resolved jomo

    (@jonathanmoorebcsorg)


    Hi, how about the User Profile Language field?
    The plugin is called “Full Sync” however it seems to do only a limited synchronisation of a limited number of fields, unless I’m missing something..

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sergio De Falco

    (@sgr33n)

    Hi,
    Full sync should mean for all WordPress default profile fields, in contrast of the BuddyPress default sync that doesn’t fully sync everything.

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    My comment and question is that Full sync does NOT sync all WordPress default profile fields for example the Language field, in fact the number of fields was very small as far as I could see (name fields and description), so I wondered whether I had misunderstood something.

    Plugin Author Sergio De Falco

    (@sgr33n)

    Sorry, I misunderstood. WordPress default profile fields are the ones you can found on the codex, and unfortunately they are really few:
    https://codex.ww.wp.xz.cn/Function_Reference/get_currentuserinfo
    There is no user language field. I suppose it was installed by some multilanguage plugin.

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    Hi, that’s not quite right:
    – get currentuserinfo is a deprecated function since 4.5 according to the codex link you sent
    – user language was introduced in WordPress 4.7 (though there was a plugin before that).

    User Admin Languages and Locale Switching in 4.7

    If you look at a current WordPress User Profile page Language appears in the Personal Options section just before the Name fields.

    And in total the WordPress default user information is much larger than you suggest:

    users
    – ID
    – user_login
    – user_pass
    – user_nicename
    – user_email
    – user_url
    – user_registered
    – display_name
    user_meta
    – first_name
    – last_name
    – nickname
    – description
    – wp_capabilities (array)
    – admin_color (Theme of your admin page. Default is fresh.)
    – closedpostboxes_page
    – primary_blog
    – rich_editing
    – source_domain

    Predefined Contact Info also includes:
    Email (required)
    Website
    Google+
    Twitter username (without @)
    Facebook profile URL
    [of which email and website url are part of the core users information in the main users table]

    Obviously any functionality available in a free plugin is to be praised, it is really just the name “Full Sync” that causes confusion. Since the WordPress standard Contact Info and Personal Options sections etc are not included, anyone expecting a Full Sync would be disappointed.

    Plugin Author Sergio De Falco

    (@sgr33n)

    Initially I started with metas by get_currentuserinfo(), then I wanted to exclude some of these meta fields because used by somebody wrong could compromise the WordPress functionality and its security (wp_capabilities for example).
    BTW I can safely add language and socials in the upcoming beta.

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    cool, I look forward to testing the beta 👍

    Plugin Author Sergio De Falco

    (@sgr33n)

    Just added language.
    Socials where from some external plugin.

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

The topic ‘User Profile Language’ is closed to new replies.