Change gravatar information

I have a problem… When somebody post in one forum the information below the picture avatar is

User name

Role

IP

by default I would like to change this information by “grups” that means… if you belong a group that information appear in the gravatar and hide IP adress. Is that possible? I am getting crazy trying change that