WordPress.org

Support

Support » Plugins and Hacks » WP to Twitter » [Resolved] [Plugin: WP to Twitter] Linking Buddypress Twitter field to #account# (Your Twitter Username) proper

[Resolved] [Plugin: WP to Twitter] Linking Buddypress Twitter field to #account# (Your Twitter Username) proper

  • Hi,

    We use BuddyPress on our site, and have a ‘Twitter ID’ field in the user registration form. We’d like to be able to link the ‘Twitter ID’ field to the #account# property in WP To Twitter. Is this possible? And if not, please would you consider adding this as a new feature – it would be incredibly useful.

    At present, we have to manually view the members user/profile page, and copy and store the ‘Twitter ID’ value into the profile field ‘Your Twitter Username’ (under WP Tweets User Settings). It’s possible we can automate this using a database script, but this is not ideal.

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-to-twitter/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joe Dolson

    @joedolson

    Is the field stored a standard field for BuddyPress, or a custom field or some kind? Do you know how it’s stored? Is it user meta or custom user data?

    Hi Joe,

    It’s just a standard text field, added to the Users -> Profile Fields section.

    In terms of storage… profile fields get added to the ‘wp_bp_xprofile_fields’ table, with each field being given a unique ‘field_id’. If the field is then populated for a user, the gets stored in the ‘wp_bp_xprofile_data’ table.

    Kind regards,

    Tim
    @pescholar

    Plugin Author Joe Dolson

    @joedolson

    So, it’s a normal buddypress xprofile field, but does not ship with buddypress by default, it was added by you. Is this correct?

    That makes it difficult, because it means that the field would have at standard ID or field name that I could use to auto detect it. As a custom job I could definitely do it, but may not be something I can do generally.

    Hi Joe,

    Keen to know more about custom work, at least, an indication of prices would be grand. If not cost-effective, I’ll knock up a DB script to compare users that HAVE entered their Twitter ID into their profile, against those stored against the ‘Your Twitter Username’ field – out of interest, where is this stored in the DB?

    Kind regards,
    Tim
    @pescholar

    Plugin Author Joe Dolson

    @joedolson

    My Twitter username field is stored as a standard user meta field.

    For a quote, contact me via the built-in support form in the plug-in.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WP to Twitter] Linking Buddypress Twitter field to #account# (Your Twitter Username) proper’ is closed to new replies.
Skip to toolbar