![]() |
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/showpost....07&postcount=2 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_1_0_0.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:
<legend>$vbphrase[group_options]</legend> HTML Code:
<div> Note: If you’re trying to install this on version 3.7.x, the section you put the variable in will be different. Try putting it above <!--pictures--> for instance, and then adjust to be located where you want. 1. Find the following: HTML Code:
</div><br /> HTML Code:
$socialgroups_events 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. |
I have confirmed this to be working on vBulletin version 3.8.1. I assume that it will also work with version 3.7.x. If someone installs it on that version, please confirm if it works appropriately.
|
Lovely, i simply dont understand why this wasent a standard feature..
tx.. :up: :up: :up: :up: :up: |
I don't either. The calendar is truly a bit underdeveloped, and the idea of events goes very well with social groups...
|
Quote:
|
Going to install this now, I think this will do what I've been looking for. =)
|
Ok, one question. Is there any way (with this mod or something else) to automatically assign someone to a social group? I hope so, or my idea is dead before it gets started. heh
I guess what I'm looking for is social groups based on user group. Or if that's not possible, the ability to automatically give someone access to a social group when they are added to a specific user group. |
Quote:
|
Quote:
Maybe I'll just write a query that adds everyone in a usergroup to a social group every night on a cron... that should work, but not really the cleanest way to go about it. With that, this mod and your RSVP mod, I think everything I need to accomplish will work. Thanks! |
Will the events in the calendar allow comments?
|
Can you please assist me with the below error?
Warning: Invalid argument supplied for foreach() in [path]/calendar.php(1619) : eval()'d code on line 57 |
Quote:
|
great idea, a lot of file edits tho :(
Hopefully this gets implemented by default |
Yeah, I know, the file edits are a pain. If there was another way to do it that wasn't a complete hack, I would have. My hope is that they will consider adding more hooks to the calendar.php and functions_calendar.php. That would really help.
|
Shame there aren't the hooks you require. I'm more than happy to do those edits, but it will make upgrading a nightmare. Will have to pass.
10 points for a solid mod idea. |
Stubbed,
The good news is that they don't always update the functions_calendar.php which is where most of the file edits are. If they don't update it in a revision, then you can omit the file when you reupload the "upload" folder. And, thanks! |
Bug: The upcoming events on the forum home page sometimes loose the social group names and are no longer filtered appropriately.
If you installed 0.1.0 and completed the steps to add upcoming social events to your forum home page, follow these steps to resolve: In functions_calendar.php, find: PHP Code:
PHP Code:
|
suggestion : Add images to each event! even costum/http links.
|
Just wanted to say I'm still watching this mod! Waiting for it to come out of beta, etc. =)
|
Very good, Trek. It doesn't look like there are many reported issues, so it will probably be soon. The next release should also have some additional functionality.
|
Farcaster, this and your Event RSVP mod is 100% getting my vote as ESSENTIAL for the next release of vB 3.8.2...
How can this not be included is beyond me. These features are huge and I shout at the top of my lungs to vB staff.... INCLUDE THESE IN THE NEXT RELEASE! |
I am looking forward to using this one, once it is out of Beta stage!!! Awesome MOD!
|
Awesome mod!! Farcaster.
I need some help. Disappear SocialGroup name at calendar title when I install with 'Farcaster's Event Attendance & vb Event Forums Integration 1.1'. How do keep SocialGroup name at calendar title? Please help... Thanks. |
This product is now out of BETA as no further issues have been reported and the pending issues are now resolved. Bugs resolved in version 1.0.0 include:
|
Awesome, I will have to add this to KOWW, thanks Farcaster.
_V |
I forgot to add upgrade instructions for 0.1.0 to 1.0.0. Actually, there is only one thing to do:
1. Import the file production file product-rah_socialgroup_calendars_1_0_0.xml and be sure to select "Yes" to Allow Override. |
This is similar to your older event attendance mod. is it possible to use this mod in the way the other mod worked (by choosing a calendar, rather than a social calendar).
|
Skooby - not currently.
|
farcaster this is awesome !
|
Disregard :)
|
I have imported the xml file and have not yet done the code edits. I noticed on my forums that when I click on a Group to see the Group's page, I get this message:
No Calendar specified. If you followed a valid link, please notify the administrator When I disable the mod, I am able to click on a Group and be taken to it's page. Will this change once the edits are done? As much as I look forward to this hack, I can't commit to it if it prevents my members from checking out the groups. |
What is the calender ID?
|
Will this work with 3.7.3?
|
I was evaluating this to see if I want to keep it and click Install. However I cam across an error.
Warning: Invalid argument supplied for foreach() in [path]/calendar.php(1825) : eval()'d code on line 70 This leads to the plugin on calendar_add_complete and this code: PHP Code:
I changed the above code to: PHP Code:
|
Sounds nice ...
Is it thene possible to view all social group events on one Event calendar? To get a cleare look at all up coming events?? Or have a menu of calendar topics like Dog events, horse events, cat events etc ... |
Quote:
Let me know what you need from me to determine what's going on. Thanks! --Ed |
I just installed it and so far things look great. It's actually making the calendar useful!
|
If I want to use a calendar besides the default, what do I use for a 'Calendar ID'? I tried the name 'Social Group Calendar' but that didn't appear to work, and I tried '1' (assuming the default calendar had an ID of 0) but the event listing refers to the default calendar name instead of the new one. :confused:
Thanks, Chris |
Look in the calendar section of the admincp... if you create a new one it will take you to a screen which has all the calendar id's next to the calendar names.
|
All times are GMT. The time now is 04:53 PM. |
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:
|