Skip to content
A
For administrators
Running the administration — content, users, e-shop, invoicing and settings
Classifieds / Module settings

Module settings#

How classifieds behave — listing lengths, validity, approval and confirmation of adverts, location, watchdogs and images. You will find it under Classifieds → Settings.

The page is split into four tabs: General, Behavior, Watchdogs and Images. The General, Behavior and Watchdogs tabs are saved with one shared button below the form, so you save the changes from all three at once. The Images tab has its own Save images button. After saving you stay on the tab you were working on.

General#

Listings#

Setting What it does
Ads per page the listing length on the website
Watchdogs per page how many watchdogs are shown on one page of the logged-in user's list

Ad location#

Setting What it does
Exact address (street and house number) location by the full address, or just by municipality (the map on the detail, the distance in the "within X km" filter) — see Precise address

Image upload#

Setting What it does
Max. image size (MB) the cap for uploaded photos; it applies when the Nahrávač obrázků (image uploader) parameter has no limit of its own — that one takes precedence. A larger image is rejected on upload

Behavior#

Setting What it does
Ad validity period (days) used when the category does not set one — see Validity
Warn before expiry (days ahead) how many days before the end of validity the author gets one reminder e-mail (sent by cron); 0 = do not send. After the validity is extended or renewed, the reminder comes again for the new validity. Enter a whole number from 0 to 365
Delete after expiry (days) after how many days from expiry the record is marked as deleted by itself and disappears from the site (no e-mail is sent); 0 = never. Until then the author can renew it, and the deletion can also be undone with the Deleted switch when editing. Enter a whole number from 0 to 3650
Automatic approval a new record does not wait for you — see Automatic approval
Logged-in users must confirm via the e-mail link on: a logged-in author gets an e-mail with a link after posting and the advert stays hidden until they click it. Off: the advert counts as confirmed at once and the author only gets a notice that it was posted
Guests (not logged in) must confirm via the e-mail link the same for an author who posted without logging in
Collect daily view statistics on: views of the detail and the listing are stored per day; off: only the total is kept and no daily rows are written (saves database space on weaker hosting). The Statistics tab in the advert edit screen on the site appears only while collecting is on

Validity#

The category's validity takes precedence

The value in the settings is only a fallback. The system takes the longest period from the categories the advert belongs to, and only when none of them defines one does it come here. If you set validity per category, nothing here needs changing.

Automatic approval#

The switch decides whether a new advert waits for your approval:

Automatic approval What happens to a new record
on it is published at once, without your involvement — provided it is paid and confirmed
off it waits for approval and is not visible on the site. You publish it in the edit form by ticking Approved

Confirming through the link in an e-mail is a separate matter and this switch does not change it — see Confirmation by email link.

Automatic approval publishes things you would rather it did not

Without approval, adverts appear instantly. On a public marketplace expect advertising, links and offers that do not belong there. Turn it on once you know what is coming in.

Confirmation is the author clicking a link in an e-mail — which proves the advert is theirs and the address is real. It is not the same as approval: you approve, the author confirms. It is set separately for two groups of authors:

Switch Who it concerns
Logged-in users must confirm via the e-mail link authors who post with their account
Guests (not logged in) must confirm via the e-mail link authors who post without logging in

So you can, for example, ask people without an account for the link and not ask account holders. The confirmation link also works without logging in, and clicking it again does no harm. If the advert is still waiting for approval or payment, the site says so after the click.

The setting decides only at the moment of posting

The switches apply to records posted after the change. Records already posted are neither hidden nor published by flipping a switch — an unconfirmed one stays unconfirmed, a confirmed one stays confirmed.

When a advert is visible on the site

When it is paid (if the category is paid), approved and confirmed. If any of these is missing, it is not on the site. After posting, the author is told what it is waiting for.

Precise address#

The switch in the Ad location section (General tab) decides where the location comes from when the record is saved. The default is off.

Precise address Where the location comes from Google Maps
off always the centre of the chosen municipality never called
on from the full address (street, number, postcode, municipality) only the first time for a given address; the result is stored and reused next time

Without a filled-in street the municipality centre is used even when the switch is on. When Google does not find the address, the municipality centre is used too. For the lookup to work the Google Maps card needs a working key, see Maps and address lookup.

Where to see what was not found

When no location arises on saving (the municipality is not in the data, Google does not know the address and the municipality is missing), a line is written to the file log/geocoding-miss.log — the module, the record number, the municipality, the postcode and the reason. The server administrator goes through the file: it is usually a typo in the address.

Watchdogs#

A watchdog is a visitor's saved search: when a record that matches it appears, they get an e-mail.

Setting What it does
Watchdog e-mail sending off — no e-mails · immediately — one e-mail per new record (sent by cron) · daily digest — one e-mail a day with all new records (sent by cron) · legacy mode — behaves like immediately (sent by cron once the record is active)
Max. send attempts how many times a watchdog e-mail is tried before giving up (applies to the cron-based modes); an empty or zero value = 5. Enter a whole number from 1 to 20
Delete processed queue after (days) after how many days sent and cancelled entries of the watchdog e-mail queue are deleted; pending entries are never deleted. An empty or zero value = 90. Enter a whole number from 1 to 3650. The clean-up is done by a daily scheduler job (Watchdog: queue clean-up)

Every mode except off needs a scheduler job running: immediately and the legacy mode need Watchdog: immediate e-mails (classified ads), daily digest needs Watchdog: daily digest (classified ads).

The legacy mode no longer sends on insert

The former “Immediately on insert” mode no longer sends the e-mail right when the record is inserted. The e-mail waits in the queue and the Watchdog: immediate e-mails job sends it once the record is active (approved, confirmed, paid). An unapproved or unpaid record is therefore never announced to watchdogs. Without the job running no e-mails arrive.

The length of the watchdog list is set on the General tab (Watchdogs per page).

Images#

The Images tab: for each usage of an image (advert, category, parameter) you tick the variants of resized copies, give them an alias (the folder name) and choose whether the original is kept. The size and watermark of the individual variants are managed in Settings → Image variants. The tab has its own Save images button.

Changes apply only to newly uploaded images

Files already stored stay as they are.

What the scheduled tasks take care of#

Task What it does How often
Expiry warning emails the advertiser before expiry; an advert without an e-mail address is skipped and marked as notified, so the job does not come back to it daily
Deleting after expiry clears out expired adverts daily
Price recalculation reconciles the denormalised price column every 10–15 min
Count recalculation reconciles the counters on categories every 10–15 min
Sending watchdog e-mails mails out alerts about new adverts every 5–10 min
Watchdog queue clean-up deletes sent and cancelled watchdog queue entries older than the set number of days daily
Search synchronisation propagates changes into search every 10 min

Without the scheduled tasks adverts never expire

They stay in the catalogue forever and the category counts drift away from reality. Nothing reports it — you notice it from the nonsensical numbers on the categories. Check with your administrator that the tasks are running.

Where to go next#

Cookie settings