• Hey guys,

    I’ve been running two blogs sharing the same user base for a few month now. I started out on 2.3.2, upgraded to 2.3.3, and now 2.5.

    Before I go on about my problem, let me tell you how I share my user tables.
    I’ve got these two lines in both of my blogs wp-config.php file:
    define(‘CUSTOM_USER_TABLE’, ‘portallar_users’)
    define(‘CUSTOM_USER_META_TABLE’, ‘portallar_usermeta’)

    And I’ve edited includes/wp-capabilites.php Line 168 to read
    “$this->cap_key = ‘portallar_capabilities'”

    All is working OK, but when I go to wp-admin/users.php, it only shows “All Users”, and doesn’t show links to list only Administrators, Editors, Authors, etc. When I go to users.php?role=administrator, it says “No matching users were found!”

    Anyone have any advice on why this could be happening, or how it could be solved?

Viewing 1 replies (of 1 total)
  • Thread Starter iyiinsan

    (@iyiinsan)

    So, I’ve figured the problem out.

    When registering, a “portallar_capabilities” entry is created. But the sites are looking for their specific $wpdb->capabilities entries, namely “mz_capabilities” or “fm_capabilities”.

    Changing line 114 from wp-includes/user.php kinda fixes it. It starts showing links to how many admins/editors/authors/etc. one blog has, but still results in a “no matching users” error when followed. I haven’t tested if this breaks my previously-working “every user MIGHT have a different role, all stay the same unless I say so” hack, but it shouldn’t be a problem.

    PS: It feels like this topic will be my own personal area to keep track of what I’ve done regarding this problem. It looks like no one is willing to help. ??

Viewing 1 replies (of 1 total)
  • The topic ‘User Roles don’t show in Manage Users page’ is closed to new replies.