![]() |
Nice idea amy :)
Edit: I was just thinking - Is there any way you can create a "spacer" element for the usergroup titles? :) What I mean is that "Administrator Super Moderator Moderator" etc looks a bit odd - I know how to add commas or dashes or other ascii characters to space the names out, but the problem is the last one listed will always have that character on the end of the name :ermm: I added a "legendorder" field and ordered the groups by it, and tried calling $usergroups['legendorder'] and making it so that if the number was greater than or equal to 9, there was no "spacer" but it didn't work :ermm: Satan |
OK. I just released 2.0. It has the span tag for the smallfont and it has the separator to separate the usergroups.
I'll grab a new screenshot and post it in a second. |
Thanks for this... Will be installing this in my test installation today. Definately makes it much easier than editing templates directly.
|
I did a few changes. First, in the template, I used
HTML Code:
<td class="thead" colspan="2"> HTML Code:
<td class="tcat" colspan="2"> PHP Code:
Good job, Amy. :) |
Quote:
Amy |
Quote:
Because I want it to display it by "legendorder" the field I created :p I'm stuck using the query because I can't figure out how I can make it order it how I want :p Satan |
Thinking out loud. I would add each group and tag and legend order field to an array. I would sort the array based on the legendorder and then I would explode the whole thing out to the legend string.
|
Great hack! Thanks
|
Quote:
PHP Code:
|
I'll give it a try ;)
It works well :) Satan |
All times are GMT. The time now is 02:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|