BuddyDev

Search

Automatic field creation when creating a user group by group slug – 2

Tagged: 

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #50960

    Continuation of the topic – https://buddydev.com/support/forums/topic/automatic-field-creation-when-creating-a-user-group-by-group-slug/

    Hello Brajesh,

    The code works fine,
    there was a problem,
    the database is bloated.
    Is it possible to create a field for a user,
    only if the user has joined the group,
    and delete if the user leaves the group.

    Thank you friend.

  • Keymaster
    (BuddyDev Team)
    Posts: 24250
    Brajesh Singh on #50963

    Hi Vlad,
    Thank you for the question.

    I think there is some misunderstanding here.

    BuddyPress Xprofile Field and profile field data are different things. The Xprofile Field is not associated with user. It is global to your site.
    The Profile data is associated with your user.

    We can not create a profile field for one user only. If you create a profile field, It is global to your site. You may add visibility/availability scope that BuddyPress provides to limit its visibility.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved