Wordpress phpBB integration 1.8.0 applied patches/improvements

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Wordpress phpBB integration 1.8.0 applied patches/improvements

Post by axew3 »

1) Improve the user transfer process WordPress users into phphBB
(only needed when integration start to transfer existent old WP users into phpBB, that is mandatory step)


The WordPress users to phpBB transfer procedure has been improved to detect if there are existent phpBB usernames, using same email address of transferred WordPress usernames. A warning will show up informing how to resolve the issue (that will be to change the email address for this user in phpBB via phpBB ACP).

download here the patched wp_w3all_users_to_phpbb.php file: https://plugins.trac.wordpress.org/brow ... runk/views
and substitute/replace the file into folder
/wp-content/plugins/wp-w3all-phpbb-integration/views
to apply the patch.
... ...
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Wordpress phpBB integration 1.8.0 applied patches/improvements

Post by axew3 »

2) Add force user addition at same time into Wordpress when register and then login into phpBB (even if not in iframe mode).
Check it here: viewtopic.php?f=2&t=643
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Wordpress phpBB integration 1.8.0 applied patches/improvements

Post by axew3 »

3) Secondary Patch (that may you can wait to update if not needed, like others applied, and above reported) that require to update files:

class.wp.w3all-phpbb.php
views/phpbb_last_topics.php
views/phpbb_last_topics_output_shortcode.php


Patches applied on these files, are about a bug i've discover while testing a site where install admin on phpBB UID 2 and WP admin UID 1 have different usernames. Maybe most of you (and even i), never have been noticed about this, maybe yes.
Patches includes also the fix for the long time problem about:
when an admin open the Discussion settings on WordPress administration: WP admin -> Settings -> Discussion, the avatars lists show the viewing user avatar for all options, instead than different gravatars.
This problem has been now resolved in the way that the gravatar filter function is disabled when an admin is viewing the WP admin -> Settings -> Discussion page.

Download patched files here
https://plugins.trac.wordpress.org/brow ... tion/trunk

Or more easily, if needed, download the entire plugin and substitute overwrite all files
https://wordpress.org/plugins/wp-w3all- ... tegration/

Looked up also about the problem: when a phpBB user isn't still added into WordPress, his phpBB avatar not display into WordPress.
The way to fix this problem has been found, but it has been moved to the "as soon is possible"!
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Wordpress phpBB integration 1.8.0 applied patches/improvements

Post by axew3 »

4) Mark unread messages into Last Topics using Font Awesome icons

patched files to substitute for this, at date of this post, are:
wp_w3all.php
views/phpbb_last_topics.php
views/phpbb_last_topics_output_shortcode.php
Post Reply