• hapaxlegomen

    (@hapaxlegomen)


    Something’s wrong :

    When I’m logged as admin, level 10, I can only see, edit, delete in edit/pages the 33 first pages.

    When I’m logged as a simple user, level 2, I can see, edit, delete all pages, made by everyone…

    So it is not a time out issue with database !

    I have tried to comment :

    $posts = $wpdb->get_results("
    SELECT $wpdb->posts.*, $wpdb->users.user_level FROM $wpdb->posts
    INNER JOIN $wpdb->users ON ($wpdb->posts.post_author = $wpdb->users.ID)
    WHERE $wpdb->posts.post_status = 'static' AND ($wpdb->users.user_level < $user_level OR $wpdb->posts.post_author = $user_ID)
    ");

    in wp-admin/edit-pages.php. When I do that, nothing appears.

    So it is not a user cookie issue !

    I have try too to change permissions in wp-admin/menu.php and I have put :

    $submenu['edit.php'][10] = array(__('Pages'), 3, 'edit-pages.php');

    instead of

    $submenu['edit.php'][10] = array(__('Pages'), 2, 'edit-pages.php');

    And when I log as a user level 2, it says I haven’t rights to go to this page.

    So it is really not a user identification issue !

    I’m lost. If someone have an idea, he will save my reason.

    I can’t upgrade WP because it would need a lot of work to make everything goes right in my site again, and I haven’t time until may.

    All people have stop to work because of this problem on https://www.cometes.org /

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried using a different browser that has no cookies and logging in as Level 2 ?

    Have you tried asking someone who has never logged into try and do so as a Level 2 user ?

    Have you disabled ALL plugins and tried ?

    Thread Starter hapaxlegomen

    (@hapaxlegomen)

    Thanks for your advises. I have done that :

    I have try Firefox after IE and it makes the same

    I have not try asking someone who has never logged into try and do so as a Level 2 user because I don’t know someone I can trust (If you have time for us, I can create you an access level 2)

    I have disabled all plugins and it makes almost the same. The only difference is that as an admin, I can see now the 84 first pages (there are others I can’t see). As a user level 2, I always can see, edit, delete all pages.

    Have you got an idea to try ?

    Email me a new login ?
    tamba2 @ gmail . com
    and I’ll try straight away.

    Thread Starter hapaxlegomen

    (@hapaxlegomen)

    Done.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User level and edit pages in WP 1.5’ is closed to new replies.