OBBLM - Display available Starplayers for team
Moderator: TFF Mods
- HamUmBBL
- Rookie
- Posts: 14
- Joined: Wed Nov 10, 2004 1:06 pm
- Location: HamUmBBL, Hamburg, Germany
- Contact:
OBBLM - Display available Starplayers for team
Hey guys,
I'm wondering if there is a way to display all the available StarPlayers for a certain race with all their values, i.e. their attributes and their skills. In the match report you only find the names, and if you look at the star player stats and click one of the players, you only get their skills. What I'm looking for is something like that: you choose a race and you get a list of all relevant star players with attributes, skills and price.
Is this somewhere "out of the box", or do I have to customize myself? In case of the latter, I'm not too good in PHP/JS...
Bowl on,
Marcus
I'm wondering if there is a way to display all the available StarPlayers for a certain race with all their values, i.e. their attributes and their skills. In the match report you only find the names, and if you look at the star player stats and click one of the players, you only get their skills. What I'm looking for is something like that: you choose a race and you get a list of all relevant star players with attributes, skills and price.
Is this somewhere "out of the box", or do I have to customize myself? In case of the latter, I'm not too good in PHP/JS...
Bowl on,
Marcus
Reason: ''
- Shteve0
- Legend
- Posts: 2479
- Joined: Thu May 07, 2009 10:15 am
- Location: Wellington, New Zealand
Re: OBBLM - Display available Starplayers for team
Hey man
Assuming youre using naflm, you can get it for individual teams if you check the 'include inducements' box when creating a new team?
Assuming youre using naflm, you can get it for individual teams if you check the 'include inducements' box when creating a new team?
Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co
-
- Veteran
- Posts: 160
- Joined: Tue Jun 23, 2009 8:27 am
Re: OBBLM - Display available Starplayers for team
Moin Marcus,HamUmBBL wrote:Hey guys,
I'm wondering if there is a way to display all the available StarPlayers for a certain race with all their values, i.e. their attributes and their skills. In the match report you only find the names, and if you look at the star player stats and click one of the players, you only get their skills. What I'm looking for is something like that: you choose a race and you get a list of all relevant star players with attributes, skills and price.
Is this somewhere "out of the box", or do I have to customize myself? In case of the latter, I'm not too good in PHP/JS...
Bowl on,
Marcus
i did it for the newer teams like Apes. You have to edit the team xml-config, there is a array for the starplayer for every team. They'll be highlighted in the inducement dropdown box.
Just call me for more help (Robert has my number)!
Greeting from Bloodbowl in Hamburg.
Reason: ''
-
- Da Tulip Champ II
- Posts: 3458
- Joined: Wed Oct 16, 2002 4:18 pm
- Location: Heidelberg, Germany
- Contact:
Re: OBBLM - Display available Starplayers for team
I'm just about to build this, it's one of the last things to add to my OBBLM installation. i'll do 2 things:
- on the race page (this one), add a box with all star players avaiallbe to the race (+stats/skills), similar to the player positions box.
- redo the star player detail page in my player card design (like this).
The first one should be easy to do and possible integrate in other code version on OBBLM with some effort. So give me couple of days, then i can give you the PHP code. (i have to finish the BB2016 version of Halfling Scribe first).
Edit: just took a look at the code ... there seems to be a complete redesign of the code between V0.8 and 0.9x, so my version will not be simply portable. But i think it's possible anyway.
- on the race page (this one), add a box with all star players avaiallbe to the race (+stats/skills), similar to the player positions box.
- redo the star player detail page in my player card design (like this).
The first one should be easy to do and possible integrate in other code version on OBBLM with some effort. So give me couple of days, then i can give you the PHP code. (i have to finish the BB2016 version of Halfling Scribe first).
Edit: just took a look at the code ... there seems to be a complete redesign of the code between V0.8 and 0.9x, so my version will not be simply portable. But i think it's possible anyway.
Reason: ''
"In NUFFLE we trust!" - Retired Inquisitor of Nuffle.
Father of the Halfling Scribe
Admin of the Kurpfalz Cup
-
- Da Tulip Champ II
- Posts: 3458
- Joined: Wed Oct 16, 2002 4:18 pm
- Location: Heidelberg, Germany
- Contact:
Re: OBBLM - Display available Starplayers for team
I now implemented the feature. This is what you wanted, right? (Box "Verfügbare Starspieler")
http://kurpfalzcup.t-ibe.de/index.php?s ... ces&race=4
This is the file to modify:
https://github.com/nicholasmr/obblm/blo ... tmlout.php
I attached a modified version of that file that should do the trick (with english texts though).
I hope it works, i currently don't have a V0.96 environment to test in, if not let me know.
MAKE SURE YOU KEEP THE ORIGINAL class_race_htmlout.php FILE AS A BACKUP. ´
edit: i found an error, the links under the star names did not work correctly under V0.9x logic. Updated version attached
http://kurpfalzcup.t-ibe.de/index.php?s ... ces&race=4
This is the file to modify:
https://github.com/nicholasmr/obblm/blo ... tmlout.php
I attached a modified version of that file that should do the trick (with english texts though).
I hope it works, i currently don't have a V0.96 environment to test in, if not let me know.
MAKE SURE YOU KEEP THE ORIGINAL class_race_htmlout.php FILE AS A BACKUP. ´
edit: i found an error, the links under the star names did not work correctly under V0.9x logic. Updated version attached
Reason: ''
"In NUFFLE we trust!" - Retired Inquisitor of Nuffle.
Father of the Halfling Scribe
Admin of the Kurpfalz Cup
-
- Da Tulip Champ II
- Posts: 3458
- Joined: Wed Oct 16, 2002 4:18 pm
- Location: Heidelberg, Germany
- Contact:
Re: OBBLM - Display available Starplayers for team
Seems there's till a bug in there. I'll provide an update once i set up my local test environment.
Edit:
fixed now it should work. Please also update the translations file in the /lang folder as i added new texts there.
I'll commit this change to the Github in the next days, so it might become a standard functionality soon.
Edit:
fixed now it should work. Please also update the translations file in the /lang folder as i added new texts there.
I'll commit this change to the Github in the next days, so it might become a standard functionality soon.
You do not have the required permissions to view the files attached to this post.
Reason: ''
"In NUFFLE we trust!" - Retired Inquisitor of Nuffle.
Father of the Halfling Scribe
Admin of the Kurpfalz Cup
- HamUmBBL
- Rookie
- Posts: 14
- Joined: Wed Nov 10, 2004 1:06 pm
- Location: HamUmBBL, Hamburg, Germany
- Contact:
Re: OBBLM - Display available Starplayers for team
HERO!!! THANKS A LOT!!!
Tim wrote:Seems there's till a bug in there. I'll provide an update once i set up my local test environment.
Edit:
fixed now it should work. Please also update the translations file in the /lang folder as i added new texts there.
I'll commit this change to the Github in the next days, so it might become a standard functionality soon.
Reason: ''
-
- Da Tulip Champ II
- Posts: 3458
- Joined: Wed Oct 16, 2002 4:18 pm
- Location: Heidelberg, Germany
- Contact:
Re: OBBLM - Display available Starplayers for team
Finished the star player page in "player card" look (need more star pictures though):
Only thing i want to add is next/previous navigation arrows like on the player details (should be simple).
Example: http://kurpfalzcup.t-ibe.de/index.php?s ... rs&sid=-31
This one is not so easily portable to current OBBLM master as it requires a lot of changes in many files and lots of new CSS styles. I need to check if i can encapuslate this properly.
Only thing i want to add is next/previous navigation arrows like on the player details (should be simple).
Example: http://kurpfalzcup.t-ibe.de/index.php?s ... rs&sid=-31
This one is not so easily portable to current OBBLM master as it requires a lot of changes in many files and lots of new CSS styles. I need to check if i can encapuslate this properly.
Reason: ''
"In NUFFLE we trust!" - Retired Inquisitor of Nuffle.
Father of the Halfling Scribe
Admin of the Kurpfalz Cup
- Shteve0
- Legend
- Posts: 2479
- Joined: Thu May 07, 2009 10:15 am
- Location: Wellington, New Zealand
Re: OBBLM - Display available Starplayers for team
Fantastic! Would love to see this skin and the changes made available in naflm. PM sent
Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co