Day Event Script
A variation on the previously released "Event Script". This one was done with a different purpose in mind. The original Event Script was mainly for displaying birthdays/anniversaries (recurring events). THIS event script is geared more for one time events.
It'll display the events for the next "x" number of days that HAVE events. (Written for Linda who wanted to display the next "x" number days of gigs her band had on her website.)
(and no, these script names aren't terribly exciting. By the time I'm done writing the script, my creativity is all used up!) ![]()
December 5th, 2002 at 12:27 pm
Is it possible to combine email reminders with this script?
December 5th, 2002 at 12:52 pm
You would need some way of initiating the email… scripts don't run (in the background) unless you do something first - like access the page, etc…
December 5th, 2002 at 1:26 pm
This is awesome! Thanks so much!!
December 9th, 2002 at 6:23 pm
Is there any reason why DayEventScript would work when I use the absolute path in the include statement (http://www.etc.etc) but not when I use the unix syntax pointing to the exact same file? (/usr/www/users etc)? I've quadruple checked, and it points to the same place,and I have all my slashes in the right place, etc.
When I call showevents.php using /usr/www/users etc I get this error:
Fatal error: Failed opening required 'eventconfig.php' (include_path=") in /usr/www/users/myuserid/lookhere/DayEventScript/showevents.php on line 2
Using http://etc.etc in the include returns perfect data, and everything acts as it should.
It's like it stops looking in the same directory when I use the root path (if that's the right term) but continues to get the other files from the DayEvent script directory when I call showevents.php using "http://…"
Weird, huh?
December 9th, 2002 at 7:55 pm
That is pretty weird and I'm not sure why. I wonder if it has to do with the type of server you're on…
Well, at least it *does* work with the absoulte path…
December 10th, 2002 at 2:54 pm
I want a script that allows me to put a different block of content on screen depending on what day of the week it is. Could someone point me in the right direction?
December 21st, 2002 at 12:51 pm
Great script, but I am having the problem of events being held on the current day not being displayed. It goes to the next days event instead of the current day event. Is this something I can configure to fix? Thanks for the script.
December 21st, 2002 at 2:24 pm
I think I figured out that problem. I just changed the showevents file line that contained 00:00:00 to 23:59:59. It now displays properly for me for the current day. Thanks again for the great script
April 21st, 2003 at 6:02 pm
Is there some way to have it display the next event based on hours?
For example, there are three events, one at 1 AM, the next at 11 AM, and then at 8 PM.
When someone is on the page it retrieves the next event, and not all of them?
July 8th, 2003 at 11:59 am
What I'm looking for is this…
We need a script that will display the next concert that has been put into a databased file.
Example:
I put all the concerts in one file, the script will show the visitor the next gig in line (example: August 14, 2003 - Venue Blabla in Amsterdam). When that date has passed the next concert will be displayed without us having to change it by hand.
I hope you know what I mean with this! Is there something out there? What I have found so far is the events being shown on that specific day or shown days after the event has already passed.
Please, let me know if possible!
Thanks in advance,
Johnnie…
February 26th, 2004 at 5:37 pm
2 things, but first THANK YOU! i've been looking forever for a simple event list script =)
1. can't make the date numerical [i.e. 2/26]
2. i don't want the year to show, just month and date [i.e. 2/26] is there an easy way to strip that out??
April 21st, 2005 at 1:19 pm
Is there any reason why this script would not be writing at all? I have added events and tried to include them in a page without success. I have also checked the individual files and they have no data written to them. Any ideas?
I would really love to use this script!