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:13:32 GMT -8
That broke everything in the table I think. Banners are now in the forum where my information is supposed to be. 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 20:15:26 GMT -8
Could you paste that part of the template for me, just so I can check it's been put in properly? Not trying to be patronising, it's just that I edited my post after I made it, not sure which version you added. =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:18:52 GMT -8
I apparently added the first one, but I put in the edited one and it worked just fine. Do you still need me to post my code?
|
|
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:19:45 GMT -8
Nono, that's all I was going to check for. I missed the {/if} from the one I posted before, rookie mistake. xD
I might be wrong, but I think that's done it, no? Or have I missed anything? =]
ed; this could be expanded on if you wanted to do it for more than one usergroup, too. Something like {if $[user.group.id] == 1}SOMETHING{elseif $[user.group.id] == 2}SOMETHING{else}SOMETHING{/if}
=]
|
|
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:38:54 GMT -8
Well I want to do that with all five of my groups. I'm not really sure how to edit all the {/if}'s that come with it- since I'm not all that familiar in editing everything this way. I understand the base of it, but "{if $[user.group.id] == 1}SOMETHING{elseif $[user.group.id] == 2}SOMETHING{else}SOMETHING{/if}" Is a bit too broad for me to figure out completely how to fit all five with that. XD I hope you don't mind clarifying it just a bit more for me.
|
|
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:43:27 GMT -8
Sorry, was being lazy. =P
The following should work, unless I'm missing something (which at 4:45 is highly likely. xD
<span {if $[user.group.id] == 1}class="group-1" style="font-size: 20pt;"{elseif $[user.group.id] == 2}class="group-2" style="font-size: 20pt;"{elseif $[user.group.id] == 3}class="group-3" style="font-size: 20pt;"{elseif $[user.group.id] == 4}class="group-4" style="font-size: 20pt;"{elseif $[user.group.id] == 5}class="group-5" style="font-size: 20pt;"{else}class="big_username" style="color: $[user.color];"{/if}>$[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 Feb 14, 2013 20:52:13 GMT -8
(Youshouldsleep D8)
And yes, I think there was a derp. My codes are (At least my member codes) is 4/5/6/7. I edited your code with this- but....all of them are acting strangely but the first one (Admin). All the rest of them have the same text-color as admin- despite them having differently assigned codes not only CSS wise but the standard Member Group in the admin panel wise. I have Teachers split up into the two lines of species on my site and two students with the same. All of the Class="group-#" apparently aren't working besides the admin group. (1.)
|
|
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:53:29 GMT -8
Just had a look at what that did, and I think that adding color: $[user.color]; to the style tag in each one might finish the job. =]
|
|
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 21:00:20 GMT -8
That worked like a charm! Thanks so much for helping me out. <3
|
|
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 21:02:05 GMT -8
We have a winner! =] Knew that it could be done, just needed a little hammering out, haha. Glad it got sorted though, been staying up while you were online to get it fixed, and it's just gone 5am, think it's time for bed, haha. xD
|
|