[XB] BB Code Processing Rules

[XB] BB Code Processing Rules 1.0.0

No permission to buy ($20.00)
License
Single Use License (may be used on one website)
Updates duration
1 year ($15 Yearly Renewal)
Visible branding
No
e5aca5e8-3191-46e0-b954-649a971ef732.webp


Create configurable rules to transform BB Code before content is stored or immediately before it is displayed.

This add-on provides an ordered BB Code processing system with per-rule content targeting, flexible transformations, and preprocessing or postprocessing modes.


Features:​

  • 🗂️ Optional Processing Groups: Organize rules into ordered groups when needed, or keep rules ungrouped.
  • 🔀 Per-Rule Processing Mode: Choose preprocessing or postprocessing independently for each rule.
  • 🎯 Per-Rule Content Types: Apply rules to selected content types or leave the selection empty to process all supported content.
  • 💾 Preprocessing: Transform BB Code before XenForo prepares and stores the message.
  • 🖥️ Postprocessing: Transform BB Code immediately before rendering without modifying stored content or editor text.
  • 🧩 Multiple Processing Rules: Apply multiple transformations to the same BB Code in the configured order.
  • 🎯 Tag & Option Matching: Target every occurrence of a BB Code tag or only tags with a specific option such as HEADING=1.
  • 🔂 Occurrence Control: Process every matching occurrence or only the first match.
  • 📦 Wrap Content: Wrap existing content in a BB Code template using the {bbcode} placeholder.
  • ➕ Prepend & Append: Add parsed BB Code before or after the existing tag content.
  • ✏️ Replace Content or Tag: Replace tag contents or change the BB Code tag while preserving its contents.
  • ⚙️ Option Management: Set a BB Code option or apply one only when the original tag has no option.
  • 🧹 Strip or Remove: Remove only the surrounding BB Code tag or remove the tag together with its contents.
  • 📋 Rule Copying: Create a new rule prefilled with the configuration of an existing rule.
  • 🔄 XML Import & Export: Export processing groups and rules to XML and import them.
  • ⚡ Caching: Keeps processing rules efficiently cached to reduce repeated work and ensure fast processing
  • ✅ Rule Validation: Prevent invalid BB Code targets, missing configuration, incomplete values, and invalid wrap templates.

Supported Content Types:​

  • 💬 Posts
  • ✉️ Direct Messages
  • 👤 Profile Posts
  • 💭 Profile Post Comments
  • 📦 XenForo Resource Manager: Resource updates

Useful for:​

  • 🎨 Formatting Enforcement: Automatically apply consistent BB Code presentation rules.
  • 🔄 BB Code Normalization: Standardize BB Code before content is stored.
  • 🎯 Content-Specific Processing: Apply different transformations depending on the content type.
  • 🧹 Content Cleanup: Strip unwanted tags or completely remove selected BB Code content.
  • 🖥️ Display-Only Changes: Modify rendered output without altering the original stored message.

Screenshots:​

acp_processing_group_add.webp


acp_processing_rules.webp
Author
Painbaker
Views
38
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Painbaker

Back
Top Bottom