WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. hkcharlie
    Member
    Posted 1 year 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.

    Help

    http://wordpress.org/extend/plugins/bp-gallery/

  2. caevan
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    thank you

  4. bba
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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 (
                                                    owner_type,
                                                    owner_id,
                                                    date_created,
                                                    title,
                                                    description,
                                                    privacy,
                                                    group_id )
                                              VALUES
                     ( '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

Tags

No tags yet.