agreed.. since some events we have are weekend long events. Maybe have the starting day a full descript in the box, and in concurrent boxes it just says part of the event title and says "cont..." or something just to show it continues on.
Dave had written a PAL box for this in his first release of IIP for ubbt 5.5. It displays any upcoming events for the next week. I still use this pal box on my 6.0.2 board.
Since the table structure for the events table has not changed, the old pal code works just fine.
It dosent display a "mini calendar" but it does list all current upcoming events.
File updated with lots of little fixes The only thing not 100% xhtml is bordercolor and I am too sleepy to fix it right now I think I transferred all the changes from our files here to the instructions, if you see something different, please let me know and I'll update it
That might be good to co-ordinate with anything Rick might be working on regarding coppa, and the ubb.classic import script, as birthdays are already required there.
I included the template files pre-done and updated the instructions so that you are requiring the templates into the posting pages instead of adding the contents to the .php files. We are using these same files here.
Next up will be pulling the text out to make a language file... I'll work on it this weekend or so unless someone else wants to jump in there
Max feel free to do with this how you want, thank you for your work in getting it to v6 status
I have one problem...? I attempted your step nine(after I made sure everything else was working ok) and I CANNOT get the date and location to show up in the Subject line?
Was a piece of cake to install some 15 calendars on my forums, for the various clubs that I have. Now they can all have their own calendar, and not all have to share one.
Just got this IIP integration working with IIP4.3 and .threads 6.0.2... Wasn't hard at all, so if anyone needs the code, let me know and I can post it (with instructions) here.
// get what weekday the first is on $tempDate = getdate(mktime(0,0,0,$mon,1,$year)); $firstwday= $tempDate["wday"]-1; //HACK: Monday starts week instead of Sunday: '-1' added if ($firstwday==-1) {$firstwday=6;} //HACK: Monday starts week instead of Sunday: first day should not be -1
And here: (update the header namings...) <tr class="tdheader"><th>Montag</th><th>Dienstag</th><th>Mittwoch</th><th>Donnerstag</th><th>Freitag</th><th>Samstag</th><th>Sonntag</th></tr>
switch($month) { case "January": $month2 = "Januar"; break; case "February": $month2 = "Februar"; break; case "March": $month2 = "März"; break; case "May": $month2 = "Mai"; break; case "June": $month2 = "Juni"; break; case "July": $month2 = "Juli"; break; case "October": $month2 = "Oktober"; break; case "December": $month2 = "Dezember"; break; default: $month2 = $month; } $month = $month2; //Hack im hack ende
This is an example for German, you can change that after your needs for your language. Note that only Month names are changed in this example that are different in English than German.
Since I converted the Calendar somehow into German (not finished yet), I really start liking the idea of having one.
Thanks Max for your great work.
One thought: Do you think it is useful of having all the calendar entries also listed underneath? The more entries the calendar has the more double information the page will have. I think I would prefer not showing the entries underneath but to have only the calendar displayed. - Other oppinions?
posted by caymuc: One thought: Do you think it is useful of having all the calendar entries also listed underneath? The more entries the calendar has the more double information the page will have. I think I would prefer not showing the entries underneath but to have only the calendar displayed. - Other oppinions?
That is kind of my concern. After getting some use on my site I find people seeing a new post and they reply to it thinking today is the day of the event and such. I think it would be better t force users to just click the boxes and then be taken to the post info and replies.
Hi, send me your email address to info @ chrom.de I would mail you the code, as it is right now.
I prefer not to post my stuff online, it is translated but far from beeing finished. Also I changed this and that. So normal users would be rather confused than inspired by the hacks, but you will know what ro pick from it.
hehehe I should have my test site open to public preview before this month is over with. I'm working on putting in a few extra rabbits to pull out of the hat for everyone's amusement... lol
This next version will be easier to set up but there will be alot of setting up to do... lol
Hi Caymuc, It's relatively easy to hide the entries... that's how I had it at first, but my readers complained about not being able to easily identify new replies. This was the compromise I came up with, but other ideas are welcome. Regards, Max
Hmm, it's not mentioned in the original directions. If memory serves, I think you just make a normal forum. I called mine 'calendar' in the keyword, and used that in the script where you put in your forum's keyword.
First you set a special forum up named Calendar. Now when you first did this hack you did an SQL command. This inserted Bo_Calendar under W3T_Boards. Simply make sure any forum you want a calendar in mark Y. In my case I have one forum named Calendar like above. I have ALL forums marked N and only one forum marked Y. This will create the desired effect of one special place for a calendar like here at Threadsdev etc.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.