The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I'm trying to create an additional calendar event specifically to show scheduled Chats. I want the chats to appear in a different style and also to be able to pull them over to the index page.
So far, I've accomplished all of this. My only problem is that I can't add a new Chat event. I have to go through phpMyAdmin and edit an existing event in the calendar_event table. I've attached my calendar.php file for anyone that feels the urge to take a look. In the Public field of the calendar_events table, I have used public=3 to indicate a chat (with public=0 for public and public=1 for private). I added templates called calendar_chatevent and calendar_chateventbutton. Everything works fine thus far. I can see my chat events in a different color and was able to pull them over to my index page via Mister's hack found at http://www.vbulletin.com/forum/showt...threadid=21232 . The only problem is that I can not add a chat event directly from the calendar. I can only edit one through phpMyAdmin. I'm assuming that I'm overlooking something in the calendar.php file, but where do I indicate Public=3 for a chat? I still need to actually add the button to the template, but I didn't see any point until I figured out how to dictate that this particular button is for a chat event. I've been staring at this all day, so if I'm not making sense, I apologize. Does anyone have any suggestions as to how to add an event other than public or private? Thank you in advance for any advice! Here is what I have so far: Calendar (chats in purple week of 7/22): http://www.babyuniversity.com/forums/calendar.php Index page with today's chats: http://www.babyuniversity.com/forums/index.php |
#2
|
|||
|
|||
Sorry -- after reading through some additional posts, I realized I probably shouldn't have posted the calendar.php file, so I deleted the attachment.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|