CRE8Social Sample Data v1.0.38
Author: chrisuk1410
Discord: Cre8 - Creative Graphics | https://discord.gg/8qWYF92CH
Disclaimer: User made plugin. Use at own risk.

INSTALL / UPGRADE
Back up the full database and uploaded media first. Install the ZIP over the
current release. Keep all existing sample-data tracking tables. The package
keeps the same extension identity and preserves the previous ledger.

REMOVE DATA / UNINSTALL
Both buttons use the expanded, ownership-scoped cleanup. It now includes
automatic badge-unlock activity, user-created posts and related stream items,
badge awards/history, point history, comments, reactions, conversations,
followers, memberships, reviews, discussions, and supported albums and photos.
Standard interactions from real accounts on sample communities are also
removable. Real Joomla accounts and unrelated site records are not targets.
The buttons still ask for simple confirmation before irreversible deletion.

NO PROMISE OF UNCONDITIONAL DELETION
Removal can still fail due to a database error, extension hooks, unsupported
attachments, modified accounts, new concurrent records or an unexpected table.
The plugin must not silently wipe unrelated site data. The ledger remains
available after errors for a safe retry. Full hosted MySQL and media cleanup
verification has not been performed. Test on a staging copy first.

OTHER FEATURES
The Update Demo Passwords action has been removed. New accounts use the
shared password CRE8SocialPASS, suitable for private testing only.
Email alerts are suppressed automatically for new demo accounts, and the
companion guard suppresses identifiable queued messages. In-app notifications
are unaffected. This package does not generate new video records.


v1.0.38 live-site removal reliability:
- Remove Data and Uninstall refresh the ownership ledger when resuming a partially completed cleanup, discovering newly added supported interactions on surviving sample content.
- When removal begins, only verified sample Joomla accounts are blocked from *new sign-ins* so they cannot continue creating new posts. Database-backed demo sessions are also invalidated. Other session handlers may retain an existing session, and late additions may still block cleanup.
- The progress total correctly includes new rows found on resume; already deleted rows remain counted as completed.
- No live member account or unrelated data is included in bulk removal. Full database wipes are deliberately not part of this plugin.
- For live websites: BACK UP the database and media, run removal during a quiet period, and confirm results. This release was not run against a hosted Joomla installation.


v1.0.38 removal correction:
- Fixes the Joomla account removal step where a deprecated cached user instance
  can have an empty primary key (reported on tracked user row 995).
- Each demo user is freshly loaded using its tracked numeric ID. The loaded
  identity is checked against that exact user's current username and email.
- Failed or incomplete Joomla deletion keeps that account in the ownership ledger
  so Remove Data can be retried; it never switches to unscoped database deletes.
- Existing partially removed datasets and their ownership tables are preserved
  when upgrading from 1.0.36. Use Refresh Counts and Remove Data to resume.
- Joomla user events and installed third-party hooks may still block deletion;
  in that case the new error text remains explicit rather than bypassing them.


v1.0.38 account deletion repair:
- Fixes actual cause in the community user-delete hook: it tries to delete a
  community profile after the older cleanup already deleted it first.
- New removal order keeps community profiles until Joomla account deletion.
- Partially removed installations where the profile is already missing use
  Joomla's core User Table for that exact verified account, avoiding the
  community plugin hook that crashes on a missing primary key.
- Remaining ledger records stay in place after errors. No unrestricted wipe.
- Backup required; real-site removal remains unverified.
