=== BuddyPress Default Data ===
Contributors: slaFFik
Tags: buddypress, import, groups, messages, users
Requires at least: 4.4
Tested up to: 6.7
Stable tag: 1.4.0
Requires PHP: 5.3
License: GNU General Public License v2.0 or later

Plugin will create lots of users, messages, friends connections, groups, topics, activity items, profile data - useful for testing purpose.

== Description ==

Plugin will create lots of users, messages, friends connections, groups, topics, activity items, profile data - useful for testing purpose.

All imported users will have avatars, generated by 8biticon.com and displayed by Gravatar.

Please use this plugin with caution and not on a live site! Again, USE FOR TESTING THEMES AND PLUGINGS, NOT ON A STAGING SITE WITH LIVE DATA. Plugin should not mess with your live data, but not guaranteed.

Clear BuddyPress button will delete all data, that was generated by this plugin: messages, groups, notifications, friends, forum posts, xprofile. Plugin won't reimport data if clicked twice.

And turn off email notifications in profile (friendship accepted and messages received) - or you will spam yourself :) Imported users have these settings already turned off.

== Installation ==

= Admin Installer via search =
1. Visit the Add New plugin screen and search for "buddypress default data".
2. Click the "Install Now" button.
3. Activate the plugin.
4. Navigate to the "Tools > BP Default Data" (if WP) or "Network Admin > Settings > BP Default Data" (if WPMS) menu.

= Admin Installer via zip =
1. Visit the Add New plugin screen and click the "Upload Plugin" button.
2. Click the "Browse..." button and select zip file from your computer.
3. Click "Install Now" button.
4. Once done uploading, activate BuddyPress Default Data.
5. Navigate to the "Tools > BP Default Data" (if WP) or "Network Admin > Settings > BP Default Data" (if WPMS) menu.

= Manual =
1. Upload the BuddyPress Default Data plugin folder to the plugins directory in your WordPress installation.
2. Activate the plugin.
3. Navigate to the "Tools > BP Default Data" (if WP) or "Network Admin > Settings > BP Default Data" (if WPMS) menu.

That's it!

== Screenshots ==

1. Admin Page with Import Status.
2. Activity feed with imported personal and group messages.
3. User profile with filled-in xProfile fields.
4. List of messages between generated users.
5. List of generated groups with descriptions, members and activity.
6. List of generated users with their last activity dates.

== Changelog ==

= 1.4.0 (30.11.2024) =
* Checked compatibility with WordPress 6.7.
* Checked compatibility with BuddyPress 14.x.
* Removed requirements library, plugin now uses built-in WordPress functionality. Now the plugin loads less code.
* Fixed "headers already sent" error when importing messages.

= 1.3.1 (25.09.2020) =
* Checked compatibility with BuddyPress 6.x.
* Removed usage tracking.

= 1.3.0 (29.03.2020) =
* Checked and fixed compatibility with BuddyPress 5.x.
* Fixed several PHP catchable fatal errors, warnings and notices in importing logic.
* Added optional (off by default) usage tracking option. All the details are in plugin admin area.

= 1.2.0 (17.05.2017) =
* Smarter data deletion - delete only IMPORTED data, and not everything
* Save, what was already imported, and prevent data duplication (re-run won't re-import data)
* Use <a href="https://github.com/bemailr/wp-requirements">bemailr/wp-requirements</a> to activate the plugin only when it's done on supported WP/BP versions
* Better code structure, easier to work with for future improvements (more to come)
* Improved labels for better readability
* Add "Import Data" quick link for BPDD plugin on Plugins page
* Improved plugin installation instructions
* More clear text what will be deleted
* Lots of other minor improvements everywhere

= 1.1.2 (19.04.2017) =
* Better active components check - no more failing if (for example) xProfile is disabled
* Fixed dates problem - now all dates are randomized in activity stream
* Fixed several notices and warnings that were generated under certain circumstances
* Better translation support
* Turned off certain emails for imported users
* Better code logic in various places, and code comments

= 1.1.1 (19.07.2015) =
* Adding Composer support

= 1.1 (20.01.2015) =
* Import xProfile fields structure with all possible default types of fields
* Import appropriate data for each user for each field type

= 1.0.6 (04.01.2015) =
* Latest WordPress and BuddyPress compatibility checks
* Import first/last names correctly

= 1.0.5 (17.08.2014) =
* Latest WordPress and BuddyPress compatibility checks
* Fixed some strict PHP notices

= 1.0.4 (03.04.2014) =
* BuddyPress 2.0 support `last_activity` speed improvement
* Fixed a notice

= 1.0.3 (09.04.2013) =
* Now all imported users have avatar

= 1.0.2 (08.04.2013) =
* Fixed import errors

= 1.0.1 (15.12.2012) =
* WordPress 3.5 compatibility
* Fixed admin menu (not worked on WPMS under Tools)

= 1.0 (all props to Paul Gibbs aka @pgibbs) =
* Updates and fixes for the latest version of BuddyPress.
* Fixes an issue with friend requests being incorrectly generated.

= 0.8 =
* 0.6 + personal (0.1) and groups (0.1) activities = 0.8

= 0.6 =
* 0.5 + friends connection between imported users (0.1) = 0.6
* Released for Paul Gibbs (@pgibbs) :)

= 0.5.1 =
* Fixing some compatibility issues
* better support of forums (check whether they are activated properly or not)

= 0.5 =
* 0.4 + groups members import (0.1) = 0.5

= 0.4 =
* 0.3 + messages import (0.1) = 0.4

= 0.3 =
* Initial release: admin page (0.1) + users import (0.1) + groups import (0.1) = 0.3
