Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Removing "Scoped Roles" from Your Profile (And Additional Questions)

UserPost

2:08 pm
August 6, 2010


Givemeurcookies

Member

Norway

posts 2

1

Main Question

So I want to remove the "scoped roles" and replace it with a more simple, and less space taking option. Like for example "Scoped Roles" with ONLY the  Assigned WordPress Role there, Also then i mean a really simple style. Just for example Assigned WordPress Role: Member. Simply as that, remove the frame around, thats it. If thats to hard to do, I just want to remove the whole **!. Its not that i dislike it, I just enjoy having a style that fits overall with the Admin board, so nothing sticks out at all. And in my case Role Scoper does that. 

Additional Questions

Also while where at this, is there anyone who knows how to add new child menus on the Parent Meny "users"? then do the exact same thing like Users>Your Profile …I'm trying too make my website more social, combining the Wordpress Administration Panel With The Theme of my website. Also adding additionally Buttons on the Dashboard and so on… 

Thank In Advance!, From "The Admin" of Ramen Studios. http://ramenstudios.com

UPDATES: My General Goal Is too have a simple website with a stunning Layout, And Well Programmed at many points and details, That also means a fast and secure website. However this is much work and I'm not a web designer and neither am I a good programmer, yet. Also I want to make the code myself not watching other doing it for me. 

8:27 pm
August 7, 2010


Kevin

Admin

posts 2503

2

Givemeurcookies said:

Main Question

So I want to remove the "scoped roles" and replace it with a more simple, and less space taking option. Like for example "Scoped Roles" with ONLY the  Assigned WordPress Role there, Also then i mean a really simple style. Just for example Assigned WordPress Role: Member. Simply as that, remove the frame around, thats it. If thats to hard to do, I just want to remove the whole **!. Its not that i dislike it, I just enjoy having a style that fits overall with the Admin board, so nothing sticks out at all. And in my case Role Scoper does that. 


You can disable that frame (and the user groups UI) via the following options:

Roles > Options > Advanced tab > User Profile > Display User Roles
Roles > Options > Advanced tab > User Profile > Display User Groups

 

Due to your simple display requirement, I suggest finding another plugin to display the WordPress role on the user profile, or write your own:

add_action( 'show_user_profile', 'my_role_display_function' );
add_action( 'edit_user_profile', 'my_role_display_function' );

You can make use of

$GLOBALS['current_user']->roles

5:50 am
August 8, 2010


Givemeurcookies

Member

Norway

posts 2

3

You can disable that frame (and the user groups UI) via the following options:

Roles > Options > Advanced tab > User Profile > Display User Roles
Roles > Options > Advanced tab > User Profile > Display User Groups

Due to your simple display requirement, I suggest finding another plugin to display the WordPress role on the user profile, or write your own:

add_action( 'show_user_profile', 'my_role_display_function' );
add_action( 'edit_user_profile', 'my_role_display_function' );

You can make use of

$GLOBALS['current_user']->roles


If removing the tab in "your profile" was so simple i wouldnt ask… May that be a bug?, I have  tried it before and when i disable it, nothing happens. I have checked more than once. 

I'll look at creating my own style and plugin, since if I'm correct theres not many decent plugins to edit the user profile. Thank you for the tips, and i would like you to look at the user profile problem. Thank you again.

8:22 pm
August 8, 2010


Kevin

Admin

posts 2503

4

Disabling those options only affect what a logged non-administrator sees on their own profile.

Administrators still see the "User Groups" and "Scoped Roles" data regardless of option setting.


About the Agapetry forum

Currently Online:

17 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1248

Posts: 5657

Members:

There are 1260 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin