=== Jeet Sanwal Deadline Notice Board ===
Contributors: jeetsanwal
Tags: notices, deadline, announcement, notice board
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Notices with explicit deadlines, an active list and an archive. Free and ad-free.

== Description ==

Keep admissions notices, application dates and other time-sensitive announcements in a small WordPress notice board. Set a deadline in the site's timezone and put a shortcode on a page. At the deadline the notice is excluded from the active list and included in the archive, without depending on WP-Cron.

* Administrator-only notice editing, notice groups and optional action links.
* Active notices ordered by the nearest deadline; archive ordered by the latest deadline.
* Accessible time labels and pagination, with 1–50 notices per page.
* Formatted text without executing nested shortcodes or third-party content filters.
* With optional installation reports off, no JavaScript, remote services, ads, premium tier or visitor tracking.
* Public CSS loads only when the shortcode is rendered.

Use [jeet_notice_board] for the active list and [jeet_notice_board view="archive"] for the archive. Optional attributes: group="admissions", limit="20", heading="Admissions notices". Different views/groups have independent pagination.

== Installation ==

1. Upload the individual ZIP in Plugins > Add New > Upload Plugin, install and activate.
2. Open Notice Board > Add notice. Enter a title, formatted text and deadline.
3. Publish the notice. Draft, private, password-protected or deadline-free notices are excluded from the public board.
4. Add [jeet_notice_board] to a page, and the archive shortcode on another page.

== Frequently Asked Questions ==

= Is the archive automatic? =
The shortcode compares deadlines with the server's current time on each uncached page render. It does not change the post's publication status. Cached HTML can remain stale until your cache refreshes; set a suitable cache lifetime or exclude notice pages when exact cutoffs matter.

= Which timezone is used? =
The WordPress timezone in Settings > General. A deadline of 17:00 expires at the start of that minute. If the site timezone changes later, the stored instant stays the same and its displayed local time changes. During a daylight-saving clock change, PHP chooses one interpretation of an ambiguous local time; use an unambiguous time outside the clock-change hour.

= Can editors maintain notices? =
Version 1 requires manage_options (normally administrators). There is no public submission form or remote management API.

= Are private documents protected? =
No. Published notice text and its links are public through the board. This is for public announcements. Attachment URLs have their normal WordPress visibility.

= Do action links remain in the archive? =
The dedicated action link is hidden in the archive. Links you include in the notice body remain visible.

= What happens on uninstall? =
Notices, groups and metadata are retained for reinstall. Delete unwanted notices and groups in WordPress before uninstalling. Content revisions do not restore deadline/link metadata. Concurrent deadline edits are checked, but ordinary WordPress revisions handle notice text separately.

== Updating an existing installation ==

Download this plugin's individual ZIP from https://jeetsanwal.in/tools/jeet-deadline-notice-board . Make a normal site backup and try the update on staging first. In WordPress, use Plugins > Add New > Upload Plugin and choose Replace current with uploaded when WordPress detects the existing installation. Keep the same plugin folder; do not uninstall/delete the plugin as an update step. Confirm the displayed version is 1.0.4, then reopen the plugin's normal screen and check one representative workflow described above. Clear relevant page caches if public output remains stale.

Updates are installed manually; a matching Update URI prevents unrelated directory plugins from replacing this package, but does not provide an update service. If replacement fails, check hosting upload limits and write permissions before retrying. To roll back, replace the plugin files with your saved previous ZIP; file replacement alone does not restore database records or deleted files. Use your site backup when data restoration is needed. Read this plugin's retention notes before deliberately uninstalling it.

Author and support: Jeet Sanwal — https://jeetsanwal.in/contact

== Optional installation reports ==

Installation reports are optional and OFF by default. Installing, activating, or using this product does not submit a report. Administrators can choose consent separately for each product under Settings > Jeet Sanwal Reports. All product features remain available with reporting off.

After explicit consent, the client sends the website URL, a random installation ID, product/WordPress/PHP versions, reported state, and an observed activation timestamp when available to https://jeetsanwal.in/api/v1/plugin-reports. While that product is active and consent remains enabled, a daily WordPress cron check-in can update its last-known status. WP-Cron depends on site traffic and hosting; it is not a continuous monitor.

Pause stops future reports without deleting records already shared. Forget requests deletion of the remote installation entry and history, retrying deletion if delivery fails. Records automatically expire after 90 days without a check-in. The plugin does not send page content, files, database exports, administrator email addresses, or raw IP addresses. Server rate limiting keeps a keyed IP hash for up to 24 hours; ordinary hosting access logs are governed separately by the privacy policy.

Review the fields and consent before enabling reporting. Read https://jeetsanwal.in/privacy for the reporting endpoint, retention, and deletion details. Reporting does not authorize remote control, automatic updates, or access to the website.

== Changelog ==

= 1.0.4 =
* Updated the product display name to Jeet Sanwal Deadline Notice Board and retained the Jeet Sanwal author website.
* Added voluntary installation/status reports with per-product consent OFF by default, pause/forget controls, and documented fields and retention.
* Preserved existing identifiers, stored data, permissions, and earlier release history.


= 1.0.3 =
* Added a complete US English installation and update guide; kept documented permissions, limits and manual rollback steps.


= 1.0.2 =
* Clarified the manual replacement, verification and rollback workflow, with direct author support details.
* Rechecked package metadata, source/archive consistency and existing isolated regressions.


= 1.0.1 =
* Serialize deadline saves with ownership-safe atomic locks and check stored fields before leaving a notice published.
* Preserve literal backslashes in link labels, reject unrelated post saves and recheck public notice visibility before output.

= 1.0.0 =
* Initial release: deadline notices, grouped active/archive shortcodes, pagination and administrator editing.
