The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Calendar: Add event to Outlook Calendar?
i saw this here and was wondering if something similar could be done in VB for adding a VB calendar event to your MS Outlook calendar.. it would be extremely useful..
anyone have any idea of how easy/difficult this would be? |
#2
|
||||
|
||||
Your example is coded in ASP, but it's an interesting idea.
I think I'll have a look at that... It seems they're using a vcs file. Here is the format: Code:
BEGIN:VCALENDAR VERSION:1.0 BEGIN: VEVENT DTStart:20050317T000000 DTEnd:20050318T000000 Location;ENCODING=QUOTED-PRINTABLE:River Street Jazz Cafe | Plains, PA UID:20050317T00000020050318T000000 DESCRIPTION;ENCODING=QUOTED-PRINTABLE:=0D=0A=0D=0ANote: Start and endtimes of Outlook appointment above may differ from official event starttime=0D=0A=0D=0AMore Info:http://www.jambase.com/search.asp?eventID=3D283585=0D=0A=0D=0AGo SeeLive Music!=0Dhttp://www.jambase.com SUMMARY;ENCODING=QUOTED-PRINTABLE:The Breakfast PRIORITY:3 End:VEVENT End:VCALENDAR |
#3
|
||||
|
||||
Here's some code you can use:
PHP Code:
Add this to your calendar.php, before this: PHP Code:
|
#4
|
|||
|
|||
colin -
wow. thanks. i have a couple of issues though. first is probably something simple - when i added the link to my template, i altered the following in calendar_showeventsbit: Code:
<tr> <td width="50%" class="tcat">$eventinfo[title]</td> <td width="50%" class="tcat"><p align="right"><a href="http://www.thebreakfast.info/forum/calendar.php?do=outlookevent&e=$eventid">Add to Outlook <img border="0" src="http://www.thebreakfast.info/images/outlook_logo.gif" width="30" height="30"></a></td> </tr> now, when i click on the link, i get: Invalid Event specified. If you followed a valid link, please notify the webmaster i'm guessing i messed something up with the link (see code above), because when i hover over it, it shows ...calendar.php?do=outlookevent&e=0 just wondering if you could help me get this going. thanks again! dave |
#5
|
||||
|
||||
use $eventinfo[eventid] instead of $eventid
Also, you might have to change the colspan for the table cells below... |
#6
|
|||
|
|||
Don't forget to add
PHP Code:
Also, the dates aren't correct for ranged events. I'll have to fix this later. |
#7
|
|||
|
|||
Is anyone working on this? I have it almost working but the timezones are causing an issue with the times not being correct.
Here's what I have: PHP Code:
|
#8
|
|||
|
|||
Lots of views but no input. No one out there can figure this out?
|
#9
|
|||
|
|||
maybe this could be switched to a different forum, like a mod forum or something, since you've already got it almost figured out. that way, more people are likely to see it and maybe have the answer to fix that last little bit. i'd love to add this to my board once it's fixed re:time zones & ranged events. thanks
|
#10
|
|||
|
|||
ditto; I've found Icalendar and LOVE IT but would love to have the forum integration feature of course...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|