[2.0.20] Gravatar (Globally Recognized Avatar)

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
6
100%
Very Good
0
No votes
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 6

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28120
Joined: Sat Aug 16, 2003 7:36 am

[2.0.20] Gravatar (Globally Recognized Avatar)

Post by Extensions Robot »

MOD Name: Gravatar (Globally Recognized Avatar)
Author: ycl6
MOD Description: This mod allows admin to add an additonal option in their ACP to allow user to use their Gravatar. If enabled, members can then choose to use their Gravatar.


MOD Version: 1.2.0 (Updated 04/14/06)

Download File: Gravatar_1.2.0.zip
mods overview page: View
File Size: 146282 Bytes

Security Score: 0

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Mon Apr 30, 2007 12:28 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 »

MOD Validated/Released

Notes:
This MOD allows users to use their Gravatar as their avatar on your board.

Wizard_SEMFE
Registered User
Posts: 10
Joined: Tue Jun 29, 2004 11:15 pm

Post by Wizard_SEMFE »

What's a gravatar??? :oops:

Edit:Ok, got it :D
http://www.gravatar.com/
Oh my god they killed Kenny!!! You bastards!!!

Ρε θα γίνει η μάχη των μαύρων μέσα σε τούνελ!!!

User avatar
DaMnY
Registered User
Posts: 51
Joined: Sun Jan 26, 2003 10:09 am
Location: The Netherlands
Contact:

Post by DaMnY »

Why am I getting this error when I'm viewing a topic?

Code: Select all

Fatal error: Cannot redeclare gravatar_output() (previously declared in var/www/html/phpBB2/includes/functions_gravatar.php:21) in var/www/html/phpBB2/includes/functions_gravatar.php on line 21
-edit-
I think I fixed the problem, instead of include I replaced it with include_once
viewtopic.php wrote: case USER_GRAVATAR:
include_once($phpbb_root_path . 'includes/functions_gravatar.'.$phpEx);
$poster_avatar = gravatar_output($postrow[$i]['user_avatar']);
break;

Besides that little thing, it's a great mod!
Last edited by DaMnY on Wed Jan 25, 2006 4:19 pm, edited 1 time in total.
Know Thyself

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

May I know what kind of avatar setting you have that trigger the output?

~Mac

User avatar
DaMnY
Registered User
Posts: 51
Joined: Sun Jan 26, 2003 10:09 am
Location: The Netherlands
Contact:

Post by DaMnY »

ycl6 wrote: May I know what kind of avatar setting you have that trigger the output?

~Mac
I just used the default option.
Know Thyself

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

I meant, did you enable gallary, external avatar, avatar upload, or gravatar only? Because I'll try to replicate those settings on my test board to see if the error indeed present.

~Mac

User avatar
DaMnY
Registered User
Posts: 51
Joined: Sun Jan 26, 2003 10:09 am
Location: The Netherlands
Contact:

Post by DaMnY »

I disabled all the other avatar options, gravatar was only enabled.
Know Thyself

Peter77sx
Registered User
Posts: 3259
Joined: Wed Nov 09, 2005 2:51 pm

Post by Peter77sx »

DaMnY wrote: Why am I getting this error when I'm viewing a topic?

Code: Select all

Fatal error: Cannot redeclare gravatar_output() (previously declared in var/www/html/phpBB2/includes/functions_gravatar.php:21) in var/www/html/phpBB2/includes/functions_gravatar.php on line 21
-edit-
I think I fixed the problem, instead of include I replaced it with include_once
viewtopic.php wrote: case USER_GRAVATAR:
include_once($phpbb_root_path . 'includes/functions_gravatar.'.$phpEx);
$poster_avatar = gravatar_output($postrow[$i]['user_avatar']);
break;

Besides that little thing, it's a great mod!


Great MOD! my members who use Wordpress and blogger will appreciate this. just one question... why would banning an email from my board have anything to do with Gravatar? is there a way to bypass this? I've had problems with AOL when a member is "watching" a topic. they consider it spam. but I don't really see any harm in letting members use a banned email for Gravatar only.

Also, I had to do the above to get it working too. I had the same error didn't matter what settings I had it on. only the user with Gravatar had the error. anyone else could enter a thread fine and even view another members gravatar. thought I would let you know.

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

Thanks Peter77sx, I'll look into this when I finish my upcoming exam :)

~Mac

The_Boss
Registered User
Posts: 60
Joined: Mon Nov 14, 2005 12:50 pm
Location: Philadelphia, PA
Contact:

Post by The_Boss »

Mine installed on phpBB v2.0.19, using EasyMOD with only one minor problem; it would not write the SQL:
INSERT INTO `phpbb_config` VALUES ('allow_gravatar', '0');
INSERT INTO `phpbb_config` VALUES ('allow_gravatar_only', '0');
INSERT INTO `phpbb_config` VALUES ('allow_gravatar_rating', '1');

When I tried to manually insert it via PhpMyAdmin, I get the following error:
MySQL said:

#1136 - Column count doesn't match value count at row 1


How can I correct this minor glich? :?

User avatar
MHobbit
Former Team Member
Posts: 4761
Joined: Thu Mar 18, 2004 5:32 pm
Location: There and Back Again

Post by MHobbit »

The_Boss: Try this:

Code: Select all

INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('allow_gravatar', '0');
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('allow_gravatar_only', '0');
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('allow_gravatar_rating', '1');
Former phpBB MOD Team member
No private support is offered.
"There’s too many things to get done, and I’m running out of days..."

The_Boss
Registered User
Posts: 60
Joined: Mon Nov 14, 2005 12:50 pm
Location: Philadelphia, PA
Contact:

Post by The_Boss »

U Da Man! .... Thank You! .... That Worked! :D

The_Boss
Registered User
Posts: 60
Joined: Mon Nov 14, 2005 12:50 pm
Location: Philadelphia, PA
Contact:

Post by The_Boss »

One more question 8O

I see the settings in the ACP, but when I click my Profile link from the forum homepage, I see no reference of Gravatar. :? What am I missing? :?

Shanana
Registered User
Posts: 368
Joined: Sat Aug 28, 2004 4:03 am
Location: USA [from London, England]

Post by Shanana »

So this works okay?

Post Reply

Return to “[2.0.x] MOD Database Releases”