Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Hide specific text on site for non admin

UserPost

10:33 am
September 6, 2010


SilvioTO

Member

posts 3

1

Hi and congratulation for your plugin, is fantastic. I am building a new site, and I would like to hide specific text (highlighted), for example in admin zone, for non administrator, as following image (actual stasus widget). Can I do that? How? Thanks a lot! Smile

3:29 pm
October 12, 2010


Kevin

Admin

posts 2503

2

Role Scoper does not handle that UI customization, but Adminimize or some similar plugin might. If not, you just need to determine the classes of those elements and use jQuery to give them a CSS property of display:none

if ( ! in_array( 'administrator', $GLOBALS['current_user']->roles ) )

About the Agapetry forum

Currently Online:

11 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1247

Posts: 5656

Members:

There are 1259 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