Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,781
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
nah, I have found a solution:
change the line which I mentioned above to this:
$userid = $wpdb->get_var(“SELECT post_author FROM $blogPostsTable”);
and then find line starting $grav_img = and change it to:
$grav_img = get_avatar($userid, ’80’, ”);
and your gravatars will be working fine.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS