Thanks for the great plugin!
I found a problem with displaying Avatar in WP from phpBB.
Made all the recommended fixes to the .htaccess file, but it does not work.
As it turned out, the reason for access rights to files with avatars is that when they are downloaded to the server they are written with the rights 0600, if they are changed to 0644, then everything starts working.
I tried to modify phpBB to write a file with the rights 0644, but this also does not work.
The reason for the provider's security settings was clarified and this is the general trend of all providers to improve hosting security.
In connection with the above, I propose to solve the problem by changing the code of the plug-in, for which it is necessary to modify the file class.wp.w3all-phpbb.php
To do this, replace the line with the code:
Code: Select all
$phpbb_avatar_url = get_option( 'w3all_url_to_cms' ).'/'.$phpbb_config["avatar_path"].'/'.$phpbb_avatar_filename;
on the line with the code:
Code: Select all
$phpbb_avatar_url = get_option( 'w3all_url_to_cms' ) . "/download/file.php?avatar=" . $avatar_entry . '.' . $ext;
This solution is slightly less productive than current, but more universal, if you want to leave both options, you can make an option in the settings.
P'S'
Can I add this solution in the next version of your plug-in?