MyBB Tutorials

Badass userstars using FontAwesome

Submitted by AndresXZ09, , Thread ID: 4747

Thread Closed
AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
13-06-2015, 01:10 AM
#1
Before I start, all the credits goes to Lewd @Unsuspicious here

These are starts that get the color of the group of the member (as well as it shadow)

Complexity 1/10

What you're going to end up with

[Image: vGRMslI.png]

Content locked
This content has been locked. Please login or register in order to unlock it.

RE: Badass userstars using FontAwesome

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
13-06-2015, 01:12 AM
#2
You can do this with the userbar too. Nice tutorial, however.

RE: Badass userstars using FontAwesome

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
13-06-2015, 01:13 AM
#3
13-06-2015, 01:12 AM
akay Wrote:
You can do this with the userbar too. Nice tutorial, however.

Teach me senpai

RE: Badass userstars using FontAwesome

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
13-06-2015, 01:15 AM
This post was last modified: 13-06-2015, 01:17 AM by Akay
#4
13-06-2015, 01:13 AM
AndresXZ09 Wrote:
13-06-2015, 01:12 AM
akay Wrote:
You can do this with the userbar too. Nice tutorial, however.

Teach me senpai

Here's the UB code, use CSS to create a UB

PHP Code:
// Work out the usergroup/title stuff
$post['groupimage'] = '';
if(!empty(
$usergroup['image']))
{
$language $mybb->settings['bblanguage'];
if(!empty(
$mybb->user['language']))
{
$language $mybb->user['language'];
}
$usergroup['image'] = str_replace("{lang}"$language$usergroup['image']);
$usergroup['image'] = str_replace("{theme}"$theme['imgdir'], $usergroup['image']);
eval(
"\$post['groupimage'] = \"".$templates->get("postbit_groupimage")."\";");
if(
$mybb->settings['postlayout'] == "classic")
{
$post['groupimage'] .= "<br />";
}

RE: Badass userstars using FontAwesome

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
13-06-2015, 01:17 AM
#5
13-06-2015, 01:15 AM
akay Wrote:
13-06-2015, 01:13 AM
AndresXZ09 Wrote:
13-06-2015, 01:12 AM
akay Wrote:
You can do this with the userbar too. Nice tutorial, however.

Teach me senpai

Oh god. :fp:

What?

RE: Badass userstars using FontAwesome

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
13-06-2015, 07:16 AM
#6
Was easy though.
Thanks for sharing this with us. And cute Why u so angry :3 ?
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Badass userstars using FontAwesome

JMPRockFm
Suh Dude
Level:
0
Reputation:
13
Posts:
147
Likes:
4
Credits:
24
13-06-2015, 02:12 PM
This post was last modified: 13-06-2015, 02:28 PM by JMPRockFm
#7
Thank you for sharing this looks amazing

RE: Badass userstars using FontAwesome

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
13-06-2015, 04:53 PM
#8
13-06-2015, 01:15 AM
akay Wrote:
\

Interesting, I wonder if it's possible to create a nice userbar with CSS.

RE: Badass userstars using FontAwesome

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
13-06-2015, 05:00 PM
#9
13-06-2015, 04:53 PM
AndresXZ09 Wrote:
13-06-2015, 01:15 AM
akay Wrote:
\

Interesting, I wonder if it's possible to create a nice userbar with CSS.

in lewd website. they are using css userbars :v
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Badass userstars using FontAwesome

cute
Married to Yuun
Vixen
Level:
4
Reputation:
50
Posts:
523
Likes:
92
Credits:
1.09K
13-06-2015, 06:14 PM
This post was last modified: 13-06-2015, 06:16 PM by cute
#10
13-06-2015, 07:16 AM
Mr_Devil Wrote:
And cute Why u so angry :3 ?

dafuq? who said i was angry?

i literally gave him the code, right here in my github repo...

13-06-2015, 05:00 PM
Mr_Devil Wrote:
13-06-2015, 04:53 PM
AndresXZ09 Wrote:
13-06-2015, 01:15 AM
akay Wrote:
\

Interesting, I wonder if it's possible to create a nice userbar with CSS.

in lewd website. they are using css userbars :v

Pretty sure I made a tutorial about it, the ones I have on Lewd are just a little more advanced.

13-06-2015, 01:15 AM
akay Wrote:
13-06-2015, 01:13 AM
AndresXZ09 Wrote:
13-06-2015, 01:12 AM
akay Wrote:
You can do this with the userbar too. Nice tutorial, however.

Teach me senpai

Here's the UB code, use CSS to create a UB

PHP Code:
// Work out the usergroup/title stuff
$post['groupimage'] = '';
if(!empty(
$usergroup['image']))
{
$language $mybb->settings['bblanguage'];
if(!empty(
$mybb->user['language']))
{
$language $mybb->user['language'];
}
$usergroup['image'] = str_replace("{lang}"$language$usergroup['image']);
$usergroup['image'] = str_replace("{theme}"$theme['imgdir'], $usergroup['image']);
eval(
"\$post['groupimage'] = \"".$templates->get("postbit_groupimage")."\";");
if(
$mybb->settings['postlayout'] == "classic")
{
$post['groupimage'] .= "<br />";
}


lol, are you high? there's a perfectly fine inbuilt template for userbars..
[Image: ZtDsXXv.png]
1

Users browsing this thread: 1 Guest(s)