Quantcast
Channel: Module: Gravatar
Viewing all articles
Browse latest Browse all 42

Re: Module: Gravatar

$
0
0
I haven't gotten very far with figuring out the right strategy. I wrote the gravatar module in such a way that it is oblivious to user_avatar. In retrospect, perhaps I should have mod-ed user_avatar and extended it to support gravatars. But being what it is in its current form, I think I will just look at a way for gravatar module to put its user settings on the Avatar control center panel, and let the user choose which one to enable for himself. I don't yet know if this is a viable solution, I need to look at user_avatar code more closely to see what is possible. Maybe Maurice or Thomas are listening in on this conversation and will have some advice.

In some tests I have done I think they can run side-by-side on the same phorum installation, but it has to be an either/or from the user's perspective, because each module uses a completely different avatar insertion mechanism, and they will not be compatible. A user selects a gravatar, the module has to turn off the avatar for that user. The user selects an avatar, the module turns off the gravatar for that user. Looking at user_avatar's code I think it is just setting a single flag to control whether a user's avatar displays, I can probably change that flag setting within gravatar module. I will try and have an answer this week, as to what the next direction for this module will be.

-phil.

Viewing all articles
Browse latest Browse all 42

Trending Articles