Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / Work In Progress - Events\Calendar Update

<<<12345

An updated Events\Calendar plugin

MIHDev
#61 2010-12-20 00:58
Thanks m8, will work on integrating those features tonight :)

Added 1 hour 27 minutes later:

Hi Koradhil, as no SQL was included, did I get the structure of the new instances table right?

CREATE TABLE sed_event_instances (
  instance_id mediumint(8) NOT NULL AUTO_INCREMENT,
  instance_eventid mediumint(8) NOT NULL DEFAULT '0',
  instance_number mediumint(8) NOT NULL DEFAULT '0',
  instance_start int (11) NOT NULL DEFAULT '0',
  instance_end int (11) NOT NULL DEFAULT '0',
  instance_deadline int (11) NOT NULL DEFAULT '0',
  PRIMARY KEY (instance_id)
) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-12-20 02:25, 9 years ago)
GHengeveld
#62 2010-12-20 03:21
There's also some changes in events table itself. Here's the structure of the two.
CREATE TABLE sed_events (
  event_id mediumint(8) unsigned NOT NULL auto_increment,
  event_date int(11) NOT NULL,
  event_state tinyint(1) NOT NULL default '0',
  event_cat varchar(16) NOT NULL default '0',
  event_maxparticipants int(6) NOT NULL default '0',
  event_usergroups_default varchar(255) NOT NULL default '0',
  event_usergroups_allowed varchar(255) NOT NULL default '0',
  event_repeat varchar(12) NOT NULL default 'disabled',
  event_lastoccurrence int(11) NOT NULL default '0',
  event_title varchar(64) NOT NULL default '',
  event_extra1 varchar(255) NOT NULL default '',
  event_extra2 varchar(255) NOT NULL default '',
  event_text text,
  event_url varchar(128) NOT NULL default '',
  event_ownerid int(11) NOT NULL default '0',
  event_alias varchar(24) NOT NULL default '',
  PRIMARY KEY  (event_id)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE sed_event_instances (
  instance_id int(11) NOT NULL auto_increment,
  instance_eventid int(11) NOT NULL,
  instance_number int(11) NOT NULL,
  instance_start int(11) NOT NULL,
  instance_end int(11) NOT NULL,
  instance_deadline int(11) NOT NULL,
  PRIMARY KEY  (instance_id)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
MIHDev
#63 2010-12-20 04:26
cool, my changes were ok then :), i changed instance_eventid to int(8) to be consistent with the events table and instance_id to int(8) also.
Thanks for posting :), just modifying the calendar to support the event_instance table.
[b]Know the question and you will be far more likely to get an answer.[/b]
GHengeveld
#64 2010-12-20 04:37
MIHDev
#65 2010-12-20 04:44
Thanks m8 :), the recurring functionality and other functions are superb additions, just finishing up on the twitter support then time to bundle it all up :)
[b]Know the question and you will be far more likely to get an answer.[/b]
GHengeveld
#66 2010-12-20 04:53
When you're done I'll modify it for compatibility with Siena if you're ok with that.
MIHDev
#67 2010-12-20 04:54
sure thing m8, thanks for all your help with this, as always, much appreciated :)

Making good progress tonight, Twitter is now supported in the iFrame implementation, JS file is also included in the new events.header.php should anyone wish to utilise more functionality.

Current twitter customisation allows
Choose whether or not to display the twitter tweet button.
User to enter Related account for users to like.
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-12-20 06:22, 9 years ago)
Heater
#68 2010-12-23 06:51
this plugin don't work with Cotonti 6.1.13 right ?
[url=http://www.fightercombatsims.net]FighterCombatSims[/url]
MIHDev
#69 2010-12-23 18:33
@Heater - Should have no issues with that version. It is not as yet compatible with Siena but is fully compatible with Genoa releases.
[b]Know the question and you will be far more likely to get an answer.[/b]
Iceman
#70 2011-01-29 07:17
I would love for this to be ported, the calendar v3 works so far with Siena, but the events do not :(
3axap
#71 2011-02-11 02:49
Hello. I tried this calendar, and events. Create 2 events. Link to the event is different. But displays all the time only one event. With id = 1

This may be due to the "Url modification"?
Twiebie
#72 2011-07-07 02:21
#27559 Koradhil:
When you're done I'll modify it for compatibility with Siena if you're ok with that.
Is this still going to be done? Or is there a calendar/events plugin for Siena somewhere?
Hodges
#73 2013-03-30 09:35

*bump*

It seems MIHDev no longer posts here. Did anyone get the latest version of this plugin / Gert did you manage to port it to Siena?

I could really use this plugin!

Added 2 weeks later:

I ended up porting the plugin myself. Unfortunately I only had the version that was published on 5th Dec 2011. Most things works, a few things don't. The features I do not want I will not be fixing so I'm sharing what I have got working with the community now before I fork for my own needs.

I hope this is helpful to someone: http://speedy.sh/A9fNh/events-calendar.zip

Cheers,

Hodges


This post was edited by Hodges (2013-04-14 16:43, 7 years ago)
aiwass
#74 2014-09-14 11:16

*Bump*

Anyone have a Events Calendar working for Siena?
I'm going to be using it on a new site I'm working on and it would be good if anyone have something, since I'm a designer, not a programmer. :)

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com

<<<12345