• Hi,

    May I ask you to clarify a few things about the “phpBB WordPress integration extension v2”? I’m already using it, but I wanted to be sure.

    Is this what this extension does?

    • Users added to phpBB are instantly added to Wp.
    • When a user is deleted, they are instantly deleted from WP as well.
    • When the user’s email address changes, it also changes in WordPress.

    These are important things as they stand, but I think these should also be included:

    • When the email address changes, the email address in the user’s WP comments should also change. (Because this.)
    • If the user is banned, it would be nice to be able to add them to a special role in WP. That way, I could add some special restrictions for them.
    • Assign a “Custom profile fields” for the “Display name”?
    • Maybe changing the username might be a good idea (by the Admin)?

    Thank you so much.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Halil

    (@halilesen)

    Hmm. Changing the email addresses for comments might be too expensive, so I’ve developed a more effective method for online display.

    Instead of using the comment’s email address, I matched it with the comment author’s current email address. It made more sense.

    Thanks.

    Plugin Author axew3

    (@axewww)

    Hello Halil!

    • Users added to phpBB are instantly added to Wp.
    • When a user is deleted, they are instantly deleted from WP as well.
    • When the user’s email address changes, it also changes in WordPress.

    Users are added into WP if they register in phpBB immediately, if the extension in phpBB has been installed. The plugin code run only in WP and not in phpBB. If the extension in phpbb is not installed then they are added in WP when they visit as logged in phpBB the wp side (because the plugin code on class.wp.w3all-phpbb.php check for the session on private static function verify_phpbb_credentials(){) and if the user still not exist will be added, or when they will login in WP (using public static function w3_check_phpbb_profile_wpnu($username){ ) if they are still not existent. The same goes for email, it will change immediately in WP when updated in phpBB only if the phpBB extension is installed in phpBB (and is well configured to work) or the update will work as described for the user addition in WP when do not exist.

    Note that the phpBB extension value of the url that point to WP need to finish with a slash / if i am not wrong. The phpBB extension code, to add an user in WP, simply load via a cURL the WP url indicated into the setting, and the plugin code in WP that receive this cURL request from phpBB is on file functions.php where:

    # Add phpBB user in WP via cURL

    function w3all_add_phpbb_user() {

    in case of email update or url update instead, the phpBB ext code execute the update directly doing a query. The cURL request should maybe be done using native WP REST but i did like this in the past and work the same practically (even i suspect that REST would be faster but ok since it is used just to add an user in WP). It can be easily improved.

    If the user is banned, it would be nice to be able to add them to a special role in WP. That way, I could add some special restrictions for them.

    it was like this, but actually the code just logout the user and do not go to change the user state in WP and this also can be easily changed.

    Hmm. Changing the email addresses for comments might be too expensive, so I’ve developed a more effective method for online display.

    i did not understand this, but if you mean that there is a faster way to achieve data in phpBB for all users that appears into the widget last topic, i know that there is but actually it was done like that and should be quite fast. The email address, after the ID (intval), that by the way will not match the same into phpBB and WP db so you cannot use IDs to get user’s data, the email is the most efficient probably and commonly used in these cases.

    I updated the super secret encrypt decrypt files code that i did randomly and very confused, but that now anyway work really strong than everything else. The One way to be secret

    https://www.axew3.com/w3/2025/11/super-secret-storage-of-network-files-and-messages/

    Online example

    https://www.axew3.com/www/deApps/w3mypgp/w3mypgp.html

    • This reply was modified 3 months, 1 week ago by axew3.
    Thread Starter Halil

    (@halilesen)

    I delayed writing.

    Thank you. I customized the code so that all the custom profile fields I wanted would be synchronized. It works great.

    Forget what I said about emails, it was nonsense. Instead, I extended a feature in my synchronization.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.