MyBB.de Forum

Normale Version: Thread Icon in Showthread
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: Thread Icon in Showthread

Zitat:https://github.com/Destroy666x/MyBB-Thre...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).


Translations:

Feel free to submit translation to github in Pull Requests. Also, if you want them to be included on the MyBB mods site, ask me to provide you the contributor status for my project.

Donations:

Donations will motivate me to work on further MyBB plugins. Feel free to use the button in the ACP Plugins section anytime.
Thanks in advance for any input.
Eine neue Version wurde veröffentlicht: Thread Icon in Showthread 1.2
Eine neue Version wurde veröffentlicht: Thread Icon in Showthread 1.3