Skip to content

Configuration

Overview · Installation · Usage · Developer notes · FAQ

Open Add-ons → Manage add-ons → Classifieds Contact & Alerts. Settings are at store level; the contact details of each seller are set by the seller (see Usage).

Setting Default What it does
Enable Yes Master switch. Off: visitors see no buttons, no alerts are sent. Leads, reports, searches and settings are kept.
Show “Message the seller” Yes The message button and form on the product page.
Show phone number on click Yes The masked number and the “Show number” button. Needs a number in the seller’s contact settings or the company profile.
Show WhatsApp link Yes Only for sellers who entered a WhatsApp number.
WhatsApp link After reveal After reveal prints the link together with the phone number after the click, so the number is not in the page source. Always show prints a wa.me link in the page.
Show “Report this listing” Yes The report link and form on the product page.
Saved searches and e-mail alerts Yes The “Save this search” bar on category, search and vendor pages, the account page and the alerts.
Vendors can use the lead inbox Yes Multi-Vendor only. Off: vendors have no inbox or contact settings and their listings show no contact buttons.
Cron command - The line to put in the server’s crontab (see below).
Setting Default What it does
Messages per visitor and hour 5 Per IP address and per e-mail address. The IP address is stored only as a keyed hash.
Messages per visitor and day 20 Per IP address.
“Show number” clicks per visitor and hour 20 Per IP address and per signed-in customer.
Reports per visitor and hour 5 Per IP address.
“Show number” clicks per visitor and day 60 Per IP address and per signed-in customer; opening a listing already revealed today does not count again.
Trusted proxies empty Your own proxy or CDN (addresses or ranges, comma separated). Only requests that come from one of them may carry the visitor address in X-Forwarded-For; for every other request the connection address is used, because a visitor can send any header. IPv6 visitors are grouped by /64.
Minimum seconds to fill a form 3 A form sent faster than this is refused. Forms open for more than two hours are refused too.
Links allowed in a message 2 More links than this and the message is stored as spam; the seller is not e-mailed.
Captcha Pro - Shows whether Captcha Pro is active.

The honeypot (a hidden field that only scripts fill) is always on. When it is filled, the visitor sees “sent” but nothing is stored or e-mailed, so a bot learns nothing.

When Captcha Pro 1.1 or later is active, the three forms (message, report, show number) appear in its Custom forms list: message and report with the full check, show number with the rate limit only. Choose the protection there. The add-on only reads Captcha Pro’s public function and hook; it works without it.

Setting Default What it does
Saved searches per customer 20 Limit per signed-in customer.
Listings in one alert e-mail 12 Further new listings are counted (“and N more”) and linked.
Searches per cron run 200 Due searches are processed oldest first; the rest wait for the next run.
Delete leads after (days) 0 0 keeps leads until you or the seller delete them. A number removes older leads in the cron run. Reveal log rows are removed after 180 days. Reports and their history are kept as moderation records; delete them by hand when your policy says so.

Run the command once an hour (it is safe to run more often):

php /path/to/store/admin.php --dispatch=kv_cal_cron.digest

Options: --limit=N (searches in this run) and --dry (reports what would be sent, changes nothing). The command prints one line, for example kv_contact_alerts digest: due=12 sent=9 empty=3 failed=0 skipped=0 locked=0. It also removes expired rate-limit rows and old reveal rows and applies the retention setting.

A saved search is due 23 hours (daily) or 6 days 23 hours (weekly) after its last run. Each search keeps its own marker, so running the command twice in a row sends nothing twice, and a search with no new listings sends nothing.

Design → E-mail templates lists five templates (names start with “Classifieds”). Edit the subject and text there. They use the store’s header and footer.

The License tab holds the license key and its status. Without a valid license the storefront buttons, the forms and the alerts switch off. Your leads, reports, searches and settings are kept, and the admin pages stay open so you can still read and answer messages.