![]() |
I believe it is possible to set it up like that regarding your first point. It would simply require the table / td code to be rewritten to display it the other way round than as default.
Your second point may not be easily done as Sarcoths hack is basically like showgroups.php and feeds information straight from what usergroups you have set. However, this doesnt mean to say its impossible as I think the code in the two templates can be modded to so the table displays differently. If i get some free time before Sarcoth does, ill try look into it, but cant promise anything due to a busy work schedule at this time... |
compatible with 3.6.8?
|
I don't mind that this is grouped by forum usergroups, but I would like the users in those usergroups sorted by their character Class and then Character Name.
So in SQL it would be ORDER BY usergroup, class, name I.E. two of those would be custom fields. Its way too rusty with PHP these days, anyone want to give me a hand with some additional sorting of this? |
Quote:
|
Quote:
Below the print_users function, create a seperate function: PHP Code:
*NOTE* If you want to arrange by the actual vBulletin username/login, I believe you can replace the above ['field7'] with ['username'] Now, scroll down until you see the chunk of code: PHP Code:
PHP Code:
GUILD ROSTER Council: Bian - Druid Irk - Druid Lila - Necro Aaler - Ranger Fina - Ranger Taje - Warrior Members: Aamoon - Bard Beats - Bard Eyo - Bard Yian - Bard Kabb - Berzerker Vash - Berzerker Bin - Cleric Fye - Cleric Hika - Cleric Laur - Cleric etc etc etc. Hope thats clear, and that i didn't forget to add anything :D |
I like that idea bludysky. Is there a way to do that and set the order you want classes to be in? By this I mean like a ranking structure such as:
Council: Bian - GEN Irk - LTG Lila - MG Aaler - BG Fina - BG Members: Aamoon - COL Beats - LTC Eyo - MAJ Yian - CPT Kabb - 1LT Vash - PVT and so on Or even just a way to be able to move names up and down on the roster in the order you want them to be displayed in. Thanks |
Well I suppose you could do that by adjusting the myCmpName function. To do a more complex compare and sort. Would be a bit tricky and would be somewhat slow'ish though I would think. Instead of just doing a compare between two fields, you could do some switch statements to sort them into the right classes, and then do a compare on the name. At least I think that would work.
|
Thanks! jsut what i needed
|
Quote:
|
Quote:
My Roster You'll need to modify your showroster.php and include something similiar to the below. After Code:
$usercount++; Code:
$classurl = 'images/spacer.gif'; Code:
<td class="$bgclass" nowrap="nowrap" align="center">$classimage1</td> |
All times are GMT. The time now is 07:10 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:
|