• Resolved AmonsulMelle

    (@amonsulmelle)


    Hi!

    I recently made an update of the your plugin. Since then I am not able to post on Twitter and I see that error message:

    “Your role does not have the ability to Post Tweets from this site. “

    Test WP to Twitter works fine. It just doesn’t seem to allowe me (admin) to post on twitter when publishing an article. Note that I have all permissions set on for admin and editors (I am admin).

    Can you help on this? Thanks!

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

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

    (@joedolson)

    Are editors allowed to Post Tweets?

    Do you have any plugins installed that manage user capabilities? Are you an actual admin user, or a custom admin user type added by another plug-in?

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    No!

    I tested role manager plugin weeks ago but it’s now not activated anymore. Just to be sure I now activated it and made sure author settings were set on default. But it’s still not working.

    I also have “Twitter Cards Meta” plugin activated. But I don’t think that should be an issue right?

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Plugin Author Joe Dolson

    (@joedolson)

    Just for clarity: you indicated that you were having problems with Admins and Editors; you showed a screenshot of the Author permissions. Are Authors able to see the Twitter meta box?

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    I am Author and I see the error message inside the meta box.

    Plugin Author Joe Dolson

    (@joedolson)

    Can you provide me with a list of installed plug-ins? Have you tried modifying and re-saving your permissions?

    It is possible that Role Manager created a problem when it was installed; but I’m not sure.

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Sounds logic that Role Manager somehow messed it up.
    Yes I tried modifung the permissions.

    Here is the list of plugins:
    https://www.43rumors.com/wp-content/uploads/2016/04/Bildschirmfoto-2016-04-19-um-06.53.26.png

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Can you tell me what I should do now?

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Here is the wp_user_roles tabel content. maybe this helps you to find the issue:

    a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:84:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;s:14:"ure_edit_roles";b:1;s:16:"ure_create_roles";b:1;s:16:"ure_delete_roles";b:1;s:23:"ure_create_capabilities";b:1;s:23:"ure_delete_capabilities";b:1;s:18:"ure_manage_options";b:1;s:15:"ure_reset_roles";b:1;s:18:"wysija_newsletters";b:1;s:18:"wysija_subscribers";b:1;s:13:"wysija_config";b:1;s:16:"wysija_theme_tab";b:1;s:16:"wysija_style_tab";b:1;s:22:"wysija_stats_dashboard";b:1;s:14:"edit_usp_forms";b:1;s:24:"edit_published_usp_forms";b:1;s:21:"edit_others_usp_forms";b:1;s:22:"edit_private_usp_forms";b:1;s:17:"publish_usp_forms";b:1;s:22:"read_private_usp_forms";b:1;s:16:"delete_usp_forms";b:1;s:24:"delete_private_usp_forms";b:1;s:26:"delete_published_usp_forms";b:1;s:23:"delete_others_usp_forms";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:39:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:17:"wpt_twitter_oauth";b:1;s:18:"wpt_twitter_custom";b:1;s:18:"wpt_twitter_switch";b:1;s:13:"wpt_can_tweet";b:1;s:13:"wpt_tweet_now";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:15:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;s:17:"wpt_twitter_oauth";b:1;s:18:"wpt_twitter_custom";b:1;s:18:"wpt_twitter_switch";b:1;s:13:"wpt_can_tweet";b:1;s:13:"wpt_tweet_now";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:10:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:17:"wpt_twitter_oauth";b:1;s:18:"wpt_twitter_custom";b:1;s:18:"wpt_twitter_switch";b:1;s:13:"wpt_can_tweet";b:1;s:13:"wpt_tweet_now";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:7:{s:4:"read";b:1;s:7:"level_0";b:1;s:13:"wpt_can_tweet";b:1;s:17:"wpt_twitter_oauth";b:1;s:18:"wpt_twitter_custom";b:1;s:18:"wpt_twitter_switch";b:1;s:13:"wpt_tweet_now";b:1;}}}

    Plugin Author Joe Dolson

    (@joedolson)

    Based on looking at your roles and capabilities mapping, you should be absolutely fine. All of those roles have the appropriate permissions, and this should absolutely be fine.

    This suggests there’s some kind of problem with actually identifying the permissions of the current user; the permissions are there, however.

    WP to Twitter doesn’t directly handle checking permissions; it uses a core function current_user_can to verify those. Do you have any plug-ins that might be filtering permissions or doing anything at all odd with capabilities?

    I suggest cycling through your plug-ins to see if there’s a conflict of some sort; if you disable all other plug-ins and the WP to Twitter box is available, then some other plug-in is interfering.

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Hi Joe! I tried and it didn’t solve the issue. I gave up ??

    Plugin Author Joe Dolson

    (@joedolson)

    That’s a bummer. I wish I could say something more – the roles are definitely right, above, so something else must be wrong. I’m sorry to hear that.

    Thread Starter AmonsulMelle

    (@amonsulmelle)

    Hi Joe!
    I somehow managed to solve this. Now I will explain:

    1) First of all. Warn people that if they install the “User Role Editor” plugin this will mess up the rights. And you really cannot undo this by removing the plugin or by using the reset or default user roles. The plugin sees the wp to twitter role options. But even if you check them so that it shoudl work…it wont!

    2)What I did to fix this: I installed another plugin “WPFront User Role Editor “. Even that plugin can’t really fix it but it has one feature that fixes the thing. You can select an option where it says that will undo alls ettings when you uninstall the plugin (full uninstlal not just deactivation). And this fixed it!

    For developers: You may try to install the “User Role Editor” and than check why it stops wp to twitter…

    Plugin Author Joe Dolson

    (@joedolson)

    That’s definitely interesting to know. Sounds like User Role Editor is a little bit overbearing in how it handles user permissions! I’ll look into it; although judging from what I know so far, I suspect it could be something that I can’t readily do anything about.

    Still, it’s helpful for me to know just how severe a problem that plug-in can be.

    Glad you got it figured out!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WP to Twiiter not posting since last plugin update’ is closed to new replies.