Did you set
Retrieve phpBB avatars by using native phpBB file.php
option to yes, done this, if an user have an avatar in phpBB, of any flavor, then it should display into wordpress posts or shortcodes or widgets.
The unique wordpress page where avatars may DO NOT affect/display is on
WP admin -> Settings -> Discussion (for a reason i will not go to explain now here but you are noticed that this is it, if the avatar to retrieve isn't gravatar, it will not display in this admin page)
And there are some points where you're right, if an admin is editing an user profile, it do not display, until THE EDITED user do not have almost a comment or reply in wp, or a post in phpBB. If editing your profile, it will display in any case.
This is normal as the code is, because it retrieve avatars for current logged user, all others that are retrieved when you see a post in wp with replies. There are more aspects by the way. All easy to be resolved.
To make the long story short, to fix the bug that when an admin edit an user profile, and it do not show the user's avatar:
OPEN file
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
there are these two lines
Code: Select all
// add the current user
// if any other condition fail assigning avatars to users, add it here
just after, add the follow:
Code: Select all
if (isset($_GET['user_id'])){
$guid = intval($_GET['user_id']);
$u = get_user_by( 'ID', $guid );
if(!empty($u)){
$p_unames[] = $u->user_email;
}
}
So into default wordpress it will work, the user_id of the wp user passed via GET while editing an user profile, you can so grab the user email of this user with the code above, used then to retrieve needed avatars into phpBB.
But the plugin you are using, works the same way? Pass the user_id var when an user profile viewed or edited? Maybe into a custom front-end page?
Do you have this example online? (so i can check without installing the plugin to test).
This fix will be added by default into next coming 2.3.6, as well all others you may report to be fixed, if still not resolved with this simple addition.