Changelog: Discourse component

All changes to the affilinode component for Discourse, the latest version at the top.

About the Discourse integration

  1. 0.9.0

    • Security: new setting min_trust_level_for_shortcodes (default 0): below this trust level, shortcodes in posts are not converted, including as placeholders in the composer preview. Team posts are always converted.
    • Security: custom labels in shortcodes (text, title, button, badge) now apply only in team posts. For all others, the box shows its default texts, so that nobody can attach a misleading label to an affiliate link.
    • Changed: links and shortcodes each have their own trust level.
  2. 0.8.0

    • New: price freshness – the setting price_age shows “Price updated 2 hrs ago” per offer (relative, with date, or off).
    • New: with price_max_age (default 24 hours) you hide older prices; instead, the button “View current price” appears. For Amazon at most 24 hours apply; for eBay, 6.
    • New: shortcodes also understand max_age= and price_age= to override the values per box.
  3. 0.7.0

    • New: box “A vs B” under “Further boxes …”: two or three products compared side by side, with a verdict per area drawn only from data-sheet values, “Who should buy which”, prices and frequently asked questions.
    • New: shortcode [affilinode_versus ids=a,b] (also a=… b=…); with faq=0 you hide the frequently asked questions.
    • New: the composer preview shows a placeholder for “A vs B”.
  4. 0.6.0

    • New: box “Back in stock” ([affilinode_stock_alert id=…]): readers enter their email address and receive a single email as soon as the product is available again at a shop other than Amazon (double opt-in, unsubscribe link in every email).
    • New: the notification can also be shown below a product box or product card (stock_alert=1).
    • Changed: the feature is off by default and must be switched on for the website in the affilinode dashboard.
  5. 0.4.0

    • New: box “Coupons” under “Further boxes …” ([affilinode_coupons]) with retailer, type and optionally a product; with a product, only retailers that offer it appear.
    • New: below the product box and product card, up to three coupons from the offering retailers can be shown with coupons=1.
    • New: box “Pack sizes” ([affilinode_packs id=…]): for each size, the cheapest offer with price per unit and saving per unit, with sorting and an option to hide sizes without an offer.
    • New: in the price comparison, the “Pack sizes” setting (packs=tabs) shows a note on the cheaper unit price, or tabs for each pack size.
  6. 0.3.0

    • New: “Further boxes …” in the “Insert product” window offers all other box types of the embed, including product card, several products, price history, device + plans, test rating, “At a glance”, ongoing costs, alternatives, best-of list, product search, product advisor, compatibility check, best in category and price-performance chart.
    • New: depending on the box, the window searches for a product or asks for the necessary details (product type, field, system, list or advisor ID) and shows a preview.
    • New: the text link and single value are inserted by the window directly into the sentence at the cursor; all other boxes as their own paragraph.
    • New: the composer preview shows placeholders for all box types.
  7. 0.2.0

    • New: “Insert product” has a visible button in the composer toolbar (or in the cog menu, setting composer_button). The window shows result cards with image, brand, best price and offers, is keyboard-operable, and shows a live preview.
    • New: display types product box, compact, button, price comparison and comparison (2 to 6 products); the shortcode stands as its own paragraph in the post.
    • New: in the composer preview, shortcodes and product links appear as placeholders instead of real boxes.
    • New: with theme=auto (now the default), the boxes take over the colours of your forum and follow its light or dark design.
    • New: notices for the team only (can be hidden for 7 days) when something is wrong: no key entered, key rejected, domain not approved, plan without context box, or too many requests.
    • New: texts and settings are grouped and available in German and English.
  8. 0.1.0

    • New: first version of the theme component for Discourse from 3.4: supported product links in posts (Amazon, eBay, Awin deep links and shop pages that affilinode knows) become product boxes or compact rows (links_mode, links_max_per_post).
    • New: shortcodes such as [affilinode_product id=…], [affilinode_offers id=…] and [affilinode_compare ids=a,b] become boxes in posts.
    • New: a box “Related to the topic” shows matching products from your catalogue once per topic (plan Publisher); position and number are adjustable.
    • New: “Insert product” in the composer searches your catalogue and inserts the shortcode.
    • New: categories can be excluded, and links are converted only from an adjustable trust level. Private messages, hidden and deleted posts, and the composer preview remain untouched.