=== TBF Bulk Feedback Manager === Contributors: kimroy-bailey, trottbaileyfamily Tags: bulk feedback, bulk user, buddypress, user generator, avatar manager, bulk comments, bulk edit, slug fixer, test data, review importer, digitize feedback Requires at least: 6.0 Tested up to: 6.6 Stable tag: 9.8 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A robust, multisite-aware toolkit for WordPress administrators to generate rich test data, manage complex communities, and digitize real-world user feedback. == Description == TBF Bulk Feedback Manager is an indispensable toolkit for bridging the gap between the real world and the digital world. It was born from a unique social experiment where our family, the Trott Bailey Family, lived as refugees in a social assistance program in São Paulo, Brazil. While participating in community meetings and filling out paper feedback forms, we realized a critical problem: there was no guarantee that our voices, and the voices of our neighbors, were ever reaching decision-makers. Were they being heard, or just filed away? This question inspired us to create a solution. This plugin is designed to empower organizations—from government agencies to small businesses—to rapidly digitize offline feedback, ensuring that every comment, survey, and real-world interaction is captured, preserved, and made visible. Beyond its origins, the plugin has evolved into a powerful tool for a wide range of users: * **Government Agencies & NGOs:** Digitize field data in real-time. Social workers and field agents can instantly upload comments, survey responses, and feedback from disconnected communities, ensuring transparency and data-driven policy making. * **Hoteliers & Service Businesses:** Migrate your hard-earned reputation. Seamlessly transfer hundreds of reviews from platforms like Booking.com or paper guestbooks to your own website, maintaining your social proof. * **Local Businesses:** Bring your customer stories online. Easily digitize handwritten testimonials and verbal feedback from real-world customers, showcasing authentic experiences on your site. * **Developers & Theme Creators:** Build vibrant, realistic websites. Instantly populate a new theme or site with hundreds of unique users, comments, and reviews to demonstrate its full potential with dynamic, life-like content. **For more details, tutorials, and support, visit the [official plugin homepage](https://trottbaileyfamily.com/tbf-bulk-feedback-manager).** **Core Features Include:** * **Bulk Feedback & User Generator:** Create thousands of users from lists of names or generate them randomly. Each user can have a unique name, gender, and profile picture, making them perfect for representing real individuals or creating test data. * **Bulk Comment & Review Importer:** Post hundreds of unique comments, reviews, or feedback entries as different users across your site. You have full control over the content, the commenter, and the date, allowing for realistic and diverse engagement. * **Privacy-Focused Avatar Manager:** Upload and manage pools of avatars. You can process a user's real image, or if they choose to remain anonymous, the system can randomly assign a generic avatar and pseudonym to protect their identity. * **Advanced Data Management:** * **Name & Gender Editor:** A fast, spreadsheet-style interface for quickly updating user details. * **Username & Slug Manager:** A powerful tool to clean up user data, fix profile URLs, and ensure consistency across your site. * **Action History & Reporting:** A comprehensive log of all major actions performed, with detailed results and downloadable CSV reports for transparency and record-keeping. This plugin is multisite aware and built to be a robust, all-in-one solution for digitizing feedback, managing user data, and setting up realistic test environments. == Installation == 1. Upload the `tbf-bulk-feedback-manager` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Navigate to the "TBF Bulk Manager" menu in your WordPress dashboard to access the tools. == Frequently Asked Questions == = Where are uploaded avatars stored? = Avatars uploaded via the Avatar Manager are stored in a dedicated directory within your WordPress uploads folder (`/wp-content/uploads/tbfbuusm-avatars/`). They are kept separate from the media library for easy management. == Screenshots == 1. The main dashboard view. 2. The Bulk User Generator interface. 3. The Username & Slug Manager results table. == Changelog == = 9.8 = * **Major Bugfix:** Corrected a critical logic error in the main plugin file that prevented the User Generator's JavaScript from loading on the results page, which fixed the non-functional "Go Live" buttons. = 9.7 = * **Bugfix:** Resolved a "No user data found" error by replacing the unreliable PHP Session system with the more stable WordPress Transients API for passing data between the Dry Run and Go Live steps. = 9.6 = * **Bugfix:** Corrected a typo in an admin page hook name that was preventing the User Generator's JavaScript from being loaded correctly. = 9.5 = * **Bugfix:** Rewrote the results formatting function in the User Generator to fix a major logic error that was breaking the "Go Live" buttons and causing the progress bar to be displayed incorrectly. = 9.4 = * **Bugfix:** Corrected a critical logic error in the results formatting function that broke the "Go Live" buttons and progress bar display. = 9.3 = * **Bugfix:** Removed `wp_kses_post()` from the User Generator results page as it was stripping essential HTML attributes and breaking JavaScript functionality. = 9.2 = * **Bugfix:** Added `session_start()` to the "Go Live" handlers for the User Generator to ensure the plan data could be read correctly from the session. = 9.1 = * **Bugfix:** Replaced PHP session usage with WordPress transients in the Comment Generator to improve stability and prevent "No comment data found" errors. = 9.0 = * **Architectural Fix:** Removed global `session_start()` call from the main plugin file to prevent conflicts with server-side caching. Sessions are now initiated only when needed. * **Security Fix:** Refactored all functions to sanitize specific `$_POST` and `$_SESSION` values individually instead of processing the entire superglobal arrays. = 8.9 = * UX Fix: Suppressed the generic PHP `max_file_uploads` warning on the Avatar Manager page, allowing the plugin's custom, user-friendly message to be the only one displayed. = 8.8 = * Feature: Added client-side and server-side warnings to the Avatar Manager to clearly inform users of their server's `max_file_uploads` limit, preventing confusion. = 8.7 = * Security Fix: Correctly passed the security nonce to the Avatar Manager's JavaScript, resolving an "Unknown error" when updating a single user's avatar via AJAX. = 8.6 = * Code Quality: Resolved all "Use wp_enqueue commands" issues from WordPress.org review. Moved all inline `