How can i do this! I want all staff to have same signature ? withut doing manually each time.
Say for example i chnage my siganture to mybb i want all staff to have that as a default.
You have to use the plugin template conditionals
(2015-05-17, 08:13 PM)Kekko Wrote: [ -> ]You have to use the plugin template conditionals
is there no other way to do it like more easier way?
Well, you can do it with this css trick if you don't want to use Template Conditionals:
Edit the
postbit_classic and/or the
postbit template,
search:
{$post['signature']}
Add after:
<div class="signature scaleimages staff_sign staff_{$post['usergroup']}">
Custom signature for staffer
</div>
In the global.css, add:
.staff_sign {
display: none;
}
.staff_4,
.staff_3,
.staff_6 {
display: inherit;
}
Notice classes .staff_
4, .staff_
3, .staff_
6. The numbers 3, 4, 6 indicate the ids of the usergroup that have the custom signature.
- 4 = Default ID of the usergroup admin
- 3 = Default ID of the usergroup smod
- 6 = Default ID of the usergroup mod