passing Custom Profile Field info from aMember to pbpBB3

Discussion in 'Integration' started by karnesb, Jul 20, 2008.

  1. karnesb

    karnesb New Member

    Joined:
    May 25, 2008
    Messages:
    26
    I've created two Custom Profile Fields in pbpBB3 called first_name and last_name so I could insert a personalized user greeting in the header section of all forum pages that reads

    Welcome James Johnson

    or whatever the user's name is...

    Obviously, for this greeting to work, the two new custom fields need to get populated. I want to avoid manually inputting a new user's name in pbpBB, or asking them to do that the first time they log in; both of which introduce the element of human error. Instead, I'd like to automate the process. If I could populate phpBB's custom profile fields first_name and last_name with aMember's name_f and name_l field data, the process would be all set. I'm pretty sure the code would go in the aMember plugin file located here:

    /plugins/protect/phpbb3/phpbb3.inc.php

    am just not sure what that code would be.

    Suggestions?

Share This Page