Page 1 of 1
WP users avatars not showing on phpBB ? is it normal ?
Posted: Sun Jan 26, 2020 1:40 am
by Baptiste
Hello,
i'm using the WP plugin "Simple Press Members Manager" (SPMM) which enables me to provide rich user profiles, with as many custom fields as I want + some features I need for my community.
Also, my link between WP and phpBB is properly setup and is apparently working ok
BUT
i've noticed that WP users avatars are not showing on phpBB : is this the normal behaviour ? Or is it because I use the SPMM plugin ?
Re: WP users avatars not showing on phpBB ? is it normal ?
Posted: Sun Jan 26, 2020 8:51 am
by axew3
Hello!
You say you have a plugin, that setup in wordpress an avatar, which you want so setup into phpBB the same when user setup it or upload into his wp profile.
This has been done for buddypress, and it is easy doing for any other plugin, BUT: any plugin works his own way, may adding actions and filters, so it is required to let fire the integration plugin, when certain actions done by some other plugin.
If you interested on adding some code to make it work this plugin and avatars (since it is not a free plugin, or it is?), may send me a copy of it.
I will so may consider to install into my localhost and i will take a fast look into what need to be done to link avatars behaviors.
Finally, we can consider to start adding into wp_w3all plugin, a sort of external libraries, making the integraton plugin work fine when integrated with different plugins, tuning some aspect with easy.
Re: WP users avatars not showing on phpBB ? is it normal ?
Posted: Tue Jan 28, 2020 4:09 pm
by Baptiste
Hi ! First of all I would like to apologize, as it took some days for me to answer you, I was out of town.
Thanks for replying so fast, I appreciate your support.
Here is a link where you can download the plugin i'm using to enrich user profiles :
https://send.firefox.com/download/0f6c2 ... xOVOLrMsHg
The link should be active 7 days from now, or up to 5 downloads. let me know if you need me to actualize it.
You're right, it is the plugin dealing with user avatars, and now I realize it is not a native function of Wordpress, so it is normal that your plugin doesn't natively handle it.
(I noticed that, when I disable gravatars in WP settings, the plugin stops showing user avatars, even though they are not gravatars; so I think the plugin is hooked to the WP gravatars filters and actions in some way, maybe you can use that ?)
If you can provide some code I could use in the functions.php of my (custom made) template, that would be great; or alternatively, some code I could put in a custom file in phpBB (i don't like to change phpBB core files, i'd rather make a custom php file in includes, I think it's better practice).
Either way, what I want ultimately is to have WP avatars (defined by the SPMM plugin) to show up for user on phpBB (on viewtopic and user profile at least).
Thanks for your help !