WordPress.org

Ready to get started?Download WordPress

Forums

WP to Twitter
Linking Buddypress Twitter field to #account# (Your Twitter Username) proper (6 posts)

  1. PE Scholar
    Member
    Posted 1 year ago #

    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/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. PE Scholar
    Member
    Posted 1 year ago #

    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

  4. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. PE Scholar
    Member
    Posted 1 year ago #

    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

  6. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic