Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Social Group Calendars Details »»
Social Group Calendars
Version: 1.0.0, by Farcaster Farcaster is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.x Rating:
Released: 01-27-2009 Last Update: 04-05-2009 Installs: 73
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

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: https://vborg.vbsupport.ru/showpost....07&postcount=2

Revision LogKnown Issues
None at this time.

Download Now

File Type: xml product-rah_socialgroup_calendars_1_0_0.xml (27.9 KB, 347 views)

Screenshots

File Type: png Social_Group_View.PNG (52.5 KB, 0 views)
File Type: png Social_Calendar_Event_View.PNG (29.6 KB, 0 views)
File Type: png Social_Calendar_Month_View.PNG (36.8 KB, 0 views)
File Type: png Social_Group_Edit.PNG (38.2 KB, 0 views)
File Type: png Upcoming_Events_View.PNG (16.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-16-2009, 07:56 PM
Lord Doys Lord Doys is offline
 
Join Date: May 2003
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I noticed its very easy to bypass the security to post new events on the calendar

in the social group you press the link to create a new event
http://www.something.com/forums/cale...&c=2&groupid=2

if you remove the &groupid=2 from the url, non members of the social group are still able to post events. (most members are in the same usergroup and thus have rights to create an event)
http://www.something.com/forums/cale...ype=single&c=2
Reply With Quote
  #43  
Old 06-18-2009, 09:33 PM
john102774 john102774 is offline
 
Join Date: Aug 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Reserve
Reply With Quote
  #44  
Old 07-04-2009, 11:28 AM
popmyzit popmyzit is offline
 
Join Date: Jun 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very interesting idea
Reply With Quote
  #45  
Old 07-08-2009, 10:17 PM
crustymusic99 crustymusic99 is offline
 
Join Date: Jan 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't add a new social group - I get an error no calendar specified.

Quote:
Originally Posted by Wayne Luke View Post
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:
        if (count($othergroups)>0) {
                  
$socialgrouplist .= "<option>-------------------</option>";
        }

        
// Add options to social group list.
        
foreach ($othergroups as $socialgroup) {
                 
$selected = ($groupid==$socialgroup['groupid']) ? 'selected="selected"' "";
     
$socialgrouplist .= "<option value=\"$socialgroup[groupid]\" $selected>$socialgroup[name]</option>";
        } 
I don't have any "$othergroups" as I am the owner of all groups on the site. So shouldn't the Foreach be within the if block with the divider line so that it doesn't try to process a loop without data?

I changed the above code to:
PHP Code:
        if (count($othergroups)>0) {
            
$socialgrouplist .= "<option>-------------------</option>";
            
// Add options to social group list.
            
foreach ($othergroups as $socialgroup) {
              
$selected = ($groupid==$socialgroup['groupid']) ? 'selected="selected"' "";
              
$socialgrouplist .= "<option value=\"$socialgroup[groupid]\" $selected>$socialgroup[name]</option>";
            }
        } 
Clears up the error. Wouldn't be noticeable on an active site with different groups created.
Was getting the same error, thanks for the fix! Mod working now
Reply With Quote
  #46  
Old 08-16-2009, 11:22 AM
psypix psypix is offline
 
Join Date: Aug 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod!

socialgroups_first_event

How can I change that template so it shows multiple events from the same day? At the moment it only displays the first event from the day. Some of the events on my forum are on a schedule so it would be good to show the next event when the time is reached or to show all events from the same day in time order.

Thanks in advance for any help or tips!
Reply With Quote
  #47  
Old 08-19-2009, 01:00 AM
Verionia Verionia is offline
 
Join Date: Jul 2009
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, does this work with AME? https://vborg.vbsupport.ru/showthread.php?t=202476
Reply With Quote
  #48  
Old 08-19-2009, 01:20 AM
Verionia Verionia is offline
 
Join Date: Jul 2009
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okk, error.. even after applying fix in this thread:
Warning: Invalid argument supplied for foreach() in [path]/calendar.php(1619) : eval()'d code on line 104

and group title doesnt show on calendar.
Reply With Quote
  #49  
Old 11-21-2009, 08:51 PM
chsmith700 chsmith700 is offline
 
Join Date: Jun 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone want to help make this into a Vbulletin 4.0 Mod? I am on the right track I think but cant get it to display for some reason.
Reply With Quote
  #50  
Old 01-09-2010, 10:34 AM
Shanj Shanj is offline
 
Join Date: Oct 2006
Location: Wales UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm wondering about the user's Social Group Calendar or Calendars appearing in a widget on the VB 4.0 CMS?

Really what I want is a usergroup based Personal Entry page - but I'm hoping to use the CMS to do it
- together with the Advanced Navbar
- and Calendar mods.

I have work teams that need to see their upcoming deadlines when they log in.
A Personal entry page could display more.
Reply With Quote
  #51  
Old 02-12-2010, 09:02 AM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine.
GREAT addition
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05231 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete