remove Gravatars from comments sidebar plugin

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Matthias
Regular
Posts: 47
Joined: Wed Mar 01, 2006 4:33 pm
Contact:

remove Gravatars from comments sidebar plugin

Post by Matthias »

Seredipity 0.91
comments plugin 1.3
Gravatar plugin 1.3

Is there a way that Gravatars will not be shown in comments sidebar plugin?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: remove Gravatars from comments sidebar plugin

Post by garvinhicking »

Yes, you can hide them easily via CSS:

Code: Select all

.serendipitySideBarItem .gravatar,
.serendipitySideBarItem .favatar {
  display: none;
}
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Matthias
Regular
Posts: 47
Joined: Wed Mar 01, 2006 4:33 pm
Contact:

Post by Matthias »

It works fine, thank you very much!!
Matthias
Regular
Posts: 47
Joined: Wed Mar 01, 2006 4:33 pm
Contact:

Post by Matthias »

Can both, Gravatars and Favatars, be enabled so if there are no Gravatar Favatar will be shown?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, exactly, that will happen if both are enabled.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Matthias
Regular
Posts: 47
Joined: Wed Mar 01, 2006 4:33 pm
Contact:

Post by Matthias »

Sorry, I don´t exactly understand.
I just can chosse one: Gravatar or Favatar and if one isn´t available in comments the other one isn´t shown? I cannot install this plugin twice with spartacus.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yes, you set the preferred state - if you set to use "Gravatar", then if a gravatar is not available, s9y will check for a Favatar. If you set to use Favatar, then the gravatar will only be used as fallback. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply