Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Profile Page Don't display Roles

UserPost

12:19 pm
March 16, 2009


danf

Member

posts 24

1

Hi Kevin - Im building a custom profile page and would prefer to not display the 'Scoped Roles' section at all for user's profile pages ($is_profile_page == TRUE ) if user doesn't have edit_users permissions.  Any way to make that possible either via a globally defined variable or a filter?


Thanks

3:19 pm
March 16, 2009


Kevin

Admin

posts 2402

2

danf said:

Hi Kevin - Im building a custom profile page and would prefer to not display the 'Scoped Roles' section at all for user's profile pages ($is_profile_page == TRUE ) if user doesn't have edit_users permissions.  Any way to make that possible either via a globally defined variable or a filter?

Thanks


Not currently, but you could hide it by adding a CSS rule:

#userprofile_rolesdiv_rs { display: none; }


About the Agapetry forum

Currently Online:

14 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1186

Posts: 5409

Members:

There are 1176 members

There are 1 guests


Kevin has made 2402 posts

Top Posters:

metal450 - 159

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin