Linux 软件免费装
Banner图

SpotSend

开发者 siaccslv
更新时间 2026年12月4日 18:05
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

form report map photo upload user submissions

下载

1.0.0

详情介绍:

SpotSend adds two blocks: a form your visitors use to tell you about a place, and a map of the reports you have resolved. Each report is saved in the admin with its photos and coordinates, and emailed to you. It suits any site that collects places from its visitors: You name the categories, the button that closes a report ("Mark as resolved", "Mark as visited") and what a closed report is called. What the plugin does: For developers: 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.

安装:

  1. Install and activate the plugin.
  2. Set the recipient, categories and map service under Reports → Settings.
  3. Add the Report a Place block to a page.

屏幕截图:

  • The rest of the form: photo previews with remove buttons, the visitor's name and email.
  • The map of resolved reports, with a report's photo, category and resolved date.
  • Reports in the admin, with categories, reporter, photos and status.
  • A single report with its photos, contact, a link to the map and the resolve button.
  • Report settings: recipient, categories and category sets, photo limits.

常见问题:

Does it work with page caching?

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.

Which map services does it use, and are they free?

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.

Can resolved reports appear on a map?

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.

What does the confirmation email say?

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.

How many photos can a visitor add?

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.

Where do photos go?

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.

Does a photo reveal where or when it was taken?

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.

更新日志:

1.0.0