hide the “Admin” button for moderators in buddypress groups

Hi,

I’de like to hide the “Admin” button for moderators but display it for admins within buddypress groups.

I’m not a coder but i’ve found a recent tweak on the web that could solve my problem.

I’ve added it to my theme’s function.php as mentionned but it does not work…

Here is the tweak link :

http://www.themightymo.com/2012/05/08/css-body-class-for-buddypress-group-moderators-and-admins/

Does someone knows why it does not work ?

Thanks in advance.

Regards