Thread Icon in Showthread

Displays the selected thread icon in showthread.php and two other related pages - printthread.php and newreply.php.
Version: 1.3
Autor: Destroy666
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 20.09.2014
Letzte Aktualisierung: 19.10.2014
Support: https://www.mybb.de/forum/thread-30579.html (2 Beiträge)
Kompatibilität: MyBB 1.8.x
Bisherige Downloads: 11
Vorschau
Vorschau
https://github.com/Destroy666x/MyBB-Thread-Icon-in-Showthread

Installation:


  1. Upload everything from upload folder to your forum root (where index.php, forumdisplay.php etc. are located).
  2. Activate plugin in ACP -> Configuration -> Plugins.


Templates troubleshooting:
If the icon is not displayed due to theme customizations, you need to apply these changes manually:
  • Showthread - add {$thread_icon} to any showthread template (showthread by default)
  • Printthread - add {$thread_icon} to the printthread template
  • Newreply - add {$thread_icon} to any newreply template (newreply by default)

You may also want to wrap the mentioned variable like this 

Code
<div style="display: inline-block; vertical-align: middle; padding: 0 3px;">{$thread_icon}</div>

(it's done by default to align the icon vertically).


Quelle: Thread Icon in Showthread bei MyBB.com