24.06.2012, 11:45
(Dieser Beitrag wurde zuletzt bearbeitet: 26.08.2014, 09:54 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Highlight Threadstarter
Zitat:Adds an additional array-value "isauthor" to posts that were created by threadstarter, easily usable for adding css-classes.
$post will get a new array-entry 'isauthor' with the value ' isauthor'.
Simply activate the plugin and edit your postbit or postbit_classic - template like this:
Code:{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder{$post['isauthor']}" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
the important part is the inertion of {$post['isauthor']} in the class-attribute of the post. So the table gets the additional class 'isauthor'.
Now you can adjust the global.css by simply adding something like
Code:.isauthor {
background-color: red;
}
or whatever suits your needs.