BuddyDev

Search

Add column value from Xprofile plugin

  • Participant
    Level: Enlightened
    Posts: 38
    Granmeh on #27412

    Hey,

    How can I add a column in user list table from the xprofile custom field plugin ?

    Regards,

    granmeh

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #27421

    Hi Granmeh,
    Are you comfortable with php?

    You will need to use xprofile_get_field_data() to fetch the data and then filter on ‘manage_users_columns’, ‘manage_users_custom_columns’ to show the data.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 38
    Granmeh on #27424

    I tried it yesterday and it didn’t work. I just tried again and it works.

    I’ve been silly. 🙂

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #27425

    🙂 Good to know that you got it working.

    Regards
    Brajesh

The topic ‘Add column value from Xprofile plugin’ is closed to new replies.

This topic is: not resolved