Current time: 26-01-2021, 03:30 AM
Hello There, Guest!
  • Search
  • Add filtering by thread prefix in forumdisplay_thread page

    MyBB Group Developer
    Template Edit 
    This is a simple tutorial how to add a support for easier filtering of threads by their thread prefix. After this change prefixes will be changed to URL links. When you click to them, threads with the selected prefix will be displayed.

    1) In ACP open and edit "forumdisplay_thread" template and find this line of code:

    replace it by this line of code:
    <a href="{$mybb->settings['bburl']}/forumdisplay.php?fid={$mybb->input['fid']}&prefix={$thread['prefix']}" style="text-decoration: none !important;">{$thread['threadprefix']}</a>

    2) Save and reload (Ctrl+F5) your page to see the result!

    3) Click on any thread prefix and check the output  Cool
    Like Reply