1.8.0 phpBB WordPress released

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: 1.8.0 phpBB WordPress released

Re: 1.8.0 phpBB WordPress released

by axew3 » Fri Feb 02, 2018 11:33 am

Going to add this on next coming very soon release.
The option will contain this explain, that maybe someone can help me to improve:
Retrieve avatars by using native phpBB file.php
If you do not want edit the .htaccess file for security reasons, or after changes to .htaccess still avatars not display due to server security permissions, or you want to maintain hidden on output, the real avatars images file names (like phpBB do), then activate this option to retrieve phpBB avatars and display by using native phpBB file.php (little less fast)
Thank for your suggestion!

Re: 1.8.0 phpBB WordPress released

by axew3 » Fri Jan 12, 2018 10:57 pm

Hi thank to you for appreciation Alex! The plugin can be SOOO improved and a code clean up is still necessary in some points.
Of course your hint can be added on next version and since more useful features and options can be added, may a specific section about specific options/features into actual plugin config page will be added (also, the config page should be improved to be more friendly and to look better, but this is another story).

If you can provide the code, it will be added into next version. If not, i will add this option based on your hint.

Re: 1.8.0 phpBB WordPress released

by Alexvrs » Fri Jan 12, 2018 6:56 pm

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?

1.8.0 phpBB WordPress released

by axew3 » Thu Jan 11, 2018 11:31 pm

Code: Select all

= 1.8.0 =
*Release Date - 11 Gen, 2018*

* Add feature: 'integration without linking users', also cross domain: see https://www.axew3.com/w3/2018/01/wordpress-phpbb-integration-without-linking-users/
* Add (initial) SEO fix for links on Widgets Last Topics, that affect if on 'iframe links mode', see this: https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=620&p=2543#p2543 . Note that if you use custom template files to display Last Topics Widgets or Shorcodes, that you've copy/paste from views folder into the 'wp-w3all-config' folder, you can follow using old files you have edit, or switch to news with SEO links fixes that are contained into 'views' folder
* Remove the file 'views/phpbb_login_form.php': the code has been moved inside proper function that fire the Login Widget for a more clear code and fast execution. You can safely remove/delete this not more used file 'phpbb_login_form.php' from folder: /wp-content/plugins/wp-w3all-phpbb-integration/views
* Minor fixes

Top