Skip to main content

Prefixes

Prefixes are short tags that appear next to a download's title in listings (e.g. "Beta", "Stable", "Deprecated"). They use the same prefix machinery thread prefixes use, so the styling options match.

Where to manage prefixes

AdminCP > [MC] Downloads Manager > Prefixes.

Prefixes group into prefix groups (visual sections in the picker). Both prefixes and groups are managed from the same page.

Creating a prefix group

  1. Navigate to AdminCP > [MC] Downloads Manager > Prefixes.
  2. Click Add prefix group.
  3. Title the group, set its display order.
  4. Click Save.

A prefix group on its own does nothing until you put prefixes in it.

Creating a prefix

  1. Navigate to AdminCP > [MC] Downloads Manager > Prefixes.
  2. Click Add prefix.
  3. Pick a prefix group.
  4. Set the title (the rendered text).
  5. Pick a CSS class (matches one of the standard prefix classes: Primary, Simple, Success, Warning, Danger).
  6. Set the display order within the group.
  7. Optionally allow this prefix in the moderator UI only.
  8. Allowed in user groups: pick which groups can use this prefix at upload time. Empty means all groups.
  9. Click Save.

Per-category prefix configuration

Each category controls which prefixes are available for downloads in it.

  1. Edit the category.
  2. Open the Prefixes tab.
  3. Tick the prefix groups (or individual prefixes) that apply.
  4. Optionally pick a default prefix.
  5. Optionally tick Require prefix if every download must have one.
SettingDefaultWhat it does
Default prefixNonePrefix pre-selected at upload time.
Require prefixOffWhen on, every download must have a prefix. The upload form rejects submissions without one.

Where prefixes appear

Prefixes render:

  • Next to the title on category and overview listings.
  • On the download view header.
  • In sticky position on the breadcrumbs.
  • In feed entries and search results.

The CSS class on the prefix maps to your style's prefix colours. Use the same prefix class as the closest existing thread prefix to keep visual consistency.

Editing a prefix

Edit the prefix from the listing. Changes apply on save.

Deleting a prefix

Deleting a prefix nulls the prefix on any download that was using it. The download itself is not affected; it just shows up without a prefix.

Translating a prefix title

Prefix titles are phrases. To translate them, navigate to AdminCP > Appearance > Phrases and search for the prefix's text.

Per-thread prefix on auto-created threads

Discussion threads auto-created from a download can carry a thread prefix. The category's Allowed thread prefixes setting lists which thread prefixes are allowed. The author chooses one at thread creation if more than one is allowed.

Thread prefixes are different from download prefixes. Thread prefixes are managed under the standard thread prefix admin.

Reordering

Drag prefixes within a group on the AdminCP listing. The order persists immediately.