![]() |
hi there i wanted to know if ne one could help.. im using the roll call feature for my calendar... and i want it too post that in my forum aswell for each thread can anyone assist me in doin this
|
does this hack add calendar custom fields to the post as well ?
|
Ok. Here is what I did to enable a check box. This will add a check box to the Miscellaneous Options when you are creating or editing a calendar event.
When creating a new event: 1: Checking the check box will copy the event as a new thread in $forumid (defined in the code). 2: Leaving the check box unchecked will only create the event on the calendar. When editing an existing event: 1: Checking the check box will copy the event as a new thread in $forumid (defined in the code). 2: Leaving the check box unchecked will only update the calendar entry. Now... if you already created a thread and go edit the event later and check the check box, it does not update the previous thread - it creates a new thread. Also, if you want to convert an existing event to a new thread, you do not really have to "edit" anything. Just click on edit event, check the check box, and save. This will create the new thread in your forum. In calendar.php, find the following code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Log into your AdminCP and go to the Style Manager. Open the calendar_edit template and find this code: Code:
<legend>$vbphrase[miscellaneous_options]</legend> Code:
<div><input type="checkbox" name="makepost" value="1">Copy calendar event to new thread</div> |
Quote:
|
That's awesome Torqued!! I can totally use that code to do exactly what I need with this :)
Thank you so much!!! |
how can i have the information from this hack
https://vborg.vbsupport.ru/showthrea...ight=roll+call post with the message in the thread???? |
Quote:
I'm glad someone else found it useful. :) |
Quote:
I have public and private events and if the event is public I want it to be posted into the public forum. If it is a private event I want it to be posted into the proivate forum. Is this able to be done? |
Quote:
|
Quote:
|
All times are GMT. The time now is 11:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|