Skip to content

Notifications

The addon can send community notifications for GeoDirectory events. Notification toggles work independently of the activity toggles, so you can send a notification without also posting an activity, and the reverse.

Notification Recipient Setting Platform
New Place All members except the author geodir_new_place_notification BuddyPress only
Place Review The listing author and all administrators geodir_review_notification BuddyPress and PeepSo
Marked Favorite Place The listing author geodir_mark_fav_notification BuddyPress and PeepSo

See Configure Settings for where these toggles live.

BuddyPress notifications are registered under the component bp_geodir_loc. Each notification links to the relevant listing (or the review section for reviews), and clicking it marks it as read.

  • Mark as read is ownership-checked. A notification can only be marked read by the member it belongs to, and the request is nonce-verified.
  • New place notifications are batched. Notifying every member on a large site would be slow if done during publishing, so the addon schedules a background job that notifies members in batches (200 per run by default) and re-schedules itself until everyone except the author has been notified. The batch size is filterable; see Hooks and Filters.

The recipient list for review notifications (listing author plus administrators) can be modified with the geodir_review_users_lists filter.

PeepSo notifications are sent to the listing author for favorite and review events (the author is never notified about their own action).

  • Notification links resolve to the listing (favorites) or the review comment (reviews).
  • Clicking a notification marks it as read; the request is nonce-verified.
  • There is no PeepSo “new place” notification. New place notification is a BuddyPress-only setting.
  • Notification behavior is decided when hooks are registered on each request. Changing a toggle takes effect on the next page load, not retroactively.