PDA

View Full Version : Regular events and Tournaments


timg
05-08-2008, 11:54 PM
As you guys may have noticed, there is now a new "Regular Events" area for each course. This is the spot where you would put things like weekly singles/doubles, etc. You can put in monthly events or weekly events.

I've also renamed "Upcoming Events" to "Upcoming Tournaments" and changed the main menu from "Event Calendar" to "Tournaments". There is now a drop down for that menu item, first one being the calendar and the second one will show you courses with upcoming tournaments near you (within 50 miles give or take).

If you want the near by tournaments to be as accurate as possible, make sure your DGCR profile has your zip code. If you're outside the US or don't have a zip code in there, the site will show you courses in your state/province or country.

As always, if you have any questions/comments or find any bugs please let me know.

Enjoy!

timg
05-09-2008, 09:10 AM
Here's a course with some example entries: http://www.dgcoursereview.com/course.php?id=2

The local club doesn't really go by first Thursday/second Thursday for the doubles so I included dates. I suppose I could add a "Varied" option if more clubs don't do the first/second day of x month thing for the monthly events.

nexanimal
05-09-2008, 10:24 AM
nice work Tim! :D

ERicJ
05-09-2008, 11:41 AM
...There is now a drop down for that menu item, first one being the calendar and the second one will show you courses with upcoming tournaments near you (within 50 miles give or take).

As always, if you have any questions/comments or find any bugs please let me know.
"Tourneys near me" doesn't work right, it's listing all courses near me, regardless of tourney status. I think you need to qualify the URL with "&tourneys=1".

timg
05-09-2008, 11:56 AM
Thanks ERic, I fixed it. I had renamed some fields and forgot to update that script with the changes.