![]() |
Social Group Calendars
1 Attachment(s)
In short, this modification will allow social groups on your forum have their own calendar area and have upcoming events shown on their group page. Here is a list of features:
Follow the installation instructions available here: https://vborg.vbsupport.ru/showthread.php?p=1999324 Revision Log
None at this time. |
Unfortunately, vBulletin lacks some hooks in key places for events, such as hooks to the event SQL statements. This means that there are a number of file edits needed for this modification. Sorry for that, but I hope it will be worth it! Enjoy!
Step One ? Backup Your Database and vBulletin Files! This really needs to be said, especially since this version is in BETA. Loss of data/time/business is not the responsibility of the developer. Use at your own risk. Step Two ? Import the Product File In the Admin CP, import rah_socialgroup_calendars.xml. Step Three ? Edit vBulletin File: includes/functions_calendar.php Note: If you do not want to have Social Group Events show up in the upcoming events section on your forum homepage, then you only need do steps 1 through 7 in this section. 1. Find the first instance of (in function cache_events, near the beginning of the file): PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Note: If you do not want to have Social Group Events show up in the upcoming events section on your forum homepage, you can skip this section entirely. Keep in mind though that if you do have your calendar options set to show events from the calendar that social group events will be posted to, the list will not be filtered and everyone will see them. 1. Find the following: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Upload the modified files to the appropriate directory in your forum. Step Six ? Edit Template: socialgroups_form 1. Find the following: HTML Code:
<vb:if condition="$show['enable_group_messages']"> HTML Code:
<li> Note: You can adjust the placement of the event block to your liking by changing the positioning in the socialgroups_group template. 1. Find the following: HTML Code:
</vb:if><vb:comment>$show['groupinfo']</vb:comment> HTML Code:
<br/>{vb:raw socialgroups_events}<br/> Step Eight ? Edit Template: calendar_edit 1. Find the following: HTML Code:
<h2 class="blockhead">{vb:raw pagetitle}</h2> HTML Code:
{vb:raw socialgroup_dropdown} Step Nine? Configuration In the Admin CP, go into vBulletin Options -> Social Group Calendar. Set the options as desired. The product will not start working until a calendar ID is entered in this section. Make sure to configure the calendar selected to allow members to post events. |
wow thx we needed this for the normal calender !!
Can you fix that ? |
Quote:
|
Quote:
thx |
Cindy,
This doesn't add any functionality to the calendar other than the tie in with social groups, so no, if your site doesn't use social groups, this mod will not do anything for you. |
This hack doesn't show events on the main calendar unless the member is in the group in which the event is for, correct? Is there a way to make it so everyone can see the event regardless of if they are in the group or not on the main calendar?
|
Quote:
|
Will this work with vb 3.8.4? Or do you have a version that does? I have installed your RSVP system on 3.8.4 and it works well, but I am hoping to add calendar functionality to social groups AND the RSVP system, THAT would work VERY well on our forum!
|
Installed,
|
All times are GMT. The time now is 08:21 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:
|