2013-04-20, 09:53 PM
2013-04-22, 10:19 AM
Note: Make sure that the classes match your usergroup names. For example if your Administrators group is named "Admins", you'll change .Administrators to .Admins in the above CSS.
{$usergroup['title']}
I've been using something similar to your suggestion for quite a while but will different approach - you can replace {$usergroup['title']} with group_{$usergroup['gid']} (under class) and instead of defining group names in global.css and changing them according to their names you can just add
.group_x in css (where is is group id)
.group_1 {
// Group styling 1 goes here
}
.group_2 {
// Group styling 2 goes here
}
.group_3 {
// Group styling 3 goes here
}
2013-04-22, 04:47 PM
Oh, thanks a bunch Johnny. I didn't see it mentioned here:
http://docs.mybb.com/Help-Customizing_postbit.html
but it definitely should be. Though I like to think the ones I used are a little more semantic. xD
http://docs.mybb.com/Help-Customizing_postbit.html
but it definitely should be. Though I like to think the ones I used are a little more semantic. xD
2013-04-22, 05:16 PM
There a lot undocumented variables, you can use this code to dump all variables, you'll find some interesting stuff.
2013-05-27, 01:17 PM
How to add your own icons?
2013-07-26, 04:25 PM
demo link is dead gives me 404 not found could some 1 putt new demo page with all of the difirent buttons on?
2014-07-07, 09:48 PM
Updated the first post with a new demo link, sorry about that.
Edit: Updated the Font Awesome link.
Edit: Updated the Font Awesome link.
2016-06-30, 01:18 PM
My icons don't seem to show up, I've got the .administrator right and it matches my group name.
Screenshots:
http://prntscr.com/bn1hg9
http://prntscr.com/bn1hoq
Also how do I make the badge a little smaller
Screenshots:
http://prntscr.com/bn1hg9
http://prntscr.com/bn1hoq
Also how do I make the badge a little smaller
2016-07-01, 12:31 PM
It's likely a problem with Font Awesome being outdated. Also you can use the small class on the wrap to use smaller buttons. I plan on updating this at some point.
2016-07-03, 01:30 AM
How do you display the buttons in member profile and member list?