vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Calendar Enhancements - vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=123416)

Toorak Times 08-21-2013 01:20 PM

Quote:

Originally Posted by BigAl205 (Post 2430265)
You may not have the Calendar/Forum Map set up correctly.
My default calendar is "calendarid=1" and the Events forum id is "id: 8"...so I simply entered 1:8 in the first box of the Event Forums control panel.
;)


Thanks Al, a learner an d that helps

mollypix 08-22-2013 01:13 PM

Not sure if I'm missing something, but I cannot change the number of days in my summary downwards.

I set it to 7 days, then 14 days and now 30 days, but in seeing there are far too many events for the summary i tried to set it back down to 7 ... and it wont change from 30 ?!?!?!?

Anyone come across this before?

mollypix 08-22-2013 01:15 PM

Quote:

Originally Posted by mollypix (Post 2440330)
Not sure if I'm missing something, but I cannot change the number of days in my summary downwards.

I set it to 7 days, then 14 days and now 30 days, but in seeing there are far too many events for the summary i tried to set it back down to 7 ... and it wont change from 30 ?!?!?!?

Anyone come across this before?

Nevermind ... I'm being an idiot :)

rootsxrocks 10-15-2013 03:04 AM

This is not without a few flaws in 4.2.1 and so far seems to work in 4.2.2
but I am getting this error
Could someone smarter than I please tell me what it means


Warning: Only variables should be passed by reference in ..../vb/legacy/calendar.php on line 54

PHP Code:

<?php if (!defined('VB_ENTRY')) die('Access denied.');

/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.2.2 - Licence Number xxxxxxxx
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2013 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

/**
 * @package vBulletin
 * @subpackage Legacy
 * @author Kevin Sours, vBulletin Development Team
 * @version $Revision: 28678 $
 * @since $Date: 2008-12-03 16:54:12 +0000 (Wed, 03 Dec 2008) $
 * @copyright vBulletin Solutions Inc.
 */

require_once (DIR "/vb/legacy/dataobject.php");

/**
 * Legacy calendar wrapper
 *
 */
class vB_Legacy_Calendar extends vB_Legacy_Dataobject
{

    
/**
     * Create object from and existing record
     *
     * @param int $calendarinfo
     * @return vB_Legacy_Calendar
     */
    
public static function create_from_record($calendarinfo)
    {
        
$calendar = new vB_Legacy_Calendar();
        
$calendar->set_record($calendarinfo);
        return 
$calendar;
    }

    
/**
     * Load object from an id
     *
     * @param int $id
     * @return vB_Legacy_Calendar
     */
    
public static function create_from_id($id)
    {
        global 
$_CALENDAROPTIONS$_CALENDARHOLIDAYS;
        
$calendarinfo verify_id('calendar'intval($id), falsetrue);
        
$getoptions convert_bits_to_array($calendarinfo['options'], $_CALENDAROPTIONS);
        
$calendarinfo array_merge($calendarinfo$getoptions);
        
$geteaster convert_bits_to_array($calendarinfo['holidays'], $_CALENDARHOLIDAYS);
        
$calendarinfo array_merge($calendarinfo$geteaster);

        if (
$calendarinfo)
        {
            return 
self::create_from_record($calendarinfo);
        }
        else
        {
            return 
null;
        }
    }

    public static function 
create_from_id_cached($id)
    {
        if (!isset(
self::$calendar_cache[$id]))
        {
            
self::$calendar_cache[$id] = self::create_from_id($id);
        }

        return 
self::$calendar_cache[$id];
    }

    private static 
$calendar_cache = array();

    
/**
     * constructor -- protectd to force use of factory methods.
     */
    
protected function __construct() {}

    
//*********************************************************************************
    // Derived Getters



    //*********************************************************************************
    //    High level permissions
    /*
    //not used so not implemented.
    public function can_view($user)
    {
        return false;
    }

    public function can_search($user)
    {
        return false; 
    }
    */

    //*********************************************************************************
    //    Data operation functions


}

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 18:42, Wed Oct 9th 2013
|| # SVN: $Revision: 28678 $
|| ####################################################################
\*======================================================================*/


Elenna 11-30-2013 03:41 PM

I am super excited that this has been fixed. :) Any idea if this is working with the Event Attendance bridge? https://vborg.vbsupport.ru/showthread.php?t=133970

Toorak Times 12-02-2013 06:57 AM

This is such a great idea and so much a needed addition, can anyone get interested in making this work in 4.2.2?

rootsxrocks 12-06-2013 11:05 PM

It seems to be working for me in 4.22 Just the thread list is not appearing

rotor 12-12-2013 12:00 AM

Another addition would be to include Google Map of the event location ....

Xenforo have a free addon for events that have a couple of good ideas

1 Google map of event location - awesome!!
2 List of upcoming events in separate page
3 An events archive page
4 RSPV system to allow people to notify they'll be attending!!

Im running 4.2.2 - anyone working on upgrading this??? Would be awesome!!

insidegames 12-18-2013 02:31 PM

have someone an example to show me? i'm looking for 4.2.2 :D

Digital Jedi 12-18-2013 03:39 PM

Quote:

Originally Posted by rotor (Post 2467742)
Another addition would be to include Google Map of the event location

Since I have AME installed, I use the Google Maps definition to include maps and such. Streeth view looks pretty good in the events, though I haven't used it that way in a while.


All times are GMT. The time now is 02:57 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
  • Page Generation 0.02006 seconds
  • Memory Usage 1,768KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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