• Resolved jr99

    (@jr99)


    Hi,

    I have a blog where people register and add their twitter handle to their accounts.
    These people (subscribers) also write posts and they stay drafts until i approve them.

    When I publish someone’s post, I want WP to Twitter to @ them using the #account# tag.
    However, it doesn’t pick up the author’s twitter and falls back to my (admin) twitter.

    How can I fix it so that in the User Profiles page, everyone has
    “Use My Twitter Username” “Tweet my posts with an @ reference to my username.”
    checked by default for new and existing users?
    I think I need to update the database, but can’t find where.

    Thanks,

    https://www.ads-software.com/plugins/wp-to-twitter/

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

    (@joedolson)

    It’s a little ugly, but you need to set the user meta for the setting ‘wp-to-twitter-enable-user’ to the value ‘mainAtTwitterPlus’.

    Thread Starter jr99

    (@jr99)

    Excellent thanks, I used the query:
    update wp_usermeta SET meta_value = 'mainAtTwitter' WHERE meta_key = 'wp-to-twitter-enable-user'
    to add it to the database (I used mainAtTwitter because i only needed the “Tweet my posts with an @ reference to my username.” checked)
    However, it’s strange that the user’s twitter reference is still not being picked by the
    #account# or #@# tags
    I will investigate further.
    Thanks

    Plugin Author Joe Dolson

    (@joedolson)

    So that SQL query will only work for you *if* the meta key exists in the database for each user. If the user profile has never been updated with a value for that key, it may not exist at all, which could be an issue for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable "Use my twitter username" by default in user profile for all users’ is closed to new replies.