by teebling » Wed Jun 10, 2020 4:35 pm
Hello,
I'm trying to call the current user's phpBB avatar in a template file.
I have tried the default WP get_avatar_url() function but it just returns the default WP 'No Avatar' image.
I can see that the user's phpBB avatar is successfully rendered in the Admin Toolbar, and in the w3all Login/User Info widget. I also see that avatars are working successfully on the Latest Topics Widget. So - the phpBB avatars working correctly on the rest of my site.
I just don't have the PHP code to call the user's phpBB avatar anywhere else in a template file - can you please provide it? It seems to me like a different call than the default get_avatar function.
Thanks
Hello,
I'm trying to call the current user's phpBB avatar in a template file.
I have tried the default WP [c]get_avatar_url() function[/c] but it just returns the default WP 'No Avatar' image.
I can see that the user's phpBB avatar is successfully rendered in the Admin Toolbar, and in the w3all Login/User Info widget. I also see that avatars are working successfully on the Latest Topics Widget. So - the phpBB avatars working correctly on the rest of my site.
I just don't have the PHP code to call the user's phpBB avatar anywhere else in a template file - can you please provide it? It seems to me like a different call than the default get_avatar function.
Thanks