An auto-moderation toolkit for your LaraClassifier / JobClass site. It scans every listing for scam wording and copied pictures, gives each listing and each seller a risk score you can read and explain, and hands your moderators a review queue with shadow-ban.
Duplicate Pictures
Every listing picture is fingerprinted and compared with the others, so a picture taken from another seller's listing is spotted even after it was resized or recompressed.
Scam Rules
Keyword lists and patterns (regular expressions) checked against the title, the description and the contact details. A starter set of 27 rules is installed with the add-on, including scams common on African classifieds, in English and French.
Risk Scores
A score from 0 to 100 per listing and per user. Each score keeps the list of its reasons with their points, so a moderator always sees why a listing was flagged.
Review Queue & Shadow-ban
Flagged listings are queued, riskiest first. A moderator approves, deletes, or shadow-bans a listing or a seller: the owner still sees their listings, nobody else does.
How It Works
- Scan. A listing is scanned when it is posted, when its text changes, and when one of its pictures is added, replaced or removed. The scan runs on your queue connection (inline when the connection is
sync). - Score. The scan adds the points of every matching rule, the points of the duplicate pictures it found, and a share of the seller's own score. The total is capped at 100.
- Decide. The score is compared with two thresholds:
- under the review threshold (40 by default), the listing is Clean and nothing happens;
- from the review threshold, it enters the Review Queue as To review and stays public;
- from the hide threshold (75 by default), or when a rule set to hide matches, it is also hidden from the public until a moderator decides.
- Review. A moderator opens the listing's review page, reads the reasons, and approves, shadow-bans or deletes it, or shadow-bans the seller.
| Status | Meaning |
|---|---|
| Clean | Scored under the review threshold. Not shown in the queue unless you filter on this status. |
| To review | Scored at or above the review threshold, waiting for a moderator. Public, unless it carries the Hidden badge. |
| Approved | Cleared by a moderator. The decision holds until the listing's text or pictures change; the listing is then scored afresh. |
| Shadow-banned | Hidden from the public by a moderator. The decision holds even if the owner edits the listing: only a moderator can restore it. |
Requirements
- LaraClassifier / JobClass v19.1.16 or later
- PHP 8.3+
- MySQL 8.0+ or MariaDB
- The GD or Imagick PHP extension, to compare pictures (the rules, scores, queue and shadow-ban work without it)
Installation
Step 1: Upload the add-on
Go to Admin panel → Extensions → Add-ons, click Upload add-on and drop the add-on's .zip file into the upload area (50 MB maximum).
The archive is extracted into extensions/addons/trustsafety/ and Trust & Safety appears in the list, deactivated.
extensions/addons/trustsafety/ over FTP or SSH: its addon.json file must sit directly inside that folder.
Then open Admin panel → Extensions → Add-ons. The page scans extensions/addons/ every time it loads, so the add-on is listed straight away (the Sync button runs the same scan on demand).
Step 2: Activate the add-on
Click Activate on the Trust & Safety card. It is a paid add-on, so a dialog asks for its purchase code, which is verified before anything else happens: an invalid code is rejected in the dialog and nothing is changed.
Once the code is accepted, activation runs in one pass: it creates the add-on's database tables (its migrations), registers its permissions, runs its seeders and publishes its public assets. Reload the page to see its new entry in the Add-ons section of the admin sidebar.
Step 3: Configure
Open Admin panel → Trust & Safety from the Add-ons section of the sidebar and set the add-on up: see First Steps.
Purchase Code (License Key)
Trust & Safety is sold as a separate product, so it has its own purchase code (license key), distinct from the purchase code of the main application and from the one of every other add-on. You are asked for it when you activate Trust & Safety in Admin panel → Extensions → Add-ons.
Our products are sold on three platforms. The way you receive a purchase code depends on where you bought the product.
| Platform / Marketplace | How you get the purchase code | Where to find it again |
|---|---|---|
| bedigit.com Store In-site purchase (Shop) |
Generated automatically when the order is paid, then sent by email, either in its own license email, or inside the order confirmation email. | My Account → My Licenses on bedigit.com |
| Gumroad | Created as soon as Gumroad notifies us of the sale, then sent in a separate email, in addition to the Gumroad receipt. | The license email, your Gumroad Library, and My Account → My Licenses on bedigit.com |
| Envato Market CodeCanyon |
Issued by Envato, not by us, and never sent by email: you download it yourself from your Envato account. | Envato account → Downloads → License certificate & purchase code |
1. bedigit.com Store (in-site purchase)
- As soon as the order’s payment status becomes Paid, a license key is generated automatically for every licensed item in the order (one key per purchased unit: buying 3 units gives 3 distinct keys).
- It is emailed to the address used on the order, either in a dedicated license email or inside the order confirmation email. Check your inbox and your spam / junk folder.
- The key stays available in your account under My Account → My Licenses. Keys are masked in the list; open the license detail page to reveal and copy the full key, see the domains it is activated on, and deactivate a domain to free an activation slot.
- The matching invoice is under My Account → My Orders.
2. Gumroad
- A Gumroad purchase produces two separate emails: the Gumroad receipt (sent by Gumroad, giving access to the files) and a license key email (sent by bedigit.com) that contains your purchase code.
- The license key email is generated as soon as Gumroad notifies us of the sale, so it normally arrives within seconds of the payment. Here too, check your inbox and your spam / junk folder.
- When the Gumroad product uses Gumroad’s own license-key feature, the same key also appears in your Gumroad receipt and under Library → your purchase on gumroad.com.
- Use the same email address on bedigit.com as on Gumroad: your keys are then linked to your account automatically and listed under My Account → My Licenses, even if you register after the purchase. You can also add a Gumroad key manually from My Account → My Gumroad Licenses.
3. Envato Market (CodeCanyon)
- Envato purchase codes are issued and delivered by Envato Market, never emailed by us, so there is nothing to look for in your spam folder: you retrieve the code from your Envato account.
- Log in to your Envato / CodeCanyon account, open the Downloads page, find the item, and choose License certificate & purchase code from the Download dropdown. The code is written in that certificate.
- An Envato purchase code looks like
12345678-90ab-cdef-1234-567890abcdef(8-4-4-4-12 characters). It never changes, and renewing item support does not issue a new one. - Official Envato article: Where Is My Purchase Code?
First Steps
- Scan your existing listings. Only new and edited listings are scanned automatically. Run
php artisan trustsafety:scanon the server once to fingerprint the pictures and score the listings posted before the activation (see CLI & Scheduling). - Read the starter rules. Open Trust & Safety → Rules. The 27 default rules are written in English and French: add your own for the other languages your sellers write in.
- Check the thresholds. Automatic hiding is on by default from a score of 75. If you prefer that nothing is hidden without a moderator, set the hide threshold to 0 in Trust & Safety → Settings → Thresholds.
- Give your moderators access. Grant the permissions of the add-on to the roles that moderate listings.
Admin: Review Queue
Navigate to Admin panel → Trust & Safety → Review Queue. The page opens on the listings that still need a decision, riskiest first.
Overview Cards
Four counters sit above the list, each one a shortcut to the matching filter: listings to review, high risk listings to review, hidden listings, and shadow-banned users (which opens the Users at Risk page).
Filters
| Filter | Description |
|---|---|
| Search | Listing title, listing ID, or the seller's name or email. |
| Status | To review (default), Approved, Shadow-banned, Clean, or all statuses. |
| Risk level | High (from the hide threshold), Medium (from the review threshold) or Low. |
| Reason | Listings flagged by a keyword or pattern rule, by duplicate pictures, or because of a risky seller. |
| Visibility | Only the listings currently hidden from the public. |
Listing Table
| Column | Description |
|---|---|
| Listing | Thumbnail, title (a link to the review page) and ID. A Hidden badge shows when the listing is hidden from the public; its tooltip says whether it was hidden automatically or by a moderator. |
| Seller | The seller's name with their own risk score, and a badge when the seller is shadow-banned. Guest for a listing posted without an account. |
| Score | The listing's score, colored by level (green, amber, red). Sortable. |
| Reasons | The first three reasons behind the score, each with its points. |
| Status | See How It Works. Sortable. |
| Scanned | When the listing was last scanned. Sortable. |
| Actions | Review (opens the review page), Approve and Shadow-ban. |
Bulk Decisions
Tick the listings (or the header checkbox for the whole page), then click Approve selected or Shadow-ban selected above the table. Up to 200 listings are processed per click, and each decision is written to the moderation history.
Admin: Listing Review
Click a listing's title, or its Review button, in the queue. The page shows everything a moderator needs to decide:
- The listing: title, score, status, whether it is currently visible to the public, its pictures and its description (shown as plain text).
- Why this score: every reason with its points. For a rule, the part of the listing it matched in and the matched text; for duplicate pictures, the IDs of the other listings.
- Pictures also used in other listings: each matching pair side by side (this listing on the left, the other one on the right), with the similarity, whether it is the same seller or another one, and which listing was posted first.
- Seller: the seller's risk score with its own reasons, and how long they have been a member.
- Other listings of this seller, riskiest first.
- Moderation history: every decision taken on the listing or on its seller, by whom, with the note.
Decisions
| Button | Effect |
|---|---|
| Approve / Restore to public view | Clears the listing and makes it public again if it was hidden. It leaves the queue until its text or pictures change. |
| Shadow-ban listing | Hides the listing from everyone but its owner. See Shadow-ban. |
| Shadow-ban seller / Release seller | Hides, or shows again, every listing of the seller, present and future, and screens their messages. Staff accounts cannot be shadow-banned. |
| Scan again | Runs the scan now, for instance after you changed a rule. |
| Delete listing | Deletes the listing for good, with its pictures, exactly like the core's own delete. This cannot be undone. |
The optional Note field is saved with whichever decision you click, and shows in the moderation history.
Admin: Users at Risk
Navigate to Admin panel → Trust & Safety → Users at Risk. Sellers are ranked by risk score. A user appears here once one of their listings raised a signal, or once they were shadow-banned.
- Filters: search (name, email, user ID), risk level, and shadow-ban state.
- Columns: user, score, reasons, listings to review, listings shadow-banned by a moderator, and the shadow-ban state (with whether it was automatic or decided by a moderator).
- Actions: Scanned listings (the queue filtered on this user), User account (the core's user page), and Shadow-ban or Release.
Admin: Rules
Navigate to Admin panel → Trust & Safety → Rules. A rule is a list of keywords or a pattern, with the points it adds to a listing's score when it matches.
Rule Fields
| Field | Description |
|---|---|
| Name | Shown to moderators as the reason, so describe what the rule catches. |
| Type | Keywords: one word or phrase per line. The rule matches when any of them is found as whole words; case, accents, HTML and extra spaces are ignored (Wéstern Union matches western union).Pattern: a regular expression (PCRE) without delimiters, applied to the text in lower case and without accents. An invalid expression is refused when you save. |
| Checked in | Title, Description (in JobClass, also the company description), Contact details and tags (contact name, address, tags; in JobClass, also the company name and the application URL). Leave everything unticked to check the whole listing. |
| Points | 1 to 100, added once per listing however many times the rule matches. |
| When it matches | Add the points, or Add the points and hide the listing until reviewed, whatever the total score. Keep the second for content you never want public unreviewed. |
| Active | An inactive rule is ignored by the scans. The switch is also in the list. |
The list shows, for each rule, how many listings it hit and when it last did. A change to a rule applies to the listings scanned from then on: use Scan again on a listing, or php artisan trustsafety:scan, to apply it to listings already scanned.
Try a Text
Paste a title or a description in the Try a text box and click Test: the active rules it triggers are listed with their points and the matched text. Nothing is saved, so this is the safe way to check a new keyword list or pattern before relying on it.
Default Rules
| Rule | Type | Points |
|---|---|---|
| Advance payment and money transfer services | Keywords | 35 |
| Gift cards and cryptocurrency payment | Keywords | 35 |
| Shipping agent and absent seller stories | Keywords | 40 |
| Fees asked from applicants or buyers | Keywords | 30 |
| Too good to be true promises | Keywords | 25 |
| Forged documents and illegal goods | Keywords | 70, hides the listing |
| Replicas and counterfeit goods | Keywords | 20 |
| Contact moved to a messaging app | Pattern | 20 |
| Link shorteners | Pattern | 30 |
| External links in the text | Pattern | 15 |
| Email address written in the text | Pattern | 15 |
| Phone number disguised with separators | Pattern | 15 |
| Shouting punctuation | Pattern | 10 |
| Magic wallets and other money-making objects | Pattern | 50 |
| Money rituals, spells and occult wealth | Keywords | 45 |
| Vodoun, marabouts and spiritual healers | Keywords | 30 |
| Spiritual titles (weak signal on its own) | Keywords | 10 |
| Betting brands | Pattern | 20 |
| Fixed matches and sure betting tips | Keywords | 40 |
| Inheritance, lottery and advance-fee stories | Keywords | 45 |
| Loans between individuals | Keywords | 35 |
| Sugar mummy, hookup and connection agents | Keywords | 40 |
| Guaranteed visas and jobs abroad | Keywords | 25 |
| Get-rich schemes and recruitment networks | Keywords | 30 |
| Account hacking and carding offers | Keywords | 50 |
| Payment asked before delivery (French) | Pattern | 30 |
| Fees or deposit asked by mobile money | Pattern | 25 |
The last fourteen target scams common on West and Central African classifieds, in French and English: magic wallets (portefeuille magique, bédou magique), money rituals, marabouts and spiritual masters, betting codes and fixed matches, inheritance stories, loans between individuals, sugar mummy agents, guaranteed visas, and fees asked by mobile money. Vodoun is a recognized religion: that rule is a moderate signal (30 points, under the review threshold on its own) aimed at paid "spiritual work" adverts, and the rule on the bare titles maître and dah only adds 10 points, since both words also have ordinary uses (maître nageur, a surname). Switch off the rules that do not fit your market.
They are ordinary rules: edit, switch off or delete them freely. Restore default rules adds back the ones you deleted (matched by name) and leaves the existing rules as they are.
Admin: Settings
Navigate to Admin panel → Trust & Safety → Settings. The settings are grouped in four tabs.
General
| Setting | Default | Description |
|---|---|---|
| Enable Trust & Safety | On | Master switch. When off, nothing is scanned and every shadow-banned listing is public again; the decisions are kept and apply again when you switch it back on. |
| Approve clean listings automatically | Off | Only matters when the core option that makes listings wait for an admin's approval is on: listings scored under the review threshold are then published at once, and only the others wait for you. |
| Screen the messages of shadow-banned users | On | See Message screening. |
| Moderation history retention | 365 days | Older history entries are deleted daily. 0 keeps them forever. |
Duplicate Pictures
| Setting | Default | Description |
|---|---|---|
| Compare listing pictures | On | Fingerprints the pictures and looks for the same image in other listings. |
| Tolerance | 6 bits | How different two pictures may be and still count as the same image, from 0 (identical only) to 16. Above 10, unrelated pictures start to match. |
| Pictures copied from another seller | 45 points | Added when a picture already appears in an older listing of someone else, plus 5 points per additional listing (15 at most). |
| Pictures reused by the same seller | 15 points | Added when a picture already appears in another online listing of the same seller. |
Thresholds
| Setting | Default | Description |
|---|---|---|
| Review threshold | 40 | A listing scored at or above this value enters the review queue. It stays public. |
| Hide threshold | 75 | A listing scored at or above this value is hidden from the public until a moderator decides. Must be above the review threshold; 0 never hides automatically. |
| Automatic shadow-ban of users | 0 (off) | A user whose own score reaches this value is shadow-banned without waiting for a moderator. |
Seller Score
| Setting | Default | Description |
|---|---|---|
| Seller score carried to listings | 30% | Share of the seller's score added to each of their listings. |
| Posting burst limit | 10 listings | More new listings than this in 24 hours raises the seller's score. 0 disables the check. |
Risk Scores
Listing Score
A listing's score is the sum of three parts, capped at 100:
- the points of every rule that matches its text;
- the points of its duplicate pictures (copied from another seller, reused by the same seller);
- a share of the seller's score (30% by default), computed without counting this listing so a listing never inflates itself.
User Score
| Reason | Points |
|---|---|
| Risky listings | 60% of the average content score (rules and pictures) of their 3 riskiest listings |
| Listings shadow-banned by a moderator | 25 per listing, 60 at most |
| Posting burst | 15 when they post more than the limit in 24 hours |
| Registered from the IP of a shadow-banned user | 20 |
| New account | 10 under 24 hours, 5 under 7 days, and only on top of another reason |
| Established seller with a clean record | Minus 10 for an account over 90 days old with at least 3 clean or approved listings and none shadow-banned |
A user's score is refreshed each time one of their listings is scanned or decided on.
Duplicate Pictures
Each picture is reduced to a 64-bit fingerprint that describes its content rather than its file. Two fingerprints a few bits apart are the same image: a copy that was resized, recompressed, saved in another format or lightly retouched is still recognized.
- A copy is only held against the newer listing. The older listing is presumably the original, so its score does not change; the pair still shows on both review pages.
- Same seller or another seller. Two listings belong to the same seller when they share the same account or, for guest listings, the same contact email or phone. Reusing one's own pictures weighs much less than copying someone else's, and reposting an archived listing of one's own does not count at all.
- Blank pictures are skipped. A flat or nearly flat image (plain background, placeholder) is never compared, since such images all look alike.
Shadow-ban
A shadow-ban hides content without telling its author, so a scammer does not simply open a new account the next minute.
| The owner (logged in) | Everyone else | |
|---|---|---|
| My listings (account area, mobile app) | Listed as online | Not applicable |
| The listing's own page | Opens normally | Not found |
| Search, categories, home page sections, similar listings, feeds, alerts, sitemap | Not listed | Not listed |
- A listing is shadow-banned by a moderator, or hidden automatically from the hide threshold (it then waits for a moderator's decision).
- A user is shadow-banned by a moderator, or automatically when you set the matching threshold. All their listings are hidden, including the ones they post afterwards. Releasing the user shows them again, except the listings shadow-banned one by one.
- The Admin panel always shows everything.
- A visibility change clears the cached listing pages, so it shows on the site at once.
Message Screening
With Screen the messages of shadow-banned users on (the default), the messages a user sends while shadow-banned are handled the same quiet way as their listings:
- the sender sees the message in the conversation, as sent;
- the recipient does not: the message stays out of the conversation, a conversation the sender started stays out of the recipient's inbox, and the unread counter does not move;
- no email, SMS or push notification is sent for it.
- a message sent from the contact form without logging in, but with the email address or the phone number of a shadow-banned user, is screened too: its conversation stays out of the recipient's inbox and is not notified.
Messages exchanged before the shadow-ban stay visible to both sides. Releasing the user makes the screened messages appear in the recipients' conversations; no notification is sent for them afterwards. The Admin panel always shows every message.
Permissions
The add-on's permissions are created on activation and granted to the admin role. Grant them to your moderators' roles in Admin panel → Roles.
| Permission | Allows |
|---|---|
admin.trustsafety.view |
Opening the Review Queue, the listing review pages and the Users at Risk page. |
admin.trustsafety.moderate |
Approving, shadow-banning, deleting and rescanning listings; shadow-banning and releasing users. |
admin.trustsafety-rule.view |
Opening the Rules page and using the text tester. |
admin.trustsafety-rule.edit |
Adding, editing and switching rules, and restoring the default ones. |
admin.trustsafety-rule.delete |
Deleting rules. |
admin.setting.view / admin.setting.edit |
Opening and saving the add-on's Settings page (the core's own settings permissions). |
CLI & Scheduling
| Command | Schedule | Purpose |
|---|---|---|
trustsafety:scan[--days=N] [--listing=ID] |
Manual | Scans the existing listings, oldest first (so originals are fingerprinted before their copies). --days=30 limits the scan to the listings created in the last 30 days; --listing=123 scans a single listing. Safe to run again: decisions already taken by moderators are kept. |
trustsafety:prune |
Daily at 00:00 | Removes the add-on's data about listings and users that no longer exist, and the moderation history older than the retention period. |
Expect roughly a tenth of a second per listing for trustsafety:scan, depending on the number and size of the pictures and on your storage (remote disks are slower). The daily task only fires if the LaraClassifier / JobClass cron job (* * * * * cd /path-to-your-site && php artisan schedule:run >> /dev/null 2>&1) is set up on your server. Confirm it is registered with php artisan schedule:list.
Queue. The automatic scans are pushed onto your queue connection. With the sync connection they run during the request that saves the listing or the picture; with a real queue (database, Redis), a worker must be running, otherwise new listings are not scanned.
Translations
The Admin panel screens of the add-on are translated into 18 languages: Arabic, Bengali, Chinese, English, French, Georgian, German, Hebrew, Hindi, Italian, Japanese, Portuguese, Romanian, Russian, Spanish, Thai, Turkish and Ukrainian. The files are in extensions/addons/trustsafety/resources/lang/<locale>/messages.php.
The add-on shows nothing on the front-end, so there is nothing to translate for your visitors. The default rules, on the other hand, are English and French keywords: add your own rules for the other languages your sellers write in.
Updating
An update only replaces the add-on's files. Its database tables and data, its settings, its activation state and its recorded purchase code are all kept, so do not deactivate or remove the add-on before updating it. Back up your database first all the same.
Method 1: Upload the new version (recommended)
- Download the latest
.zipfile of the add-on. - Go to Admin panel → Extensions → Add-ons and click Upload add-on.
- Drop the
.zipfile into the upload area. - Because Trust & Safety is already installed, a prompt shows the installed version and the new one. Click Replace: the
extensions/addons/trustsafety/folder is swapped for the new files. Cancelling the prompt discards the upload.
Method 2: Replace the files by hand
- Over FTP or SSH, delete the
extensions/addons/trustsafety/folder and upload the new one in its place. Replace the whole folder rather than copying over it, so files dropped by the new version do not linger. - Open Admin panel → Extensions → Add-ons: the page re-reads
addon.jsonand the card shows the new version number.
After the files are replaced
New database tables or columns. When a new version adds some, create them by running php artisan migrate --force over SSH, or without SSH by clicking Deactivate then Activate on the add-on's card: activation runs every pending migration (and asks for the purchase code again). Your data is not touched either way.
If your installation caches its configuration or routes (php artisan config:cache, route:cache), run php artisan optimize:clear after the update.
Uninstallation
Switching an add-on off without losing anything is a deactivation: go to Admin panel → Extensions → Add-ons, click Deactivate on the Trust & Safety card and confirm.
- The add-on is no longer loaded: its routes, views, admin sidebar entry and front-end pages stop answering.
- Its database tables and all the data they hold are kept, and its files stay under
extensions/addons/trustsafety/. Nothing is deleted. - Its permissions and its recorded purchase code stay in the database. Only Remove deletes them.
- Deactivation is refused while another active add-on depends on this one: deactivate that add-on first.
Click Activate on the same card to switch it back on. As for a first activation, the purchase code is asked for and verified again; then any pending migrations run, the assets are republished, and the add-on picks up exactly where it left off.
Removing
Removing is permanent and destroys the add-on's data. The Remove button only appears on a deactivated add-on, so removal is always two steps:
- Deactivate Trust & Safety (see Uninstallation).
- Click Remove on its card and confirm the prompt.
The admin panel then, in one pass:
- runs the add-on's uninstall hook, if it ships one, while its code is still on disk;
- revokes the permissions declared in its
addon.json; - rolls back its migrations (this drops its database tables and every row they hold) and purges its entries from the
migrationstable, so a later reinstall migrates from scratch; - deletes its published assets:
public/addons/trustsafety/,public/vendor/trustsafety/andstorage/app/public/addons/trustsafety/; - deletes the add-on directory
extensions/addons/trustsafety/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
Removal is refused, with an explanatory message and before anything is destroyed, when the add-on is still active, when another active add-on depends on it, or when the web server (PHP) user cannot delete extensions/addons/trustsafety/. In that last case, give that user write permission on the directory and on its parent, then try again.
Deleting the folder over FTP or SSH is not equivalent: the add-on is only switched off, and its tables, its entries in the migrations table and its addons row are all left behind. Use Remove in the admin panel instead.
Troubleshooting
New listings are not scanned
- Check that Enable Trust & Safety is on in the add-on's settings.
- If your queue connection is not
sync, a queue worker must be running (php artisan queue:work): the scans wait in the queue otherwise. - Run
php artisan trustsafety:scan --listing=IDfor one listing: an error printed there (or instorage/logs) tells you what fails.
Listings posted before the activation have no score
That is expected: run php artisan trustsafety:scan once (see CLI & Scheduling).
No duplicate picture is ever found
- The Settings page shows a warning in the Duplicate pictures tab when neither GD nor Imagick is available: install one of them.
- Check that Compare listing pictures is on, and that the tolerance is not 0 (identical fingerprints only).
- Both listings must have been scanned: a copy is found by comparing with the fingerprints already stored.
- Cropped, rotated or mirrored copies are not recognized (see Duplicate Pictures).
- On JobClass, listings have no pictures to compare.
Too many listings are flagged or hidden
- Open a few of them and read Why this score: the rule or reason that comes back most often is the one to tune.
- Lower that rule's points, narrow its keywords, or switch it off; lower the duplicate picture points if your sellers legitimately share pictures (dealers using the manufacturer's photos).
- Raise the review threshold, or set the hide threshold to 0 so that nothing is hidden without a moderator.
- Lower the tolerance if unrelated pictures are matched.
A shadow-banned listing still shows on the site
- You are probably looking at it from the Admin panel, or logged in as its owner: check from a private browser window.
- Check that Enable Trust & Safety is on: when it is off, nothing is hidden.
- If a page cache or CDN sits in front of your site, purge it: the add-on clears the application's own cache only.
An owner noticed that their listing is hidden
The owner sees the listing in their account and on its page, but not in the search results or the categories, exactly like any other visitor. A seller who searches for their own listing will notice. This is inherent to hiding a listing from search without making every search page personal to each visitor.
A rule does not match a text it should
- Paste the text in Try a text on the Rules page: it runs exactly what the scan runs.
- Keyword rules match whole words:
carddoes not matchcards. Add each form on its own line. - Patterns run on the text in lower case and without accents, so write them in lower case, without accents.
- Check which parts of the listing the rule reads (Checked in), and that it is active.
The scan is slow
Fingerprinting reads each picture once from your storage disk; with a remote disk (S3, FTP) that download is most of the time. Later scans of the same listing reuse the stored fingerprints. For a large backlog, run php artisan trustsafety:scan off-peak, or by slices with --days.
The moderation history or the daily cleanup never runs
The cleanup is a scheduled task: it needs the application's cron job. Run php artisan schedule:list to confirm trustsafety:prune is registered, and php artisan trustsafety:prune to run it by hand.
Trust & Safety v1.0.0 · LaraClassifier / JobClass Add-on · by BeDigit