Last visit was: less than a minute ago
It is currently 10 Aug 2013, 20:54
Exercitum
Forum rules
caution, make sure your links work. posts with invalid urls will be deleted.
caution, make sure your links work. posts with invalid urls will be deleted.
34 posts • Page 1 of 4 • 1, 2, 3, 4
- Oougly
- Posts: 24
- Joined: 20 Oct 2008, 16:03
Exercitum
URL: http://www.exercitum.org
bbdkp Version: Latest stable.
Installed Plugins: Ctra, Roster (not styled yet), Apply (not styled yet)
Updated Style
I've spent a while updating the style still needs loads of work on the forum, roster and dkp pages but its getting there.
I'd like to thank all the Dev's on bbdkp and the bbdkp community, you have made my life much easier and gave me the posibilty of creating a nice looking/functional website for my guild.
Let me know your thoughts. Suggestions and feedback are welcome.
Cheers
Oougly.
bbdkp Version: Latest stable.
Installed Plugins: Ctra, Roster (not styled yet), Apply (not styled yet)
Updated Style
I've spent a while updating the style still needs loads of work on the forum, roster and dkp pages but its getting there.
I'd like to thank all the Dev's on bbdkp and the bbdkp community, you have made my life much easier and gave me the posibilty of creating a nice looking/functional website for my guild.
Let me know your thoughts. Suggestions and feedback are welcome.
Cheers
Oougly.
- Kapli
- Posts: 213
- Joined: 28 Dec 2007, 18:22
- Location: Norway
Re: Exercitum
Awesome site, love the style. You got some talent there
- nobias
Re: Exercitum
Site looks great! One of the best I've seen.
I'm rather interested in the menu system. Was this style completely custom, or a modified version of any existing?
I'm rather interested in the menu system. Was this style completely custom, or a modified version of any existing?
- Ouugly
Re: Exercitum
Thanks
The style was completely custom for my guild, I may release a version of the style when I have some time to create it.
The style was completely custom for my guild, I may release a version of the style when I have some time to create it.
- Xforce
- Posts: 23
- Joined: 10 Jan 2008, 11:34
- Location: The Netherlands
Re: Exercitum
Can you tell me, how did you do the sorting by class ?
- electric
Re: Exercitum
ive done a little bodging with the code to make it sort if by class. I duno if the is the only things i changed cos i did it some months ago (sorry) :
open up roster.php, go to line 123(ish) and find the code:
and replace all of that with this:
then, go into your styles/YOURSTYLE/Template/dkp/roster.html and find the code:
all you got to do now is change that for this (example for a DK):
replace the text 'members_row_dk' for
Druid: 'xx_dru',
Hunter: 'xx_hunter',
Mage: 'xx_mag',
Paladin: 'xx_pal',
Priest: 'xx_pri',
Rogue: 'xx_rog',
Shaman: 'xx_sha',
Warlock: 'xx_warl',
Warrior: 'xx_warr'
Hope it helps
open up roster.php, go to line 123(ish) and find the code:
- Code: Select all
$template->assign_block_vars('members_row', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'MAXLVLID' => $maxlvlid,
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
and replace all of that with this:
- Code: Select all
if($row['member_class']=="Death Knight"){
$template->assign_block_vars('members_row_dk', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Druid"){
$template->assign_block_vars('members_row_dru', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Hunter"){
$template->assign_block_vars('members_row_hunter', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Mage"){
$template->assign_block_vars('members_row_mag', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Paladin"){
$template->assign_block_vars('members_row_pal', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Priest"){
$template->assign_block_vars('members_row_pri', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Rogue"){
$template->assign_block_vars('members_row_rog', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Shaman"){
$template->assign_block_vars('members_row_sha', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Warlock"){
$template->assign_block_vars('members_row_warl', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
if($row['member_class']=="Warrior"){
$template->assign_block_vars('members_row_warr', array(
'LINK' => $site,
'SERVER' => $server,
'END' => $end,
'CLASS' => $row['member_class'],
'CLASSID' => $class[$row['member_class']],
'NAME' => $row['member_name'],
'PROFILE' => $row['member_name'],
'RACE' => $row['member_race'],
'RACEID' => $race[$row['member_race']],
'GNOTE' => $ra,
'LVL' => $row['member_level'],
'GENDER' => $row['member_gender'],
'GENDERID' => $gender[$row['member_gender']]
));
}
then, go into your styles/YOURSTYLE/Template/dkp/roster.html and find the code:
- Code: Select all
<!-- BEGIN members_row -->
<td width="150" class="bg2" align="center">
<a href="{members_row.LINK}/character-sheet.xml?r={members_row.SERVER}&n={members_row.PROFILE}" target="_blank">
<IMG SRC="{members_row.LINK}/images/portraits/{members_row.MAXLVLID}/{members_row.GENDERID}-{members_row.RACEID}-{members_row.CLASSID}.gif" width="64" height="64"></a></td>
<td width="100" class="bg2" align="left"><font color="{members_row.CLASSCOLOR}">
<a href="{members_row.LINK}/character-sheet.xml?r={members_row.SERVER}&n={members_row.PROFILE}" target="_blank">
{members_row.NAME}</a>
<br>
<font color="{members_row.CLASSCOLOR}">{members_row.GNOTE}</font><br>
<font color="{members_row.CLASSCOLOR}">{members_row.CLASS}</font>
<font color="{members_row.CLASSCOLOR}">{members_row.LVL}</font>
</td>
{members_row.END}
<!-- END members_row -->
all you got to do now is change that for this (example for a DK):
- Code: Select all
<!-- BEGIN members_row_dk -->
<td width="150" class="bg2" align="center">
<a href="{members_row_dk.LINK}/character-sheet.xml?r={members_row_dk.SERVER}&n={members_row_dk.PROFILE}" target="_blank">
<IMG SRC="{members_row_dk.LINK}/images/portraits/{members_row_dk.MAXLVLID}/{members_row_dk.GENDERID}-{members_row_dk.RACEID}-{members_row_dk.CLASSID}.gif" width="64" height="64"></a></td>
<td width="100" class="bg2" align="left"><font color="{members_row_dk.CLASSCOLOR}">
<a href="{members_row_dk.LINK}/character-sheet.xml?r={members_row_dk.SERVER}&n={members_row_dk.PROFILE}" target="_blank">
{members_row_dk.NAME}</a>
<br>
<font color="{members_row_dk.CLASSCOLOR}">{members_row_dk.GNOTE}</font><br>
<font color="{members_row_dk.CLASSCOLOR}">{members_row_dk.CLASS}</font>
<font color="{members_row_dk.CLASSCOLOR}">{members_row_dk.LVL}</font>
</td>
{members_row_dk.END}
<!-- END members_row_dk-->
replace the text 'members_row_dk' for
Druid: 'xx_dru',
Hunter: 'xx_hunter',
Mage: 'xx_mag',
Paladin: 'xx_pal',
Priest: 'xx_pri',
Rogue: 'xx_rog',
Shaman: 'xx_sha',
Warlock: 'xx_warl',
Warrior: 'xx_warr'
Hope it helps
- Tjosan
Re: Exercitum
Ouugly wrote:Thanks
The style was completely custom for my guild, I may release a version of the style when I have some time to create it.
Had any time to release a version yet?
Website is very nice. (except that I do not like the color mix of the Progression, other than that it's very nice )
34 posts • Page 1 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: Internet Archive [Bot] and 0 guests
-
- Advertisement