To really clean up this whole installation of the calendar one could attach the new files created to save time and then we simply would have to do a few basic steps to install this thing. Templates could also be made. I have updated the instructions a bit for those who want a simpler install and attach the neccesary files that are created which take alot of the work. Great work Max looks great.
Ah so things are different that UBB for UBBThreads???
When one downloads a hack at UBBDEV.com the file contains the new files which are not normally a infopop file. I did not include modified UBBThreads files. I just included in the above post a modified install file and addevent.php and newevent.php. These are not infopop files. I figured from the rules I have read this is allowed. It is done in the UBB forum all the time. Oh well if I am mistaken my bad. Download any hack over at UBBDEV and the non infopop files are included in the distribution. I just thought this would save people time hacking as I installed your hack and it works good. It took along time creating addevent.php and newevent.php hense my post above.
Allen: If I am mistaken on the rules simply remove my attachment. The three files included in the attachment are an updated install and the two files created which are addevent.php and newevent.php
Well based on your thinking then remove the attachment. Because any modified file even hacked and discombobulated contains still IP work. Weird the rules must have changed in the last 6 months or rather stricter in enforcement . Oh well my bad.
Hey Max, just a question or two. My users have been dying without a calendar, so I really want to get it running. But knowing it is still in the working stages, how easy is it going to be to upgrade to newer versions/fixes you come out with?
I just wonder because it is a very in-depth hack, and just wondering what it will take to make any changes, or if your updated instructions for the new releases will specifically address upgrade issues?
It shouldn't be too hard to upgrade once you install it: I don't anticipate any database changes, and if you look at it, the only file that's changing from the standard code is postlist.php (the rest of the files are new). So re-installing an upgraded version shouldn't be particularly hard.
I had the same problem -- not showing up in the calendar, but in the list. Before I had a chance to really pour over it and see what I missed, omegatron posted the attachment above, I used that to check what I'd missed, and there was a whole section I missed in addevent I believe. I really wish I could tell you what it was, but I don't think I have a copy of what I had before I fixed it. I'll look though, I have Beyond Compare set to automatically backup things I change. Heaven knows I don't ever remember.
Max, or Dave, any thought on making this work for a pal box Basically, just a box that contained a mini-calendar with numbers, but the days that had something planned those boxes are a different color and when clicked on take you to the associated event?
Pappy, see the notes in the instructions starting on line 14. When you delete a post, it does get deleted from the main w3t_Posts table as usual, but not from the new "Events" table. The idea is that unless you're deleting hundreds of events, I judged that the tradeoff between modifying an additional script and just leaving a few "dead" entries in the Events database wasn't worth it.
Having said that, see the "Additional note" in the instructions starting on line 30 - if you really want to delete entries in the Events database, you could adapt/update from this old thread
This prints the starting point for today's cell. It shows up in "darktable" colors, and other days show up in "lighttable" colors. You can either modify these in the stylesheet you use, or you can modify the above lines to your liking. The $d prints today's day of the month, so you could replace it with <font=red>$d.</font> or something like that.
One suggestion though. It would be nice to post an event one time with a beginning and end date one time instead of having to post it all say 3 days. An example lets say would be a 3 day convention. If one wants to post this it would have to be posted 3 times on every day instead of one post which would then fill the corresponding days correctly on the calendar.