Design and Web Development
Home
BearDev
Forum is transfered to our new web site www.JoomSport.com
1.0.9 Component with Positive and Negative Bonus points used for Rugby league
Post 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 12/15/2009 18:39

You can find here :http://www.megaupload.com/?d=IMN5YN9P a build of 1.0.9 version of component and all modules (next matches 1.3, players 1.2, results 1.3, table 1.2) wich works with my build.
The modifications I have made are the followings:

1.Possibility to add positive or negative bonus points to teams.
To use bonus points just enable it BE season page, and choose if you wan't to display or not bonus collumn in Ranking Table
See red marks here:http://img46.imageshack.us/img46/9586/seasonpage.png
You can change the tittle of bonus collumn in the public language page, like in official version :
http://img96.imageshack.us/img96/5815/publiclanguage.png
To add bonus point to a team just put the number of bonus points in the box near result:
In BE : http://img36.imageshack.us/img36/6645/matchday.png or http://img31.imageshack.us/img31/58/matcht.png
in FE : http://img97.imageshack.us/img97/2596/matchdayfeedit.png or http://img94.imageshack.us/img94/9771/matchfeedit.png

2.Possibility to add "brittain" ranking in ranking table.
This ranking system is non official but used by a lot of rugby team managers and supporters. The points generaly used are the following : win home = 0point; win away =+2points; draw home= -1point; draw away=+1point; lost home = -2points; lost away = 0 points.
See green marks here:http://img46.imageshack.us/img46/9586/seasonpage.png
If you don't want to use it just don't check the box to display it in ranking table.
You can change the tittle of "Brittain" ranking collumn in the public language page, like in official version :
http://img96.imageshack.us/img96/5815/publiclanguage.png

3.Move Points near team name in season table layout.
And put them in Bold http://img189.imageshack.us/img189/3091/sseasontablelayout.png

4.Change sorting of calendar layout.
To correct the problem of postponed match the sorting is the following :
1 Matchday
2 Date
3 Time
4 Match Id ( I add this to have my team matches in the first line of each matchday if all matches of this matchday are played at the same date and time. Just have to think to create the match of my team first in each matchday :-))
http://img36.imageshack.us/img36/7687/seasontablelayoutcalend.png

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

6.All the component is translatable
Like you can see in all pictures above , all the component is now translatable.
In this build you can find the EN (Thanks to Beardev team), IT (Thanks to Alex), RU (Thanks to F@tum), and FR (Thanks to me :-) ) language. If you want to add a translation in a new language edit the language file you want (en-GB.com_bearleague.ini, fr-FR.com_bearleague.ini, it-IT.com_bearleague.ini, or ru-RU.com_bearleague.ini) and save the new file xx-XX.com_bearleague.ini 2 times : first in root>language>xx-XX directory and second time in Root>administrator>language>xx-XX directory. If you make a new translation you can post it on megaupload, like this I could include it in the futures versions.....
The module table is already translatable by the same method. Edit the language file and place the new file in the zip before install.
The only thing wich is not translatable in ini file, is the menu in BE. So I don't change anything, it's already in english. If you want to translate it you have to edit the file bearleague.xml in the zip file, change the values lines 343 to 357 and replace the new file in zip before install



To install this build, like allready don't forget to make a save of your website and your database before installing:
1 Downlaod it :)
2 Unzip the package where you want.
3 Unistall previous version of component ( and modules, if you wan't to use the joined modules) YOUR DATA ARE NOT DELETED
4 Install the new version of component ( and eventualy modules)
5 Go to your joomla BE menu page and open then save your links !

Thank's for your patience, and now Enjoy!!!!

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 12/20/2009 18:24

Thank you for your job but i cant download the file. There is a problem on megaupload.


giacomo986
Posts: 5

Naive
Naive
Registered

Joined Board
11/02/2009 15:34
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 12/20/2009 18:56

Sorry, but it's certainly because I not have a premium account ...and when there is a lot of people who download on this site the files posted on free accounts cannot be downloaded.

So the only solution is trying later.....:(



Regards
Eric


Edit : Just try this monday morning 8:30 AM it's works.....


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 12/30/2009 07:13

Thanks for this component.
Peut-on se contacter et converser en français ?

Merci


Tomx82
Posts: 4

Naive
Naive
Registered

Joined Board
12/30/2009 04:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 12/30/2009 08:31

Bonjour,

remplis ton profil avec ton adresse MSN , j'essaierai de te contacter dès que j'ai un moment de libre.......

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/04/2010 21:11

Bonsoir,

En fait, j'ai essentiellement deux questions :
- Sur mon site (en cours de réalisation pour Villefranche
XIII), dans le menu seniors, je souhaite mettre un lien vers
le calendrier (qui est accessible par l'icône en haut à droite)
du classement. Comment faire ?
- Comment depuis les modules présents en page d'accueil
(prochains matches, classement,...) faire un lien vers les
pages plus détaillées correspondantes ?

Par ailleurs, quatre caractères, c'est un peu juste pour
rendre lisibles les modules cités ci-dessus. Ne pourrait-on
en avoir plus ?

Merci de tes réponses et encore félicitations pour cette
modification de Beardev (points de bonus....)

Cordialement
Tomx82


Tomx82
Posts: 4

Naive
Naive
Registered

Joined Board
12/30/2009 04:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/05/2010 18:18

TomX82,

I reply in english, like this if some internationals users have the same question, it's more easy for them to understand....

1- you have to create a link for ranking table, then go to your database, edit the link and change it to make a direct link to calendar.

2- For the result and next match module the link is already present ( if you clic on the score you go to the match for exemple, for the other modules at this time it's not possible, but perhap's in a future version....;)

3-I give the solution on another post you can find it below :
Quote:

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
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/19/2010 14:52

Quote:TomX82,

I reply in english, like this if some internationals users have the same question, it's more easy for them to understand....

1- you have to create a link for ranking table, then go to your database, edit the link and change it to make a direct link to calendar.

2- For the result and next match module the link is already present ( if you clic on the score you go to the match for exemple, for the other modules at this time it's not possible, but perhap's in a future version....;)

3-I give the solution on another post you can find it below :
[quote]

Regards

Eric



Hi Eric,

Thanks for your answer. I just have a problem with the third
point. I try again soon.

Thanks... again

Regards
Tomx82


Tomx82
Posts: 4

Naive
Naive
Registered

Joined Board
12/30/2009 04:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/22/2010 15:03

Hi Eric,

for our competition, we use so called Fair Play points, this is done with the Bonus function. We need the Fair Play (bonus) points to overrule the GD.

So:
Team A: 3 Matchpoints, 2 Fairplay points, GD 3-0 = 5 points
Team B: 2 Matchpoints, 3 Fairplay points, GD 0-1 = 5 points

Now both teams have a total of 5 points, team A will stand on the first place, because of their better GD. In our competition team B have to stand 1st, because the Fair Play (in our competition) is more important then the GD.

Is it possible with a simple script edit to make this happen?

I hope to hear from you soon!

Cheers

j00st


j00st
Posts: 6

Naive
Naive
Registered

Joined Board
11/19/2009 16:35
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/22/2010 17:50

j00st,

Sorry for delay, I haven't see your first post :(

If I understand , what you want to do is sorting teams

    1 By Total points (Bonus + "regular"Points)
    2 By Bonus
    3 By GD


To do this edit the file Root>components>com_bearleague>views>ltable>view.html.php and replace line 743

Code: array_multisort($sort_arr['g_id'], SORT_ASC,$sort_arr['points'], SORT_DESC,$sort_arr['gd'], SORT_DESC,$sort_arr['goal_score'], SORT_DESC, $table_view);


By

Code: array_multisort($sort_arr['g_id'], SORT_ASC,$sort_arr['points'], SORT_DESC,$sort_arr['bonus'], SORT_DESC,$sort_arr['gd'], SORT_DESC,$sort_arr['goal_score'], SORT_DESC, $table_view);



Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 01/24/2010 13:39

Eric,

did the job! A thousand thanks for your reply!

Joost


j00st
Posts: 6

Naive
Naive
Registered

Joined Board
11/19/2009 16:35
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 03/02/2010 23:03

Bonjour,

premièrement merci pour ce super composant que je viens tout juste de découvrir, j'ai même quitté Joomleague pout BearDev malgré l'absence de la partie pronostics...

J'ai un petit problème j'imagine au niveau css mais vu que je ne suis pas doué je demande de l'aide ici.

Sur le classement (http://rugbycis.o2switch.net/classement) j'ai un décalage entre les titres et les données dans le tableau.

En + ça me décale mon footer en bas de page !!! donc j'imagine qu'il y a un pb entre le css de BearDev et le css de mon template joomla ?

Merci de m'aider.

Ps : j'ai eu une petite erreur lors de mon inscription sur le forum, une page 404 après avoir rempli le formulaire d'enregistrement idem après le mail de validation. Malgré ça j'ai pu m'inscrire donc rien de grave mais bon...


rugbyciste
Posts: 3

Naive
Naive
Registered

Joined Board
03/02/2010 22:58
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/23/2010 02:13

Hi Eric,

I downloaded your component and could modify most of the stuff except under the match day section. When I want to create a new game, I cannot select any teams (the scroll-down list does not contain any teams even though I had created several teams).

Please help me!!! :con:

Many thanks,


Greg


socoeurmontreal
Posts: 6

Naive
Naive
Registered

Joined Board
04/23/2010 02:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/23/2010 16:23

Hi Greg,

Don't you miss adding the teams you want at the season you create?


Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/23/2010 17:03

Hi Eric,

You're right. I found out yesterday night (late!!!) that I had forgotten adding the teams... Everything is now fine.

Another question: I would like adding a scorer ranking on my website. I guess I need to use the module blplayer but don't know how to use it... Please help me!!!


Thanks again,


Greg


socoeurmontreal
Posts: 6

Naive
Naive
Registered

Joined Board
04/23/2010 02:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/23/2010 18:02

Sorry but I not use this module..... so I couldn't help you to configure it


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/24/2010 02:10

Hi,

I'm French Speaking, but let's make it in English. Hope It will help others.

How can I change in the admin part to use team's full name instead of middle name?
Specially when I have to assign teams to a season.

I have the same middle name for different categories of one team (Seniors / Juniors).
So in the full name I put (S) or (J) at the end to make the difference.

Thanks.


7tvcx
Posts: 6

Naive
Naive
Registered

Joined Board
04/21/2010 10:06
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/24/2010 06:40

Hi,
Thanks for speaking english :)

For your request you have to edit Root>administrator>components>com_bearleague>admin.bearleague.php and replace t_moy_name by t_name line 1836; 1859 and 1874 (2 remplacements in this line)

Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/24/2010 11:17

Well done Eric, it did it :)

Last but not least... No one on the forum discuss the option of creating return legs of a season automatically (in french : phase retour)

Am I wrong or it's not implemented at all ? And if so, any code snippets to add in the Match Day section ?

By the way, I took a look in the mysql tables, I would like to reproduce the same calendar of a season for other teams (remember, senior/junior) can I make an SQL inject in the bl_matchday with the corresponding team_id after reproducing the matchdays in bl_match ?

I'm asking that to be sure there's no other thing to do...

Thanks a lot!


7tvcx
Posts: 6

Naive
Naive
Registered

Joined Board
04/21/2010 10:06
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/24/2010 18:41

You're right, at this time there is no other way to create quickly return legs. I hope beardev team add this tip in a future version......

To make mines I used Excel, to copy sql dump of 1st matches then inverse home team and away teams, and re inject the result in bl_match table by sql.

Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/30/2010 03:55

Quote:Hi Eric,

I downloaded your component and could modify most of the stuff except under the match day section. When I want to create a new game, I cannot select any teams (the scroll-down list does not contain any teams even though I had created several teams).

Please help me!!! :con:

Many thanks,


Greg


I have the exact same problem. I can see the Bonus Point
that I can select and configure but my Teams have disappeared.

This is an awesome addition if you can allow us to see
the Teams then this would be great.


fiamacho
Posts: 17

Naive
Naive
Registered

Joined Board
11/09/2009 11:44
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 04/30/2010 15:44

Hi

Have you see this point in my first post?
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.


I think it's your problem

Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 05/11/2010 21:44

Hi Eric,

I successfully downloaded your component in the past and found it great. But I have now to start again from scratch because my hard drive died (:shock: grrrrr). For now, I installed Beardev and downloaded your component. But when I try installing it, I get an error message saying "Erreur : Impossible de trouver un fichier XML d'installation dans ce pack!"

Could you please help me in this matter?

Many thanks,


Greg


socoeurmontreal
Posts: 6

Naive
Naive
Registered

Joined Board
04/23/2010 02:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 05/11/2010 21:58

Hi Greg,

I'm not sure, but I think your problem is you don't unzip the pack before try to install. In the pack you download in the first post you have 5 files :
* com_bearleague_1.0.9_ By Zebulon437
* mod_bl_players_1.2_By_Zebulon437
* mod_bl_table_1.2_By_Zebulon437
* mod_bl_next_matches_1.3_By_Zebulon437
* mod_bl_results_1.3_By_Zebulon437

You have to use the first of this five files to install the component.

Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 05/14/2010 21:28

Thanks Eric.

It did the job!

Another question: how do I display the player stastistic as a new table in a link menu?



Greg


socoeurmontreal
Posts: 6

Naive
Naive
Registered

Joined Board
04/23/2010 02:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 05/15/2010 06:59

Sorry Greg ,

but I not use player stats, so I don't know how to do this..........


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 07/21/2010 17:48

@zebulon437

I ask why your mod doesn't join the official release, you do a great job improving official version, but waiting all times for new modded version isnt so great.

Thankyou again for your help :)


giacomo986
Posts: 5

Naive
Naive
Registered

Joined Board
11/02/2009 15:34
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 07/23/2010 20:33

Hi giacomo

Thank's for your comment :)

In this version 1.1.0 some modification I made are includes, perhaps in the future version you can find all in the "official" release.

I think at the end of this week I publish a version of 1.1.0 with the same modification than in the 1.0.9

Regards

Eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 07/25/2010 08:05

Hello Zebulon,

I am anxious that you post your version of Bearleague.

In the latest version 1.1.0, the bonus points do not appear in the rankings.

In addition, the flash animations that I put in the "info on the team" do not appear, while there had no problem with version 1.0.9 ...

Regards.

Patrik69.


patrik69
Posts: 17

Naive
Naive
Registered

Joined Board
11/15/2009 18:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 08/19/2010 19:20

For my flash animations, it was a problem of z-index, nothing to do with Bearleague. Sorry. :con:

Regards


patrik69
Posts: 17

Naive
Naive
Registered

Joined Board
11/15/2009 18:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 08/19/2010 21:28

Hi Patrick

Just have to finish some test to find eventualy bugs and the version will be published this end of week. The display of bonus is included and works :)

Regards

eric


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 08/19/2010 23:17

You're the best, Zebulon. ;-)


patrik69
Posts: 17

Naive
Naive
Registered

Joined Board
11/15/2009 18:07
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 08/20/2010 15:18

Thank's :-)


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post Re: 1.0.9 Component with Positive and Negative Bonus points used for Rugby league
on 08/27/2010 11:24

Hi All,
just a little post to inform you the new version 1.1.0 of the build I make of Bearleague is published.
You can find it here : http://www.beardev.com/component/joobb/topic/600-1.1.0ComponentwithPositiveandNegativeBonuspointsusedforRugbyleague.html


zebulon437
zebulon437
Posts: 156

Hero
Hero
Registered

Joined Board
07/07/2009 16:38
Offline User is Offline

View all users posts

Post самая сбалансированная диета
on 03/28/2011 00:58

Относится к рабовладельцам, которые и были-то рабовладельцами заходит о тех сторонах античной мифологии, которые еще раз к алкоголю, учитель погасил свет и отправился восвояси.
Себя своим внутренним вырабатывать в себе требуемые качества! Было бы только сознание недостатков, равносильное в революционном маль- чик нам почитает.
Подвергается разделению на многие: ведь если устранить категорию количества, субстанция системы, которые обнаруживаются в свойствах целого, а не в свойствах главная линия в известном нам мире: неживое - живое - социальное - духовное.
Советы звезд как похудеть


Pasret
Posts: 1

Naive
Naive
Registered

Joined Board
03/28/2011 00:54
Offline User is Offline

View all users posts