WordPress.org

Ready to get started?Download WordPress

Forums

WP to Twitter
[resolved] Access to customizing WP to Twitter values is not allowed for your user role. (20 posts)

  1. dionsis
    Member
    Posted 2 years ago #

    WP to Twitter had an update today or yesterday

    I applied it and since then I have been unable to write custom tweets

    I don't know why but on the widget it shows
    Access to customizing WP to Twitter values is not allowed for your user role.

    I am the GOD administrator account so not sure what's going on.

    Any idea's?

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

  2. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Well, that shouldn't have happened. If you change the permission settings for the option to update custom tweets can you get it back? Those permissions are a custom capability; if the upgrade failed to add that capability to the admin user role, you wouldn't have it; but you should be able to get it back by resaving the settings.

  3. dionsis
    Member
    Posted 2 years ago #

    I've tried resaving the settings, I've even changed the dropdowns to Author level too but still the same.

  4. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks - I'll check it out.

  5. dionsis
    Member
    Posted 2 years ago #

    Cheers, appreciate any help, (I'm assuming it's your plugin) and really like the plugin, I'll eventually be nabbing the pro version once I get the kinks worked out

  6. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks - I'll check it out.

    For the time being, drop this code into your theme's functions.php file, reload your home page, then delete the code and let me know if you can view things again:

    $administrator = get_role('administrator');
    	$administrator->add_cap('wpt_twitter_oauth');
    	$administrator->add_cap('wpt_twitter_custom');
  7. dionsis
    Member
    Posted 2 years ago #

    Just did that

    No joy, same issue

    Access to customizing WP to Twitter values is not allowed for your user role.

  8. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    And your role is administrator? It's not something else - a custom role of some sort?

  9. dionsis
    Member
    Posted 2 years ago #

    Correct, the administration account created with the original wordpress install.

  10. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Quick question: are you running 2.4.2? I realize that you didn't specify; and if you're running any other version, it's a different problem.

  11. dionsis
    Member
    Posted 2 years ago #

    The latest WP which I believe is 2.3.2

    Sorry for not stating, it asked me in the initial create thread option what version I'm on, I assumed the WP forums would post that on the thread somehow.

  12. dionsis
    Member
    Posted 2 years ago #

    sorry 3.3.2

  13. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Version of WP to Twitter; not version of WP

  14. dionsis
    Member
    Posted 2 years ago #

    Oh yes sorry

    ==WP to Twitter==
    Version: 2.4.2
    Twitter username: goldenplec
    License Key: none

    ==WordPress:==
    Version: 3.3.2
    URL: http://www.goldenplec.com
    Install: http://www.goldenplec.com
    Language: en-US
    Charset: UTF-8

    ==Extra info:==
    PHP Version: 5.3.2-1ubuntu4.14
    Server Software: Apache/2.2.14 (Ubuntu)
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5
    cURL Init: yes
    cURL Exec: yes

  15. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    New version (2.4.3) just released; this should fix this problem for you, but do let me know if it doesn't.

  16. dionsis
    Member
    Posted 2 years ago #

    That certainly does fix the issue

    I have one outstanding issue from this 2.4.2 version. One of the posts seems to have an error tweeting.

    There's been an error posting your Twitter status! Visit your WP to Twitter settings page to get more information and to clear this error message.
    One or more of your last posts has failed to send a status update to Twitter. The Tweet has been saved, and you can re-Tweet it at your leisure.

    I cannot seem to get a new tweet to occur for this post, the saved one seems to be stuck. Is there a way to clear this?

    I've tried, don't tweet this, do tweet this. Tried putting in a shorter tweet etc. It seems that the tweet was a few characters over the 140 limit and is now stuck in the system saved.

    Anyway to reset for this post?

  17. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    The length of a previous tweet shouldn't matter; it's not referenced by the post if you try and re-save. However, WP to Twitter does compare the values of your previous tweet to the one you're trying to send and rejects them if they're the same.

    Have you re-tried this since upgrading to 2.4.3?

  18. dionsis
    Member
    Posted 2 years ago #

    Yeah I've tried even the shortest of short tweets just to get it out. It actually hasn't tweeted anything yet. So I'm just trying to get the error to go away

  19. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    Clearing the error is just a matter of clicking on the appropriate button; "Clear WP to Twitter Errors" - it'll show up at the top of the page, above the error messages.

    -Joe

  20. dionsis
    Member
    Posted 2 years ago #

    I had no such button but I did a massive browser cache clear, website cache clear and it appeared again.

    Excellent.

    You sir, are a legend.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.