Last visit was: less than a minute ago
It is currently 20 Jun 2013, 22:54
Preview of the next bbDKP Release.
26 posts • Page 3 of 3 • 1, 2, 3
- Twizted
- Posts: 146
- Joined: 08 Dec 2008, 02:15
- Location: Eau Claire, WI
Re: Preview of the next bbDKP Release.
ohhhhh you dirty tease!!! lol... nice work guys...
Hey I was wondering, Is it possible to set the default view for the roster page to Rank?
If not maybe that could be "hacked" into this release....
Hey I was wondering, Is it possible to set the default view for the roster page to Rank?
If not maybe that could be "hacked" into this release....
- Malfate
- Posts: 496
- Joined: 23 Dec 2007, 23:19
- Location: Texas
Re: Preview of the next bbDKP Release.
Quick hack, you can do this with any version of bbDKP that has Roster installed. (Old and the new one about to be released)
in roster.php
look for
So in your case it would become
Then you would need to change styles/prosilver/template/dkp/roster.html to reflect this new order. (so when the click the links to sort it will sort the right item).
So in your example it would become
in roster.php
look for
- Code: Select all
$sort_order = array(
0 => array('member_name', 'member_name desc'),
1 => array('member_class', 'member_class desc'),
2 => array('member_rank', 'member_rank desc'),
3 => array('member_level', 'member_level desc')
);
So in your case it would become
- Code: Select all
$sort_order = array(
0 => array('member_rank', 'member_rank desc'),
1 => array('member_name', 'member_name desc'),
2 => array('member_class', 'member_class desc'),
3 => array('member_level', 'member_level desc')
);
Then you would need to change styles/prosilver/template/dkp/roster.html to reflect this new order. (so when the click the links to sort it will sort the right item).
- Code: Select all
<th align="center">
<a href="{U_LIST_MEMBERS0}">{L_NAME}</a> -
<a href="{U_LIST_MEMBERS1}">{L_CLASS}</a> -
<a href="{U_LIST_MEMBERS2}">{L_RANK}</a> -
<a href="{U_LIST_MEMBERS3}">{L_LVL}</a>
</th>
So in your example it would become
- Code: Select all
<th align="center">
<a href="{U_LIST_MEMBERS0}">{L_RANK}</a> -
<a href="{U_LIST_MEMBERS1}">{L_NAME}</a> -
<a href="{U_LIST_MEMBERS2}">{L_CLASS}</a> -
<a href="{U_LIST_MEMBERS3}">{L_LVL}</a>
</th>
If you like what we have done, keep the project alive and feel free to donate Via Paypal: Here
Please Use the Search Button and look for your problems on our boards before posting.
"The bigotry of the nonbeliever is for me nearly as funny as the bigotry of the believer."
-Albert Einstein
Please Use the Search Button and look for your problems on our boards before posting.
"The bigotry of the nonbeliever is for me nearly as funny as the bigotry of the believer."
-Albert Einstein
- Twizted
- Posts: 146
- Joined: 08 Dec 2008, 02:15
- Location: Eau Claire, WI
Re: Preview of the next bbDKP Release.
That was amazingly simple.. I am dumb for not having looked in the main roster php script
Thanks...
Thanks...
- Ocnarian
- Posts: 38
- Joined: 19 Nov 2008, 18:19
- Kapli
- Posts: 213
- Joined: 28 Dec 2007, 18:22
- Location: Norway
Re: Preview of the next bbDKP Release.
It's basically done, release probably tomorrow.
- Twizted
- Posts: 146
- Joined: 08 Dec 2008, 02:15
- Location: Eau Claire, WI
Re: Preview of the next bbDKP Release.
W00t!!!! Thank you for the update!@!!
26 posts • Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: Internet Archive [Bot] and 0 guests
-
- Advertisement