vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - Social Group Calendars (https://vborg.vbsupport.ru/showthread.php?t=203352)

Locutus2999 01-28-2009 10:40 PM

Will the events in the calendar allow comments?

concepts 01-28-2009 10:50 PM

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

Farcaster 01-29-2009 12:00 AM

Quote:

Originally Posted by concepts (Post 1727626)
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?

Brandon Sheley 01-29-2009 12:50 AM

great idea, a lot of file edits tho :(
Hopefully this gets implemented by default

Farcaster 01-29-2009 03:45 PM

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.

Stubbed 01-29-2009 04:51 PM

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.

Farcaster 01-29-2009 05:28 PM

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!

Farcaster 01-30-2009 04:48 AM

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:

// Social Group Calendar **************************************************
if ($vbulletin->userinfo['userid']) {
    
$eventjoin "     LEFT JOIN (SELECT groupid, name FROM ".TABLE_PREFIX."socialgroup) sg ON sg.groupid = event.socialgroupcalendar ";
    
$eventselect ", event.socialgroupcalendar, sg.name as socialgroupname";
}    
// Social Group Calendar END *********************************************** 

Replace with:
PHP Code:

    // Social Group Calendar **************************************************
    
$eventjoin "     LEFT JOIN (SELECT groupid, name FROM ".TABLE_PREFIX."socialgroup) sg ON sg.groupid = event.socialgroupcalendar ";
    
$eventselect ", event.socialgroupcalendar, sg.name as socialgroupname ";
    
// Social Group Calendar END *********************************************** 


Vaupell 01-31-2009 10:49 PM

suggestion : Add images to each event! even costum/http links.

Trek 02-02-2009 08:46 PM

Just wanted to say I'm still watching this mod! Waiting for it to come out of beta, etc. =)


All times are GMT. The time now is 04:18 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
  • Page Generation 0.01085 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete