Skip to:
Content
Pages
Categories
Search
Top
Bottom

Batch groups avatar change


  • prowseed
    Participant

    @prowseed

    Hello again,
    I would like to ask if it is possible to perform a batch avatar change for several groups. I have a results from database containing IDs of groups that I would like to change an avatar. I found this link lately: http://danpolant.com/how-to-create-groups-in-buddypress-with-php/ but it is fairly old and doesn’t seem to work. As I took care about manual user creation for each group (otherwise everyone are admins) I can not figure out how to change an avatar here, or later with given id. In the link lines:
    `$new_group->avatar_thumb = ‘some kind of path’;
    $new_group->avatar_full = ‘some kind of path’;`
    doesn’t make their job done.
    Thank you for help.
    Cheers.

  • The topic ‘Batch groups avatar change’ is closed to new replies.
Skip to toolbar