Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Calender Script/Schedule


Does anyone have any recommendations or tips on where I can go to find a good scheduling script or a tutorial to make one? I'd perfer to make my own for security reasons so I know the code and for later addons.

Basically I need to re-create something like http://radio.virtualdj.com/schedule/schedule.php where djs can login to book a time on the online radio and then it blocks the slot off.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
MS Outlook Calender To Web Calender
Does any one know of an open source calender sync that will take my appointment in outlook and post them to a web calender. I schedule alot of meeting and it would be great to have this feature made avialable so I don't always have to work so much at tring to schedule a time using emails.

Calender
I am converting a calender date..i got a example from PHP Manual. the code is PHP Code:

Days In A Calender
I am trying to write a calender display that shows the days of the month accross the top of a table, and people's names down the side. One of the things I would like to do is to change the colour when the days are Saturday or Sunday. PHP Code:

Simple Calender
I am developing a very simple calendar that displays links to classes that fall within a given month. To have the page display the current month's classes, I have used: PHP Code:

PHP / HTML Calender
im looking to make an events calender in PHP/HTML. The calender would be simple with a link on each date, once you click on the link it would post the date value to a detailed info page using the GET method, i would then use the date value to search mysql and display that days events on a seperate page.

Now i have been looking around the net and came across a few javascript generated calenders, but i cant seem to find a solution that will allow me to control the calender content using PHP. Has anyone ever tried this?

Schedule
Currently, I have a database that stores a course schedule. For
example:

Course Title, Start Time (datetime), End Time (datetime), Mon (T/F),
Tues (T/F), Wed (T/F) Thurs (T/F), Fri (T/F)

I want to take this data and graph it as a visual calendar using
tables.

For example:

Time Monday Tuesday Wednes ...
10:00AM WS1093
10:30AM WS1093
11:00AM WS1093
11:30AM
12:00PM EH2312
12:30PM EH2312
1:00PM EH2312

Something like that. What's the best way to do this? Clearly, I
could make a an html calendar and load it up with a bunch of if
statements but is there a more elegant way to fill in the calendar?

Are there any classes available to easily do this?

Code examples are very much welcomed!

TV Schedule?
I've seen this on a number of TV sites, where on the front page they
tell you what's playing at the time you're browsing, what's coming up
next, etc. I want to do this for a site I'm working on, but I have no
idea where to start.

Creating A Schedule
I am building a diet/weight loss website where a customer would
subscribe for 1,3,6 or 12 months. I am using Paypal IPN to handle the
subscription payments. I would like to create a schedule when the
customer first logs on, from the date they signed up to the date when
the subscription ends and every 7 days is highlighted as the weigh in
day.

Basically I would like to generate a list of dates from one date to
another with every 7th day highlighted.

Creating A Schedule
I am building a diet/weight loss website where a customer would
subscribe for 1,3,6 or 12 months. I am using Paypal IPN to handle the
subscription payments. I would like to create a schedule when the
customer first logs in from the date they signed up to the date when
the subscription ends and every 7 days is highlighted as the weigh in
day.

Basically I would like to produce a long list of dates from one date to
another with every 7 days highlighted.
[color=blue]
>From Paypal I get the following info recur_times :- The number of[/color]
payment installments that will occur at the regualar rate. I also have
the date when they signed up. Both in a MySQL database.

Schedule Emails
Has anybody every attempting scheduling emails or trigering any event from a php site? for example, everyday at 10:00am call function x(); ?

Displaying Files In A Folder Using A Calender
I have excel sheets generated daily and weekly in this format for filenames..for daily sheets the filename is Jan-10-2002 (mmm-dd-yyyy) and weekly Week-39-2002. I have a script that uploads to a constant folder all the excel sheets.

Is there a script that can display the daily scripts in form of a calender. I.E a user can choose to view or download the sheet by choosing the date? Also another for displaying weekly excel sheets in a weekly format.

Calender Change The Background Colour
im have made a calender that i want to tie into a sql database , and depending on the value in the database will change the background colour of that day in the calender, the problem im having is with the following:

$colour = "#FF0000"; // this is just to test whether the background colour changes
$cal_event_opentd = "<td align=center bgcolor=#<?php echo $colour;?><b>"; 

but for some reason the backgroud doesnt change,can anyone tell me where im going wrong.

Calender / Date Picker Script
I have been looking for a script to display a calender / date picker within my web page to be able to select a date from.  Different from the ones I have found, I want to be able jump back and forward through months / years without having to reload the page.  I guess this will probably done using somthing client side such as javascript or CSS?  Can anybody give poitn me to one or give me something to start from?

Create A 3,6,9 And 12 Monthly Schedule
In MYSQL would like to produce a field for 3,6,9 or 12 months just
containing the dates of every 7 days from the current date. I think I
need a mixture of PHP and MYSQL to achieve this.

Wrong Dates In A Schedule
I am using the following code (many thanks for the code folks BTW) to
generate 3 schedules in three tables one is a schedule with 7 day
intervals and two are daily schedules.

The two daily schedules seem to have out of sync dates at the start of
each schedule. The dates look as if they may be dates from the
preceding loop.

I am presuming that I need to reset something after the completion of
each loop but I am not sure what.

$now = time();
$day = $now + 7*24*60*60;
$cutoff = strtotime("+$months months");
while ($day <= $cutoff) {
$date = date('Y-m-d', $day);
$insert = "INSERT INTO daily_data SET subscr_id='$subscr_id',
date='$date'";
mysql_query($insert);
$day = $day + 7*24*60*60;
}
//then create a daily schedule in the excercise table
for($i=0;$i<=($sched);$i++)
mysql_query("INSERT INTO exercise_data SET subscr_id='$subscr_id',
date=date_add(now(),INTERVAL
LAST_INSERT_ID() DAY)");
//then create a daily schedule in the food and diet table
for($i=0;$i<=($sched);$i++)
mysql_query("INSERT INTO food_data SET subscr_id='$subscr_id',
date=date_add(now(),INTERVAL
LAST_INSERT_ID() DAY)");

Calculate A Firefighters Schedule In PHP
I need to calculate the following schedule in php. What I need out of the script is what shift is working “today” E.G. $shift = d;.  There are 4 shifts working 24hr days starting at 7 am. The days rotate on 28 day cycles. E.G.  ‘C shift’  is working on July 1 (Sunday) the next Sunday they work is the 29th. I found some code that works with 3 shifts on a different cycle but I have 4 shifts. Code:

Table With Weekly Schedule From A Database?
I'm designing a site for a community radio station and the schedule needs to be generated from the list of programs that are in the database the shows table has the following colums show_id, show_name, day, start_time, end_time (i didn't list the non-relevant ones for this portion of the site)

because a table has to be built left to right instead of top to bottom (cell for monday 8am then tuesday 8am instead of all the monday then tuesday etc) and not all the programs are the same length (i think i can use row span="x" depending on the length of the show)

I'm quite lost. should i have other colums? how do i query the database to pull the data out in the proper order and build the table?

Examples To Display Day Calendar Schedule?
I am trying to find some code to help me along with dsiplaying a day
schedule. For example, a linear time-line with appointments blocked out or
colored differently.

PHP "Calender Like" Pop Up To Select Date And Store As Variable In Mysql Format?
I use to have this feature on my site about two years ago when i hired someone. It would allow the user to select between two different dates, via a small calender, save it as a variable then query the database.

Does anyone know where I can find the script for the small calender? I think it must of been populated by an external clock since all the dates were accurate etc. July 21st was on a saturday.

SELECT Error: No Database Selectedin Query: SELECT * FROM Schedule
I got the above error message after reading FAQ #10 which applied to my first error. The thing is, I thought I had selected a database. This script is copied from a tutorial, and I'm just too new at this to spot my error. PHP Code:


Copyright © 2005-08 www.BigResource.com, All rights reserved