inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Jan 21, 2013 17:35:37 GMT -8
Okay, I have the member group CSS figured out. However I'm having problems on the profile page. The profile page puts the big_username instead of the member group css. I figured this out on my own. However I need the big_username to match. My admin group has a white text with a black background, while my other usergroups are dark text with a white background. Any ideas on how to get this to work?
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Jan 24, 2013 18:47:45 GMT -8
BUMP
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Jan 24, 2013 18:55:06 GMT -8
warpstorms.proboards.com/user/1Is this what you're trying achieve? =] ed; you've gone offline, so if it is, then here's what I've been using; <span class="big_username" style="color: $[user.color];">$[user.name]</span><br /> =]
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Jan 26, 2013 23:16:54 GMT -8
In a way, though I'm not sure how to edit what you gave me, since I'm not up to date on span tags. (God help me when I tried board mods.)
background-color: #DEDEDE; border-left: 3px solid #06645a; color: #06645a; Is one group you see. The second one (Staff) is,
background-color: #1C1C1C color: #000000; border-left: 3px solid #FFFFFF; So how to I do this for both? I'm sorry for the delay in reply, I'm getting ready for surgery soon and that apparently means I have to drive all over creation.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Jan 27, 2013 8:32:08 GMT -8
No worries about any delay, gives me time to work out what I'm meant to be doing. =P
The bit I gave you is from the Profile template (about line 15), all I added was the style="color: $[user.color];" bit.
However you could instead replace that with class="$[user.class]" style="xxx"
The xxx would just need replacing with any additional styling (size, bold etc) that you have set for big_username, which you can find in your stylesheet, around line 780. Mine for example would look like this;
<span class="$[user.class]" style="font-size: 20pt;">$[user.name]</span><br />
That should do what you want. =]
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Feb 14, 2013 15:12:15 GMT -8
Sorry for the delay, I haven't been able to mess around with coding for awhile. As for the code...I'm not sure what's going on. It completely erases the CSS. It uses the class in the sense of the member group name already set up, but it ignores the rest of my CSS. So no background, no borders, no nothing.
<span class="$[user.class]" style="color: $[user.color]; font-size: 20pt;">$[user.name]</span><br /> - Is what I added, though I could have forgotten something. It erases my CSS.
<span class="big_username" style="color: $[user.color];">$[user.name]</span><br />- Now that, it keeps everything I want, BUT- it ignores the admin group completely. It uses the codes of the other groups- and doesn't use the darker background or the correct border on the left.
I'm not really sure if I'm doing this right, but I'm hoping I did. If you're still up to helping me, maybe we can figure this out? Please and Thanks.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 14, 2013 15:34:01 GMT -8
Any chance I could get a link to the forum? Just got back from work, and my brain's not working, think it would probably help. =P
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Feb 14, 2013 19:18:27 GMT -8
I sent you a PM with the link. ^^
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 14, 2013 19:30:17 GMT -8
Try this for me again, and leave it up so that I can have a quick look at the results;
<span class="$[user.class]" font-size: 20pt;">$[user.name]</span><br />
The default settings for big_username in my CSS is simply the font size, so this should (I think) get us there.
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Feb 14, 2013 19:34:22 GMT -8
Done.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 14, 2013 19:41:52 GMT -8
Huh. Well that is odd, haha.
On the main page (last post box), the class for your last post from the Admin account is class="user-link user-1 group-1"
On the Profile page however, it comes out as class="user-1group-1", which I find a little strange.
Just for the sake of interest, could you change the class to group-1 for me, temporarily? I know it will change it for all users, just want to see if it will work. =P
ed; tried it myself by editing the element, and it will work. Just gotta figure out how to get it to properly display.
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Feb 14, 2013 19:51:03 GMT -8
Huh. You're right. That is completely strange. I thought I was doing something wrong to get it to be like that. I switched around the class and you're right, that does work- but looking over the previous way of doing it on a different board, I realize that only the background-color and color show up- but not the border. When I switched to bluntly group-1 as the class- you actually get the border-left that I put in. You're right - I'm completely stumped on how to fix that. XD
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 14, 2013 19:57:09 GMT -8
Would you try what I PM'd you?
{if $[user.group.id] == 1}class="group-1" style="font-size: 20pt;"{else}whatever-you-had-before{/if}
You never know, it might actually work. =P
|
|
inherit
173578
0
Apr 1, 2016 11:23:29 GMT -8
Izaya Orihara
129
November 2011
starryneko
|
Post by Izaya Orihara on Feb 14, 2013 20:08:42 GMT -8
I did add it, but I think I misinterpreted what you meant by "What-ever-you-had-before". XD I have this window open so I'm just going back and forth.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 14, 2013 20:11:34 GMT -8
<span {if $[user.group.id] == 1}class="group-1" style="font-size: 20pt;"{else}class="big_username" style="color: $[user.color];"{/if}>$[user.name]</span><br />
Let's go with that, for the time being, see how that goes. =P
|
|