| 开发者 | siaccslv |
|---|---|
| 更新时间 | 2026年12月4日 18:05 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
spotsend_submitted fires after a report is saved, spotsend_resolved when it is marked resolved, and spotsend_resolve_label has the last word on the resolve button's text. The form sets --raplace-filled and .is-sent for themes that want to show progress.
Yes. The form is protected by a signed timestamp that stays valid for a day, not by a nonce, so cached pages keep working as long as they are refreshed at least daily.
By default, map images come from OpenStreetMap's tile servers and place names from OpenStreetMap's Nominatim. Both are free to use and require no account, but they are run by volunteers on a best-effort basis for light use, and each has a usage policy: tiles, Nominatim. For a busy site, set your own tile server or a commercial tile provider, and a Nominatim-compatible lookup service, under Reports → Settings. Place names are off until you turn them on.
Yes. Add the Resolved Reports Map block to a page: it shows resolved reports that have coordinates, using the map images set under Reports → Settings. A report's popup shows its first photo; turn off "Show photos" on the block to leave the visitors' photos out. With KML Places Map installed, resolved reports can also become places on that map instead. Under Reports → Settings, pick a layer for each category. Resolving a report in that category adds it to the map. A report without coordinates is saved as a draft place and opened for you to set its location.
The message you set under Reports → Settings (or a short thank-you by default), the report number, and your site's name and address. It does not repeat anything the visitor typed. Turn it off there if you do not want to send it.
Three by default. Change it under Reports → Settings → Limits. The server also limits how many files one upload may carry (PHP's max_file_uploads, usually 20) and how large the whole form may be (post_max_size); the form keeps to both and tells the visitor when the photos are too large together.
Into the media library, attached to the report. Deleting the report does not delete its photos, and neither does erasing a visitor's personal data.
No. Phones store the GPS position, the camera and the time inside a photo. The plugin removes them from JPG, PNG and WEBP files before saving, and keeps only the colour profile and which way up the photo is, so the picture itself is unchanged. Photos already attached to reports are cleaned once when the plugin is updated. HEIC photos are not accepted, as their details cannot be removed this way; iPhones convert photos to JPG when they upload them to a form that does not ask for HEIC.