Gid FA Username Icon Postbit & Profile & Memberlist
For Font Awesome 4.7 :
In headerinclude add:
For Font Awesome 5:
In headerinclude add:
Add to global.css
FA 4.7:
In postbit and postbit_classic find:
Replace with:
In member_profile find:
Replace with:
In memberlist_user find:
And replace with:
Now, you can keep adding to this by adding additional "gids" to the css.
MyBB default "gids" are:
And same can be done by further adding your non default "gids" to the css.
If you are having a hard time figuring out all your gids you can download getgroups.php attached below and upload it to your forum root directory and visit it by "forum/getgroups.php" and it will display all of your currrent gids by number and name.
getgroups.php (Size: 400 bytes / Downloads: 0)
Forums Member List.png (Size: 11.4 KB / Downloads: 5)
Forums Profile of Luctus.png (Size: 3.22 KB / Downloads: 2)
Aliquam risus augue nisi diam.png (Size: 6.18 KB / Downloads: 3)
For Font Awesome 4.7 :
In headerinclude add:
Code:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">For Font Awesome 5:
In headerinclude add:
Code:
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">Add to global.css
FA 4.7:
Code:
/** Gid FA 4.7 Username Icon Postbit & Profile & Memberlist by Vintagedaddyo **/
.titletag {
display: inline-block;
font-family: "FontAwesome";
font-weight: 600;
}
.titletag_4:before {
content: "\f013";
color: #008000;
}
.titletag_6:before {
content: "\f0e3";
color: #CC00CC;
}
.titletag_3:before {
content: "\f0e3";
color: #CC00CC;
}
.titletag_2:before {
content: "\f007";
color: #0072BF;
}Code:
/** Gid FA 5 Username Icon Postbit & Profile & Memberlist by Vintagedaddyo **/
.titletag {
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
}
.titletag_4:before {
content: "\f013";
color: #008000;
}
.titletag_6:before {
content: "\f0e3";
color: #CC00CC;
}
.titletag_3:before {
content: "\f0e3";
color: #CC00CC;
}
.titletag_2:before {
content: "\f007";
color: #0072BF;
}In postbit and postbit_classic find:
Code:
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />Replace with:
Code:
<span class="titletag titletag_{$usergroup['gid']}"> </span><strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />In member_profile find:
Code:
<span class="largetext"><strong>{$formattedname}</strong></span><br />Replace with:
Code:
<span class="titletag titletag_{$memprofile['usergroup']}"> </span><span class="largetext"><strong>{$formattedname}</strong></span><br />In memberlist_user find:
Code:
{$user['profilelink']}<br />And replace with:
Code:
<span class="titletag titletag_{$usergroup['gid']}"> </span>{$user['profilelink']}<br />Now, you can keep adding to this by adding additional "gids" to the css.
MyBB default "gids" are:
Code:
[ 1 ] _ Guests
[ 2 ] _ Registered
[ 3 ] _ Super Moderators
[ 4 ] _ Administrators
[ 5 ] _ Awaiting Activation
[ 6 ] _ Moderators
[ 7 ] _ BannedAnd same can be done by further adding your non default "gids" to the css.
If you are having a hard time figuring out all your gids you can download getgroups.php attached below and upload it to your forum root directory and visit it by "forum/getgroups.php" and it will display all of your currrent gids by number and name.
getgroups.php (Size: 400 bytes / Downloads: 0)
Forums Member List.png (Size: 11.4 KB / Downloads: 5)
Forums Profile of Luctus.png (Size: 3.22 KB / Downloads: 2)
Aliquam risus augue nisi diam.png (Size: 6.18 KB / Downloads: 3)