1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Force Style On Thread Prefix 1.0.2

Extra thread prefix option to override the style on a thread based on the thread prefix

  1. Chris D
    This add-on is not affiliated with XenForo Ltd.

    [​IMG]
    [​IMG] [​IMG] [​IMG]
    Thank you so much for donating. It is always appreciated!


    Special Thanks

    Thank you to Luxus for funding the add-on development and allowing it to be released for free for the rest of the community to benefit :)


    Add-on Details

    This add-on will give you an additional option while adding or editing your Thread Prefixes:

    [​IMG]

    For each Thread Prefix you can now specify a style. This style will override the user's chosen style while they are viewing a thread which has that Thread Prefix assigned.

    Here's an example where the "Bug Report" prefix forces the user to use the Flexile Red theme:

    [​IMG]

    In this example, once the Thread Prefix is changed from "Bug Report" to "Resolved" the user is forced to view the thread with the Flexile Green style:

    [​IMG]


    The override style set on the Thread Prefix will ignore any override style set on the Node.


    Installation

    This add-on can be installed using the Add-On Installer.

    Alternatively...
    • Extract the contents of the Zip file.
    • Upload the contents of the upload folder to the root of your XenForo installation.
    • Install in the Admin CP using the provided XML file.
    lapidus, dieketzer, MirrorMan and 4 others like this.

Recent Updates

  1. Bug fix
  2. Fixes "undefined property" exception

Recent Reviews

  1. 0xym0r0n
    0xym0r0n
    5/5,
    Version: 1.0
    AWESOME :) <3 <3 <3
  2. Luxus
    Luxus
    5/5,
    Version: 1.0
    This addon is handy if you maintain a CMS with multiple categories that have their own style and want all forum discussions related to news articles gathered in one place rather than create a forum for each category. Without this addon, you could still gather all article discussions in one forum with prefixes, but you would lose the styles of each category.

    This addon works flawlessly and adds just one query to thread pages. No bugs have been discovered yet.
    1. Chris D
      Author's Response
      Thanks for the review Luxus, and thanks again for working with me on this. It was a pleasure.