BuddyDev

Installation

Table Of Contents:-

Installing BP gallery 1.3.1+:-

  • Download the plugin
  • unzip it
  • upload to the wp-content/plugins directory
  • Activate it
  • View Settings->BP Gallery(on non multisite) or NetworkAdmin->Settings->BP gallery(on multisite install) and update settings
  • Create a Gallery Page and assign it to gallery in Settings->BuddyPress->Pages screen
  • Visit your site and galley should work.
  • Please make sure to logout after activating the gallery for first time, otherwise you will get an issue with uploading.
The section below only applies to BP gallery version 1.3 or below. If you are using BP Gallery version 1.3.1 or above, you don't need to follow these instructions.

Installing BP gallery 1.0+:-

If you are upgrading from the previous version of bp-gallery(e.g Rc4), please skip this and follow the instructions in upgrade section:-

If you are upgrading from the previous version of bp-gallery(e.g Rc4), please skip this and follow the instructions in. The following instructions are only for a fresh install of BP-Gallery, If you never installed it before.

  1. Download current version of bp-gallery from left side download link
  2. Unzip Bp-gallery
  3. You will see the folder structure as following:
  4. Move the "gallery" directory to your current active theme.  You can move it to the parent theme(If you are using a child theme) or Child theme, If you are not using child theme, It should always go to the current active BuddyPress theme. On My Test Install, I have moved it to bp-default theme, as It is my current active theme as shown below
  5. Once you have moved the "gallery" template to your current theme, Please upload "bp-gallery" directory to wp-content/plugins directory as shown belowplugins-dirpng
  6. Once you have uploaded the bp-gallery to wp-content/plugins, Login to WordPress Dashboard as administrator
  7. Go to Dashboard->Plugins, you will see something like thisThe "network activate" is only available on WordPress Multisite. If you are using WordPress MultiSite and want to use gallery functions say embeding media from gallery, available on other blogs of the network,  then Network Activate it, If you only want gallery functions on main site, just activate it. In case of Single WordPress, just activate It.
  8. Once Activation is Complete, Go to Dashboard->BuddyPress->Gallery Settings and enable disable the settings and update the image size.
  9. On activation, you will see a BuddyPress message  like 'The following active BuddyPress Components do not have associated WordPress Pages: Gallery' . Create a new page , Give it the name "Gallery" or anything you want. Now, click on repair and assign this page to Gallery on the BuddyPress->Pages screen. Click Save.
  10. Ok, so you are done now. Please  do not hurry, make sure to logout first. Then login(It is required for the first time activation of gallery only, we need auth cookie for flash based upload) and then try creating gallery/uploading media.
  11. Got a trouble, please let us know here https://buddydev.com/support/forums, we are always here to help 🙂

Upgrading from BP Gallery pre 1.0 (Rc4 updates) to Gallery Current Version

  1. Download current version of bp-gallery from left side download link
  2. Unzip bp-gallery
  3. You will see the folder structure as following:
  4. Deactivate BP Gallery on your WordPress site by logging in to dashboard and going to Dashboard->Plugins->Active/Network
  5. Take a backup of the "gallery" template from your current active theme. Now delete "gallery" directory from your current active theme.
  6. Move the new "gallery" directory from bp-gallery to your current active theme.  You can move it to the parent theme(If you are using a child theme) or Child theme, If you are not using child theme, It should always go to the current active BuddyPress theme. On My Test Install, I have moved it to bp-default theme, as It is my current active theme as shown below
  7. take a backup of older bp-gallery from wp-content/plugins directory and delete it from the plugins directory.
  8. Upload the newly unzipped bp-gallery to wp-content/plugins, It should look like followingplugins-dirpng
  9. Once you have uploaded the bp-gallery to wp-content/plugins, Login to WordPress Dashboard as administrator
  10. Go to Dashboard->Plugins, you will see something like thisThe "network activate" is only available on WordPress Multisite. If you are using WordPress MultiSite and want to use gallery functions say embeding media from gallery, available on other blogs of the network, then Network Activate it, If you only want gallery functions on main site, just activate it. In case of Single WordPress, just activate It.
  11. Now is the time to Migrate the older settings and update media table for the new bp-gallery. Please download the migrator plugin from here and activate it, then simply deactivate it. It will migrate your settings and fix the media table for new gallery.
  12. Once you are done with gallery migrator, Go to Dashboard->BuddyPress->Gallery Settings and enable disable the settings and update the image sizes if you want.
  13. Ok, so you are done now. Please make sure to logout first. Then login(It is required for the first time activation of gallery only, we need auth cookie for flash based upload) and then try creating gallery/uploading media.
  14. Got a trouble, please let us know here https://buddydev.com/forums, we are always here to help 🙂

Faq:-

1. I have activated the plugin but  clicking on gallery link redirects me to site home page:-

If it is happening, the most important thing to check is check your current activate theme directory. Is "gallery" directory present there? Had you moved the "gallery" directory to your current active theme. Most probably not, Please move it now.

2. I can see the upload screen but nothing gets uploaded, Upload progresses but It says, you don't have anything in the gallery?

Most probably, you forgot to logout after activating gallery.Please logout once, login and try again. It should work.

I am just reminding you again.

Please Logout from your wp-admin(This is important to logout /login after first time activation, to allow uploading from front page, we need auth cookie to fix the flash uploading causing trouble with cookies)  after the first time activation and then login again.

Happy Social networking and Media Sharing.