Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Social Group Calendars Details »
Social Group Calendars
Mod Version: 1.0.0, by Farcaster (Coder) Farcaster is offline
Developer Last Online: Jun 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (9 votes - 5.00 average) Installs: 71
Released: 28 Jan 2009 Last Update: 05 Apr 2009 Downloads: 381
Not Supported DB Changes Uses Plugins Template Edits Code Changes  

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:
  1. Upcoming events for a group are shown on the group's page, grouped by day.
  2. The group's next event is shown in more detail and can be configured to show the entire event description or be trimmed to a certain number of characters.
  3. Members can see events for all the social groups they belong to consolidated into one calendar.
  4. The forum home index page can be setup to show upcoming events for social groups.
  5. Non-members can see upcoming events for a public group by viewing the group's page. They will not see events for these groups in the calendar view or on the forum homepage, which will help keep the clutter down.
  6. Group's that are moderated, invite only, or must join to view content, will not display their upcoming events to non-members. Their events are also secured, so following a link to an event by a non-member will result in a no permissions error.
  7. Group owners can optionally allow members to be able to post events, or they can set their group up so that only they can post events.
  8. When clicking on the New Event link from the group's page, the event will automatically be assigned to the referring group.
  9. When creating a new event from the calendar view, the creator can assign the event to any group he has permissions to post events. These events will appear in a drop down box on the event.
  10. Admins and moderators can be set to be excluded from all filtering and permissions. This allows the administrator an unfiltered view of the social group calendar, and the ability to move or edit group's events as needed.
  11. Plays nice with Farcaster's Event Attendance v2.0 (RSVP mod).
Installation Instructions (Remember to Mark Installed)
Follow the installation instructions available here: http://www.vbulletin.org/forum/showp...07&postcount=2

Revision LogKnown Issues
None at this time.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Social_Group_View.PNG
Views:	981
Size:	52.5 KB
ID:	93579   Click image for larger version

Name:	Social_Calendar_Event_View.PNG
Views:	654
Size:	29.6 KB
ID:	93580   Click image for larger version

Name:	Social_Calendar_Month_View.PNG
Views:	891
Size:	36.8 KB
ID:	93581   Click image for larger version

Name:	Social_Group_Edit.PNG
Views:	547
Size:	38.2 KB
ID:	93582  

Click image for larger version

Name:	Upcoming_Events_View.PNG
Views:	558
Size:	16.5 KB
ID:	93583  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 28 Jan 2009, 10:13
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Installation Instructions

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):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Above that add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Scroll back down and after the comma in “SELECT event.*,” add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Scroll down about five lines to find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

6. Scroll down about four lines to find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

7. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

8. Find the following (in function build_events, near the end of the file):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

9. Above that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

10. After “dateline_to AS dateline_to_user, utc, dst”, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

11. Scroll down about two lines and find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

12. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step Four – Edit vBulletin File: index.php
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5. Immediately below the code you just entered, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

6. Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step Five – Upload Files
Upload the modified files to the appropriate directory in your forum.

Step Six – Edit Template: socialgroups_form
1. Find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step Seven – Edit Template: socialgroups_group
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Above that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step Eight – 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.

Last edited by Farcaster; 06 Apr 2009 at 18:22.
Reply With Quote
  #3  
Old 28 Jan 2009, 10:15
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
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.
Reply With Quote
  #4  
Old 28 Jan 2009, 10:34
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Real name: Martin
Lovely, i simply dont understand why this wasent a standard feature..

tx..
__________________
My website Evisystems
- - - Stuff - - -
follow the white rabbit, feed! your head
Reply With Quote
  #5  
Old 28 Jan 2009, 13:41
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
I don't either. The calendar is truly a bit underdeveloped, and the idea of events goes very well with social groups...
Reply With Quote
  #6  
Old 28 Jan 2009, 14:29
RvG2's Avatar
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Originally Posted by Vaupell View Post
Lovely, i simply dont understand why this wasent a standard feature..

tx..
You are right.
Reply With Quote
  #7  
Old 28 Jan 2009, 18:09
Trek Trek is offline
 
Join Date: Sep 2003
Going to install this now, I think this will do what I've been looking for. =)
Reply With Quote
  #8  
Old 28 Jan 2009, 18:16
Trek Trek is offline
 
Join Date: Sep 2003
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.
Reply With Quote
  #9  
Old 28 Jan 2009, 19:34
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Originally Posted by Trek View Post
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.
No, I'm afraid this mod doesn't do that. Nor do I know of one that does.
Reply With Quote
  #10  
Old 28 Jan 2009, 19:49
Trek Trek is offline
 
Join Date: Sep 2003
Originally Posted by Farcaster View Post
No, I'm afraid this mod doesn't do that. Nor do I know of one that does.
Bummer... I think this mod will do everything I need other than the auto adding to the social group. I'll do that manually I suppose until figure out something else.

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!
Reply With Quote
  #11  
Old 28 Jan 2009, 23:40
Locutus2999 Locutus2999 is offline
 
Join Date: May 2003
Will the events in the calendar allow comments?

Last edited by Locutus2999; 29 Jan 2009 at 00:42.
Reply With Quote
  #12  
Old 28 Jan 2009, 23:50
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Real name: Jamale
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
__________________

Achieving Superior Aesthetic Conditioning
Reply With Quote
  #13  
Old 29 Jan 2009, 01:00
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Originally Posted by concepts View Post
Warning: Invalid argument supplied for foreach() in [path]/calendar.php(1619) : eval()'d code on line 57
What were you doing at the time when that message occurred?
Reply With Quote
  #14  
Old 29 Jan 2009, 01:50
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
great idea, a lot of file edits tho
Hopefully this gets implemented by default
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #15  
Old 29 Jan 2009, 16:45
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:51.

Layout Options | Width: Wide Color: