How to display static text as a profile field?
Well, not exactly static. But close enough. Here’s the deal: I’d like to add two profile fields when viewing a member’s profile: join date, and membership level (from another third party plugin).
These should not be “real” profile fields, as I don’t want them to be editable by the user. I just want them to appear on profile pages as if they were profile fields.
I don’t really need help with the functions to get the correct data, I have that, I just don’t have anywhere to hook it into. I can’t exactly use something like bp_before_profile_loop_content, as it’s not in the correct location, and if I hook it to bp_profile_field_item then it shows up in all groups, whereas I only want this info to display in the base group.
Is there a better way of doing this?
- The topic ‘How to display static text as a profile field?’ is closed to new replies.