Badass userstars using FontAwesome

by AndresXZ09 - 13-06-2015, 01:10 AM
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,276
Reputation:
30
2 Years of Service
#1
OP
Posted: 13-06-2015, 01:10 AM
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]

Please register or login in order to unlock hidden content.
Danimals
03-05-2016, 05:35 AM
JMPRockFm
13-06-2015, 02:12 PM
Tropical
13-06-2015, 01:14 AM
xmxmusicrealm
10-11-2015, 11:10 PM
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,890
Reputation:
25
2 Years of Service
#2
Posted: 13-06-2015, 01:12 AM
You can do this with the userbar too. Nice tutorial, however.
Tropical
13-06-2015, 01:13 AM
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,276
Reputation:
30
2 Years of Service
#3
OP
Posted: 13-06-2015, 01:13 AM
(13-06-2015, 01:12 AM)akay Wrote: You can do this with the userbar too. Nice tutorial, however.

Teach me senpai
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,890
Reputation:
25
2 Years of Service
#4
Posted: 13-06-2015, 01:15 AM (This post was last modified: 13-06-2015, 01:17 AM by Akay.)
(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 />";
        }
    } 
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,276
Reputation:
30
2 Years of Service
#5
OP
Posted: 13-06-2015, 01:17 AM
(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?
لا إله إلا الله‎
Posts:
6,326
Joined:
Jan 2015
Likes:
298
Credits:
276
Reputation:
162
2 Years of Service
#6
Posted: 13-06-2015, 07:16 AM
Was easy though.
Thanks for sharing this with us. And Clickbait Why u so angry :3 ?
| Monopoly- Best forever .. | MGK - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

Suh Dude
Posts:
154
Joined:
Jun 2015
Likes:
3
Credits:
19
Reputation:
13
2 Years of Service
#7
Posted: 13-06-2015, 02:12 PM (This post was last modified: 13-06-2015, 02:28 PM by JMPRockFm.)
Thank you for sharing this looks amazing
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,276
Reputation:
30
2 Years of Service
#8
OP
Posted: 13-06-2015, 04:53 PM
(13-06-2015, 01:15 AM)akay Wrote: \

Interesting, I wonder if it's possible to create a nice userbar with CSS.
لا إله إلا الله‎
Posts:
6,326
Joined:
Jan 2015
Likes:
298
Credits:
276
Reputation:
162
2 Years of Service
#9
Posted: 13-06-2015, 05:00 PM
(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
| Monopoly- Best forever .. | MGK - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

ᶠᵃᵈʸ'ˢ ʷᵃᶦᶠᵘ
Posts:
542
Joined:
Jan 2015
Likes:
65
Credits:
501
Reputation:
37
2 Years of Service
#10
Posted: 13-06-2015, 06:14 PM (This post was last modified: 13-06-2015, 06:16 PM by Clickbait.)
(13-06-2015, 07:16 AM)Mr_Devil Wrote: And Clickbait 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..
Faded is cute Heart
linkzy
13-06-2015, 08:04 PM
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)