Changeset 1079
- Timestamp:
- 05/12/08 12:21:14 (7 months ago)
- Files:
-
- bb-avatars/tags/0.1 (added)
- bb-avatars/tags/0.1/bb-avatars.php (added)
- bb-avatars/tags/0.1/readme.txt (added)
- bb-avatars/trunk/bb-avatars.php (modified) (3 diffs)
- bb-avatars/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bb-avatars/trunk/bb-avatars.php
r1027 r1079 1 1 <?php 2 2 /* 3 Plugin Name: bb -avatars4 Plugin URI: http:// bbpress.org/plugins/topic/bb-avatars3 Plugin Name: bbPress Avatars 4 Plugin URI: http://gravatar.bloggs.be 5 5 Description: Allows admin to choose default Gravatar image and set other options 6 Version: 0. 16 Version: 0.2 7 7 Author: RuneG 8 8 Author URI: http://shuttlex.blogdns.net … … 17 17 Version History: 18 18 0.1 : First public release 19 0.2 : Avatars did not show correct in profile page. Fixed. 19 20 20 21 */ … … 106 107 return false; 107 108 $avatars = bb_get_option('bb_avatars'); 109 108 110 $author_id = get_post_author_id( $post_id ); 111 109 112 $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 } 110 117 if ($avatars['default'] == 'Your Own Gravatar'){ 111 118 $default = $avatars['standard']; bb-avatars/trunk/readme.txt
r1028 r1079 4 4 Requires at least: 0.9.x 5 5 Tested up to: 1.0-dev 6 Stable Tag: 0. 16 Stable Tag: 0.2 7 7 8 8 Shows Gravatar and identicons.
