WordPress.org

Ready to get started?Download WordPress

Forums

Role Scoper
[resolved] XMLRPC (5 posts)

  1. coronag
    Member
    Posted 1 year ago #

    Hello,

    Using WP3.4.1 and Role scoper 1.3.55.

    I need to post with "windows live writer" (using xmlrpc) but trying to post "draft" I always get errors like :

    " [...] 401 [...]
    Sorry, you are not allowed to publish posts on this site."

    Any idea ?

    http://wordpress.org/extend/plugins/role-scoper/

  2. thermador
    Member
    Posted 1 year ago #

    I fixed this issue on mine (not using XMLRPC, but it should still work, since I had the same message when trying to use another plugin to create posts).

    Basically, you have to give yourself permissions to post.

    Go to the "Roles" menu. Let's say you have your site set up to restrict by Categories. So click on "Categories" on the left menu.

    Choose these options.

    1) Dropdown: choose "Assign for selected categories"
    2) Select your user name checkbox
    3) Select nothing here
    4) Select "Post Author" for all categories. If you have a lot of categories, you can do this with a "select all" checkbox at the bottom.
    5) Press "Update" in the upper right.

    So you have given your user name / account permissions to be a post author in all categories (assuming that you are an admin and you wan to be able to post in all categories).

    The idea is the same if you are restricting by posts or by pages or whatever else - give your account permission to be an author and that should fix it.

  3. kevinB
    Member
    Plugin Author

    Posted 1 year ago #

    This fix is included in Role Scoper 1.3.56:

    • Fixed : XML-RPC (ScribeFire) posting failure in some configurations, due to PHP warning
  4. Calibretto
    Member
    Posted 1 year ago #

    thank you. the update fixed my problem.

  5. coronag
    Member
    Posted 1 year ago #

    Hello,

    Thanks for your answers but I still have the same problem.
    I updated to 1.3.56 but nothing changed...

    @thermador : thanks but I didn't change permissions for post or categories. I only use role scoper to restrict view and edition of a "custom post type". So there no more restriction for post or categories than the wordpress actual permissions.
    Since there is no problem to create/edit a post when logged in the wordpress admin then it should also work via xmlrpc. (The permissions are the same ...)

    Any idea ?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic