It is currently Thu Mar 28, 2024 8:42 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Mar 31, 2013 9:02 pm 
Offline
Obsessed
Obsessed
User avatar

Joined: Sat May 31, 2008 9:54 pm
Posts: 5106
Location: Del Mar Highlandsish
Given: 9364 thanks
Received: 5395 thanks
Bike(s): Mantis Ghost
Favorite Trails: Vernal Pools
Ok, I threw together a little calendar thing.

calendar.php

It's *very* basic at the moment. If you put a date in the title of your calendar forum post (e.g. "3-14", "3/14/2013", "3/14"), the page will find that and, if it falls within this Sunday (which today is today) through the next 5 weeks, it will display as a link on that day.

Notice which posts show up there vs. which don't. I could also look for month names in the post, but I'm much too lazy for that. I'd rather you format *my* way.

Check it out. Play around. I'm sure it will break. Let me know when it does.


Top
 Profile  
 
The following 5 users would like to thank Ld00d for his or her post:
abzillah, chuckanado, jSatch, OldDogDan, Red Hot Sloth
PostPosted: Sun Mar 31, 2013 11:07 pm 
Offline
Josemite Sam
Josemite Sam
User avatar

Joined: Fri Jun 03, 2011 11:24 pm
Posts: 260
Given: 9 thanks
Received: 189 thanks
Favorite Trails: Spring Canyon, Penasquitos
Looks great!. How about a link to it in the home page?


Top
 Profile  
 
PostPosted: Mon Apr 01, 2013 9:03 pm 
Offline
Obsessed
Obsessed
User avatar

Joined: Sat May 31, 2008 9:54 pm
Posts: 5106
Location: Del Mar Highlandsish
Given: 9364 thanks
Received: 5395 thanks
Bike(s): Mantis Ghost
Favorite Trails: Vernal Pools
palom0 wrote:
Looks great!. How about a link to it in the home page?


As you wish, my master.


Top
 Profile  
 
The following user would like to thank Ld00d for his or her post:
Dirtrider
PostPosted: Tue Apr 02, 2013 5:43 am 
Offline
Obsessed
Obsessed
User avatar

Joined: Thu Jul 29, 2010 10:42 pm
Posts: 3724
Location: Poway
Given: 10484 thanks
Received: 7541 thanks
Bike(s): Specialized Levo Expert
Favorite Trails: Snipers Point, Doggo DH
Nicely done :thumbsup: :cheers:

_________________
You never know what tomorrow will bring so go ride your EBike today or walk your pooch
Fear the Yeti
"Go ride your bike today, don't let the old man in.."

Mike


Top
 Profile  
 
PostPosted: Tue Apr 02, 2013 8:57 am 
Offline
Moderately Obsessed
Moderately Obsessed

Joined: Wed Jun 06, 2012 10:30 am
Posts: 540
Given: 5 thanks
Received: 296 thanks
Bike(s): SC Nomad
Favorite Trails: east county, Calaveras
Just checked out the new calendar. Definately will make Things easier for those looking for group rides. May even encourage people to post up rides too.


Top
 Profile  
 
PostPosted: Tue Apr 02, 2013 11:25 pm 
Offline
Obsessed
Obsessed
User avatar

Joined: Wed Dec 31, 2008 6:33 pm
Posts: 2972
Given: 2267 thanks
Received: 3301 thanks
Bike(s): a sx'y one
Favorite Trails: the one to the taco stand
cool

can you put the days of the week up top?

_________________
Ambition is a poor excuse for not having sense enough to be lazy. ~Milan Kundera


Top
 Profile  
 
PostPosted: Wed Apr 03, 2013 7:44 am 
Offline
Moderately Obsessed
Moderately Obsessed
User avatar

Joined: Sat Aug 07, 2010 8:51 am
Posts: 1503
Given: 499 thanks
Received: 1771 thanks
Bike(s): Monocog SS 29er
Favorite Trails: Skinny & dirty
Nice job. :thumbsup:

Is it a calendar month view (e.g. all of April + adjacent days in March & May) or is it current week + 4 week look-ahead?

I guess I could wait until Sunday to see if it changes but I'm impatient like that.

_________________
"Those skilled at the unorthodox are infinite as heaven and earth, inexhaustible as the great rivers."
— Tzun Tzu


Top
 Profile  
 
PostPosted: Wed Apr 03, 2013 7:52 am 
Offline
Obsessed
Obsessed
User avatar

Joined: Sat May 31, 2008 9:54 pm
Posts: 5106
Location: Del Mar Highlandsish
Given: 9364 thanks
Received: 5395 thanks
Bike(s): Mantis Ghost
Favorite Trails: Vernal Pools
jSatch wrote:
cool

can you put the days of the week up top?


Yeah, I'll do that next.

random walk wrote:
Nice job. :thumbsup:

Is it a calendar month view (e.g. all of April + adjacent days in March & May) or is it current week + 4 week look-ahead?

I guess I could wait until Sunday to see if it changes but I'm impatient like that.


Heh. It's supposed to be the current week plus a 4 week look-ahead.

I'm also curious what Sunday will bring to be honest about it.

I seriously just threw this together over a few hours. I've already encountered a couple of bugs. The transition to Monday didn't go well. It switched to Tuesday on UTC (I think).


Top
 Profile  
 
The following user would like to thank Ld00d for his or her post:
OldDogDan
PostPosted: Sat Apr 06, 2013 9:11 am 
Offline
Obsessed
Obsessed
User avatar

Joined: Sat May 31, 2008 9:54 pm
Posts: 5106
Location: Del Mar Highlandsish
Given: 9364 thanks
Received: 5395 thanks
Bike(s): Mantis Ghost
Favorite Trails: Vernal Pools
Days of the week are there now.


Top
 Profile  
 
The following 2 users would like to thank Ld00d for his or her post:
Dirtrider, OldDogDan
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group