Search found 38 matches

by sulfur
Mon Feb 10, 2014 3:24 pm
Forum: Administration
Topic: BUG? New user approval process...
Replies: 5
Views: 234287

Re: BUG? New user approval process...

In this case, they'd forgotten their password, so created an entirely new account rather than using the "forgot password" option.

Silly people. :)
by sulfur
Mon Feb 10, 2014 10:08 am
Forum: Administration
Topic: BUG? New user approval process...
Replies: 5
Views: 234287

BUG? New user approval process...

I'm using 1.7.4 (just updated this am :) ) and we had one of our players create a new user, one that was a duplicate account, so I deleted it this morning rather than approving it (after sending them their correct login information/etc). When I checked the tables, the entry was removed from the ...
by sulfur
Thu Jan 09, 2014 9:16 am
Forum: Development
Topic: Code Submission: Forfeits shouldn't be automatically -1 pts
Replies: 0
Views: 133267

Code Submission: Forfeits shouldn't be automatically -1 pts

Not all leagues (or sports for that matter) treat forfeits as -1 points. I add a couple of quick lines of code to handle this in the same way that the win, loss, and tie/draw values are calculated.

controllers/components/league_type.php:

262 262 ++ $results[$team]['rounds'][$round]['def'];
263 ...
by sulfur
Thu Jan 09, 2014 9:13 am
Forum: Development
Topic: Code Submission: Configurable game lengths by sport/division
Replies: 4
Views: 202388

Re: Code Submission: Configurable game lengths by sport/divi

So, apparently I'm an idiot and my testing was not testing the correct thing. Go me.

*sigh*

I'm got code where I've got the game_id and team_id -- is there a way to get the Division information (and thus a divisional setting) out of these? I don't see anything obvious.
by sulfur
Fri Jan 03, 2014 3:39 pm
Forum: Development
Topic: Code Submission: Configurable game lengths by sport/division
Replies: 4
Views: 202388

Re: Code Submission: Configurable game lengths by sport/divi

No worries. By the time you get to that, I'm hoping to have the gender showing thing sorted out too (now that I think I understand how things interact!).

Once all that is done, I'm going to put together a single, clean diff for you for the Futsal sport. I've tried to keep that separate from the ...
by sulfur
Fri Jan 03, 2014 3:16 pm
Forum: Development
Topic: Code Submission: Configurable game lengths by sport/division
Replies: 4
Views: 202388

Code Submission: Configurable game lengths by sport/division

In another of my previous mentions , we discussed hard-coded game lengths by sport. I've spent some (more) time learning how bits and pieces fit together and done up a diff (including a small DB change required -- adding a single column to the "divisions" table) that handles this by sport (first ...
by sulfur
Thu Dec 19, 2013 9:34 am
Forum: General
Topic: Sport directory
Replies: 8
Views: 288350

Re: Sport directory

I see that it changed the database and I see where the player positions have changed. In the selection box it still says "Fields". Just wondering what I missed.
I don't believe that menu item is affected by the sport change. It's other bits that are affected elsewhere. It might be better to name ...
by sulfur
Wed Dec 18, 2013 10:51 pm
Forum: Development
Topic: Code Submission: Ratings -- hiding when "none" used
Replies: 0
Views: 132933

Code Submission: Ratings -- hiding when "none" used

I previous mentioned looking at hiding the ratings when they don't apply to the league/division. For our league, I've set it up so that when we have the calculator set to "none", then the ratings information and player skill_level information is not shown/shared.

This diff on github covers it off ...
by sulfur
Mon Dec 16, 2013 4:31 pm
Forum: Development
Topic: Player name sorting
Replies: 4
Views: 202160

Re: Player name sorting

Ah, good call. Hadn't considered that. Seems to be hit and miss I guess depending on where you are. Perhaps splitting into the separate names on the major stats list is the way to go then!

If it is an option, I would suggest that it be an option by user...
by sulfur
Mon Dec 16, 2013 4:19 pm
Forum: Development
Topic: Player name sorting
Replies: 4
Views: 202160

Re: Player name sorting

Keeping them in one column looks nicer, but there's likely a way to give a "sortkey" for each item.

Perhaps as simple as something like:

<span style="display:none">Reeves-Stevens, Judith</span> Judith Reeves-Stevens

In the name column... where the "Reeves-Stevens, Judith" is simply "lastname ...