WordPress.org

Ready to get started?Download WordPress

Forums

Change "Subscriber" to "Member" globally? (9 posts)

  1. Matt
    Member
    Posted 5 years ago #

    Role Scoper is far too complicated for such a simple change, and looking through its admin pages I'm not sure it can do this anyway.

    I just need to change the word "Subscriber" to "Member" globally.

    Is this stored in the db or in a text file?

  2. Matt
    Member
    Posted 5 years ago #

    Anyone? Bueller?

  3. Matt
    Member
    Posted 5 years ago #

    I think I found it.

    wp_options table, option_id 66... it's a big heinous free-text field with values that must be parsed out in php. Near the end of it you'll find "Subscriber" and "subscriber". I'm going to change them and see what happens.

  4. Matt
    Member
    Posted 5 years ago #

    Disaster. Changing either or both results in an error page in admin. Hmmm, something must be depending on those not changing.

  5. ClaytonJames
    Member
    Posted 5 years ago #

    grep the WP 2.7.1 files. You should find at least four files that contain references to "Subscriber". Would you need to change those references to match the changes in the database? I don't know.

    Have a look at the Role Manager plugin. It allows you to simply rename and or define your own roles and capabilities via the plugins admin pages. I was using it on 2.7 with no issues for a while, but have since removed it. The docs claim it is compatible up to 2.6.x, but I don't recall ever having any issues using it on 2.7.1. A quick browse of the forums might confirm or refute that. Here is the plugin link from sourceforge.

    http://sourceforge.net/projects/role-manager

    Of course, as always, experimentation is at your own risk.

  6. ClaytonJames
    Member
    Posted 5 years ago #

    Role Manager

    That link is directly from the authors site.

  7. Matt
    Member
    Posted 5 years ago #

    I installed Role Manager, and if it was my site I'd have used it. However it's a client site and I want to leave it as simple and straightforward as possible... a plugin that hints "abandoned, or soon to be" I just cannot use for production code.

    I'm going to try to get what I want by modifying the WP files/db. Thanks for the pointer to the webfiles.

  8. Matt
    Member
    Posted 5 years ago #

    For reasons that have to do with expediency and lack of port access on the client's server (3306 not allowed, and thus GUI db tools not allowed), they want me to abandon efforts to get this change done.

    They're going to live with Subscriber = Member, and I get to feel silly for not being able to change that simple string in a reasonable amount of time.

    BTW, web file string changes by themselves do not do it. It must be the combination.

  9. kevinB
    Member
    Posted 5 years ago #

    Potential Role Manager abandonment should not be a concern, since it's a passive plugin. All it does is edit a WordPress database record that defines role names and capabilities. Perform the edit and Role Manager's job is done. The plugin can be deactivated, and is never needed again unless you need to edit the role name/capabilities again later. As long as Role Manager works with the current WP version (whether stated on the download page or not), future WP upgrades will carry your role defs forward.

Topic Closed

This topic has been closed to new replies.

About this Topic