@davehakkens
Active 8 years, 1 month ago
-
Paul Wong-Gibbs replied to the topic Display user country flag in the forum How-to & Troubleshooting 8 years, 1 month ago
Hi @davehakkens
bp_member_profile_data() defaults to the current user in the members loop… It is probably coincidence this is the thread starter user, but I can’t remember how bbPress interacts with it.
What I think you want to do is
bp_get_member_profile_data(array('field'=>'country', 'user_id' => bbp_get_reply_author_id()))
That way you’re…[Read more]