=== PCIO VIS Gallery ===
Contributors:      pcio
Author:            PCIO
Author URI:        https://www.pcio.dk
Plugin URI:        https://www.pcio.dk/vis-plugins
Tags:              gallery, photos, events, media, images
Requires at least: 6.2
Tested up to:      7.1
Requires PHP:      8.1
Requires Plugins:  pcio-vis-member-event
Stable tag:        1.1.0
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Adds event-linked photo galleries to PCIO VIS Member Event, using standard WordPress Media Library attachments.

== Description ==

PCIO VIS Gallery is an extension for the PCIO VIS Member Event plugin. It adds event-linked photo galleries. Galleries store images as standard WordPress Media Library attachments and can be embedded with the `[pcio_me_gallery id="N"]` shortcode or browsed at `/vis/galleries/`.

This plugin requires the PCIO VIS Member Event core plugin to be installed and active.

== Installation ==

1. Install and activate the **PCIO VIS Member Event** core plugin first.
2. Upload the `pcio-vis-gallery` directory to `/wp-content/plugins/`.
3. Activate the plugin in **Plugins** in the WordPress admin.
4. Create galleries under the **Vis** admin menu and embed them with `[pcio_me_gallery id="N"]`.

== Frequently Asked Questions ==

= Where are the images stored? =
As standard WordPress Media Library attachments.

= How do I show a gallery on a page? =
Use the `[pcio_me_gallery id="N"]` shortcode, or browse all galleries at `/vis/galleries/`.


== Screenshots ==

1. VIS Manage galleries 


== Upgrade Notice ==

= 1.1.0 =
Requires PCIO VIS Member Event 1.6 or later.

== Changelog ==

= 1.1.0 =
* Added: **Change history with undo** — all writes to Vis tables are logged in the new `me_change_history` table, with undo data in `me_change_undo`. A new **Vis → History** admin page lists every change with filters and an Undo button, guarded by the new `vis_undo_changes` capability (granted to System Admin).

= 1.0.0 =
* Gallery managers open the management page from the Vis navigation; a View galleries button opens the gallery listing. View-only users retain direct access to the listing.
* Initial release.
