The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

BuddyPress BP Gallery Plus
[resolved] group album (6 posts)

  1. hkcharlie
    Posted 3 years ago #

    I see the option in the group setup process to make a gallery for a group.

    But if the group is already made, I can't see where is the option to make a gallery/album for the group.



  2. caevan
    Plugin Author

    Posted 3 years ago #

    Sorry, this is on my todo list to add a gallery to a group that is already created. If you are confident modifying your database, you just need to add a new row in the wp_bp_gallplus_albums table. The main filed you need are
    owner_type = group
    title = group name
    description = group description or whatever you want
    privacy = 5
    group_id = the id of the group you would like it to belong to.

  3. hkcharlie
    Posted 3 years ago #

    thank you

  4. bba
    Posted 3 years ago #

    hello, I want to make these changes, but I do not know how? and what file must be modified. thank you very much

  5. caevan
    Plugin Author

    Posted 3 years ago #

    If you have access to phpMyAdmin you can modify the wordpress MySQL database. If you are not familiar with doing this it might be better to enlist the help of someone who does. Otherwise contact me through my website and I will see what I can do.

  6. sstava
    Posted 3 years ago #

    I had the same situation. I had a number of old groups that I needed to create galleries for. Here is the SQL I used in phpMyAdmin:

    INSERT INTO wp_bp_gallplus_albums (
                                                    group_id )
                     ( 'group', 1, '2013-03-13 15:26:34', 'You Say', 'You Say', 5,  2),
                     ( 'group', 1, '2013-03-13 15:26:34', 'Love Is Alive', 'Love Is Alive', 5,  3)

    If your database tables don't start with "wp_" then you will need to change table name prefix after "INSERT INTO"

    You can add an additional set of values, as I have shown, by just adding a comma after the last one I have and then a new set of values in "( )". The last one should not have a comma at the end (same as my example)

    Make sure your "owner_id" and your "group_id" are changed to be the values for your user id in WP and the id of the group you are creating a gallery for, respectively.

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.