Sometimes, when teams, for example, don't show up to the match, there are usually some punishments. The usual one i think is to subtract one point to team classification. Is there any way of doing so in current BearLeague version? if not, do you think this could be implemented?
Thanks
Posts: 11
Naive

Registered
Joined Board
09/03/2009 10:06
User is OfflineView all users posts
Quote:Sometimes, when teams, for example, don't show up to the match, there are usually some punishments. The usual one i think is to subtract one point to team classification. Is there any way of doing so in current BearLeague version? if not, do you think this could be implemented?
Thanks
Is it too hard? or am i the only one with this strange request...? :)
cheers
Posts: 11
Naive

Registered
Joined Board
09/03/2009 10:06
User is OfflineView all users posts
Admin help us)))
Dear, Guys!
I'm apologize for the later answer...
Do you mean that before the season start some teams should have some point?
Sorry once again..
Regards,
John
BearDev - development company. Any complexity Web Sites. PHP/MySQL/Joomla! solutions.
Quote:Dear, Guys!
I'm apologize for the later answer...
Do you mean that before the season start some teams should have some point?
Sorry once again..
Regards,
John
Match: Team A and team B. Team A did not appear on the game.
Team A - a defeat, the team B - victory, while the game's result - 0:5, but no goals plus in the general treasury.
I think that we are talking about.
Quote:Dear, Guys!
I'm apologize for the later answer...
Do you mean that before the season start some teams should have some point?
Sorry once again..
Regards,
John
no problem. Hope you're busy with upgrading bearleague :D
This request is very simple for me: When user defines points in season - "won points way", "draw point away", etc. - just add a "Administrative penalty points". And in match report the option to aply this penalty/punishment, whenever the administrator of the tournament finds it apropriated...
best regards
Posts: 11
Naive

Registered
Joined Board
09/03/2009 10:06
User is OfflineView all users posts
Hello,
Perhaps you can use the build I made in the wait of the upgrading. With it you can add malus point to a team...
http://www.beardev.com/component/joobb/topic/222-Buildof1.0.7ComponentusedforRugbySite.html
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
donellyfan,
for your wishes you could use Eric's BL build.
He already implement the feature
Regards,
John
BearDev - development company. Any complexity Web Sites. PHP/MySQL/Joomla! solutions.
Quote:
no problem. Hope you're busy with upgrading bearleague :D
This request is very simple for me: When user defines points in season - "won points way", "draw point away", etc. - just add a "Administrative penalty points". And in match report the option to aply this penalty/punishment, whenever the administrator of the tournament finds it apropriated...
best regards
How it is possible to remove from a team one point as punishment? It is very important)
In what file what to change?
hello, Fatum!
what point you want remove ?
Best Regards.
John
BearDev - development company. Any complexity Web Sites. PHP/MySQL/Joomla! solutions.
Quote:hello, Fatum!
what point you want remove ?
Best Regards.
John
Hi, John! For example, one team has broken a rule and should be punished! It is necessary to remove from it 1 (2,3,4...) a point! It is possible to add in matchday a field where points will be added how many acts in film for this game?
For win one team will have 3 points! Team has played 5 games and should type 15 points, but with punishment types 14! And display this in table!
Maybe write this to main formule of a counting of points? 3 (a point for game) * 5 (games) = 15 (total points), if a field with negative points empty for this team -> 15, if is not present, 15 - 1 (quantity of the removed points) = 14!
sorry for my english! I hope you unserstand me)
Quote:Hello,
Perhaps you can use the build I made in the wait of the upgrading. With it you can add malus point to a team...
http://www.beardev.com/component/joobb/topic/222-Buildof1.0.7ComponentusedforRugbySite.html
Regards
Eric
Hi
With this build it's posible to add bonus (positive) or malus (negative) points to a team for each match she play
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
But except bonus points it is necessary nothing for me!
Well and still autogoal function)
Maybe you now what code and wich file i must change or add?
I change the code in the following files :
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\ADMIN.BEARLEAGUE.CLASS.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\ADMIN.BEARLEAGUE.HTML.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\ADMIN.BEARLEAGUE.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\BEARLEAGUE.XML
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\INSTALL.BEARLEAGUE.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\JBL_HELP.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\LANGUAGE.BEARLEAGUE.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\BEARLEAGUE\LANGUAGES\DEFAULT.PHP
\ADMINISTRATOR\COMPONENTS\COM_BEARLEAGUE\BEARLEAGUE\LANGUAGES\ITALIAN.PHP
\COMPONENTS\COM_BEARLEAGUE\VIEWS\LTABLE\VIEW.HTML.PHP
\COMPONENTS\COM_BEARLEAGUE\VIEWS\LTABLE\TMPL\DEFAULT.PHP
\MEDIA\BEARLEAGUE\LANGUAGES\DEFAULT.PHP
\MEDIA\BEARLEAGUE\LANGUAGES\ITALIAN.PHP
I also modified and add some fileds in database..... so it's very difficult to say you all what to modified in a post. I think the better way is donlaod the build, install it in a local server, and compare with officilal files and database.......
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Maybe admin can help me!
And where you change Code:4. In FE all time format are 24H ( for exemple 15:00 and not 15:00 PM) ?
Here you can find the modified files for this : http://www.beardev.com/component/joobb/topic/166-Resultslookstobeinreverseorder.html
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
http://www.beardev.com/component/joobb/topic/222-Buildof1.0.7ComponentusedforRugbySite.html
zebulon437 Thanks a lot for help) I installed your commponent!
mod_bl_table display points without bonus, team have without bonus 6 points, with - 5! Module display 6 points! How may fix this?
Hi
1.to move the Points column at the end of the rankinng table ( It was your first request, no?) just replace the file default.php in root>components>com_bearleague>views>ltable>tmpl by the file you can donload here :
http://rapidshare.com/files/289318199/default.php.html
MD5: 97D952B91002204EFAC5A23A65E7FEAB
2.Quote:http://www.beardev.com/component/joobb/topic/222-Buildof1.0.7ComponentusedforRugbySite.html
zebulon437 Thanks a lot for help) I installed your commponent!
mod_bl_table display points without bonus, team have without bonus 6 points, with - 5! Module display 6 points! How may fix this?
Have you check the box Enable bonus points in season panel?
http://img84.imageshack.us/img84/8762/beseason.jpg
Regards.
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
http://img522.imageshack.us/img522/890/tableon.jpg
http://img16.imageshack.us/img16/3507/table2ld.jpg
I has already move the Points column, tnx!
Yes, enabled! Its in module, not in commponent)
Hmmm...
I'm not use module, so I made the build only for component.
I look to make this as fast as possible...
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Hi
Replace the file helper.php in Root>modules>mod_bl_table by this one :
http://rapidshare.com/files/289404299/helper.php.html
MD5: 460C2D6DB5C80244D88F5E8CD84EAB7A
Normaly it's works.....
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
respect, man! I dont now what i do without you! Thanks a lot!
I have made russian translation for zebulon437 modification and add friendly url from 1.0.9 version, and little modification for football league!
If somebody inerested you may download this DOWNLOAD
But i waiting 1.0.9 with negative point! And i'll translate this too!
One more vote to a negative points functionality.
A team in my league just received a -3 punishment and I can't make it appear in the season's table.
http://www.freeweird.com http://www.archangelos.net
I have the same problem...
Is possible change the value of ranking table from phpmyadmin panel? I dont' found the record...
Hi guys,
I think the build of component I just publish here : http://www.beardev.com/component/joobb/topic/318-1.0.9ComponentwithPositiveandNegativeBonuspointsusedforRugbyleague.html can do what you want..
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Hi Zebulon, thank you for your reply!
I have tried your component, but I had some problems with the management of the teams: when I install it, the teams that i have created with the official release disappear from the control panel and from the modules; i don't know what is the problem.
To remove a points, do you think is possible simply to change the value from phpmyadmin? What is the right row?
Regards, and sorry for my very very bad english!
Hi Save
This is not a bug, like I say in the post where you download the component I made:
Quote:5.Add a medium and a short name to each team.
If you don't use before the latest version of 1.0.7 component I made, when you install this version you can see all your teams name are not displayed! Don't be afraid your data haven't be deleted It's just because the long name used in official version of component is now only used in the tittle of the team layout. http://img683.imageshack.us/img683/695/teamlayout.png In all other places of component the team name used is the medium name. The short name is used in all modules instead of long team name used in official modules version.
To have your team displayed just go in BE teams page and add a medium (max 15 digit) and short name ( max 4 digit) to each team.
http://img189.imageshack.us/img189/701/teamsh.png. You can also do this modification in FE teams Page http://img189.imageshack.us/img189/8332/teamfeedit.png
So just edit all your teams, add them a short and a medium name
and all will be good :)
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Thank you Zebulon,
I'm sorry for my inattention...
Regards
No problem :)
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Thanks for this component admin and zebulon437))) It's great job!
Hi Zebulon, i have installed your component, it's great!!!Thank you!!!!
I have only a question? Is possible in your mod_table to show the long name of the teams?
Should i edit the mod_bl_table/tmpl/default.php?
Regards
Hi
No it's not in default.php :)
you have to editRoot>modules>mod_bl_table>helper.php and replace line 50
Code: $query = "SELECT t.t_short_name FROM #__bl_teams as t WHERE t.id = ".$tid;
To use medium name by
Code: $query = "SELECT t.t_moy_name FROM #__bl_teams as t WHERE t.id = ".$tid;
To use long name By :
Code: $query = "SELECT t.t_name FROM #__bl_teams as t WHERE t.id = ".$tid;
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Quote:Thanks for this component admin and zebulon437))) It's great job!
Thanks for compliment!!! and also for your translation!!
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Quote:Hi
No it's not in default.php :)
you have to editRoot>modules>mod_bl_table>helper.php and replace line 50
Code: $query = "SELECT t.t_short_name FROM #__bl_teams as t WHERE t.id = ".$tid;
To use medium name by
Code: $query = "SELECT t.t_moy_name FROM #__bl_teams as t WHERE t.id = ".$tid;
To use long name By :
Code: $query = "SELECT t.t_name FROM #__bl_teams as t WHERE t.id = ".$tid;
Regards
Eric
Thank Zebulon! It works perfectly, you are the best:smile:
Regards
Thanks Zebulon! I installed it too and it works perfect!
http://www.freeweird.com http://www.archangelos.net
Zebulon, is there any way that I can control the "Team Med. name" and the "short name" character limit? Right now it's 15 for the med name and 4 for the short name, and I would like to increase it (Greek names can be really long :grin:)...
Thanks! :smile:
http://www.freeweird.com http://www.archangelos.net
Giorgos,
Yes it's possible :
1.MAKE A SAVE OF YOUR DATABASE AND YOUR SITE
2.Connect to your database and change the lenght of varchar for the fields t_moy_name and t_short_name in jos_bl_teams table by the number of characters you want for medium name and short name (maximum is 255)
3.Edit the file Root>components>com_bearleague>views>edit_team>tmpl>default.php
and change
* line 149 for medium name the value maxlength="15" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_moy_name field)
* line 177 for short name the value maxlength="4" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_short_name field)
4.Edit the file Root>administrator>components>com_bearleague>admin.bearleague.html.php
and change
* line 1715 for medium name the value maxlength="15" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_moy_name field)
* line 1731 for short name the value maxlength="4" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_short_name field)
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts
Quote:Giorgos,
Yes it's possible :
1.MAKE A SAVE OF YOUR DATABASE AND YOUR SITE
2.Connect to your database and change the lenght of varchar for the fields t_moy_name and t_short_name in jos_bl_teams table by the number of characters you want for medium name and short name (maximum is 255)
3.Edit the file Root>components>com_bearleague>views>edit_team>tmpl>default.php
and change
* line 149 for medium name the value maxlength="15" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_moy_name field)
* line 177 for short name the value maxlength="4" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_short_name field)
4.Edit the file Root>administrator>components>com_bearleague>admin.bearleague.html.php
and change
* line 1715 for medium name the value maxlength="15" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_moy_name field)
* line 1731 for short name the value maxlength="4" by maxlength="xx" where xx is the number of characters you want (This value must be the same you put in database for t_short_name field)
Regards
Eric
Thanks Zebulon, you are the best! :grin:
I tried it and it works!
http://www.freeweird.com http://www.archangelos.net
Happy to could help you :)
Regards
Eric
zebulon437
Posts: 156
Hero

Registered
Joined Board
07/07/2009 16:38
User is OfflineView all users posts

