Changeset 1079 for bb-avatars

Show
Ignore:
Timestamp:
05/12/08 12:21:14 (7 months ago)
Author:
bloggsbe
Message:

New version

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-avatars/trunk/bb-avatars.php

    r1027 r1079  
    11<?php 
    22/* 
    3 Plugin Name: bb-avatars 
    4 Plugin URI:  http://bbpress.org/plugins/topic/bb-avatars 
     3Plugin Name: bbPress Avatars 
     4Plugin URI:  http://gravatar.bloggs.be 
    55Description:  Allows admin to choose default Gravatar image and set other options 
    6 Version: 0.1 
     6Version: 0.2 
    77Author: RuneG 
    88Author URI: http://shuttlex.blogdns.net 
     
    1717Version History: 
    18180.1     : First public release 
     190.2             : Avatars did not show correct in profile page. Fixed. 
    1920 
    2021*/ 
     
    106107                return false; 
    107108        $avatars = bb_get_option('bb_avatars'); 
     109         
    108110        $author_id = get_post_author_id( $post_id ); 
     111         
    109112        $email = bb_get_user_email($author_id); 
     113        if ($email == '' || $email == ' '){ 
     114                $author_id = bb_get_user_id( $post_id ); 
     115                $email = bb_get_user_email($author_id); 
     116                } 
    110117        if ($avatars['default'] == 'Your Own Gravatar'){ 
    111118                $default = $avatars['standard']; 
  • bb-avatars/trunk/readme.txt

    r1028 r1079  
    44Requires at least: 0.9.x 
    55Tested up to: 1.0-dev 
    6 Stable Tag: 0.1 
     6Stable Tag: 0.2 
    77 
    88Shows Gravatar and identicons.