Advertisement:

Author Topic: Recurring Events for SMF Calendar  (Read 4018 times)

Offline keyrocks

  • Semi-Newbie
  • *
  • Posts: 25
  • Semantically Challenged
Recurring Events for SMF Calendar
« on: January 27, 2017, 04:25:19 PM »
It's been some time since this topic was discussed. It came up as a suggestion back in 2011 and again in 2013. Here's one of those 2011 discussions as a reference.

From that, there was talk of removing the Calendar from SMF and offering it as an add-on or plug-in.
Question - has anything been done in that direction? I ask as I haven't been on this Forum for a few years, and am still running a site using SMF 2.0.2 ... and my Users have been bugging me for a few months to get Recurring Events working with the Calendar.

Any insights would be most appreciated.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,580
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Recurring Events for SMF Calendar
« Reply #1 on: January 27, 2017, 04:29:27 PM »
Nothing recent the last one I seen on a mod is http://custom.simplemachines.org/mods/index.php?mod=655
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,130
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Recurring Events for SMF Calendar
« Reply #2 on: January 27, 2017, 05:06:25 PM »
Which is waaaaay out of date of course.

Please click above to give free mammograms.

Please do not PM me for support.

Offline d3vcho();

  • Localizer
  • Sophist Member
  • *
  • Posts: 1,391
  • Gender: Male
    • d3vcho on GitHub
    • @SMF_ES on Twitter
    • WintxCoders
Re: Recurring Events for SMF Calendar
« Reply #3 on: January 28, 2017, 04:41:01 AM »
I think something like that has been included for SMF 2.1. Not sure though.

And by the way, why are you still using SMF 2.0.2? You're 11 versions below the current one... I recommend you to upgrade ASAP.
Programmer (noun.)
A person who fixed a problem you don't know you have, in a way you don't understand.


¡Únete al canal IRC de SMF en español! #smf-es en Freenode
Sigue a @SMF_ES en Twitter para enterarte de todas las novedades de SMF

Offline keyrocks

  • Semi-Newbie
  • *
  • Posts: 25
  • Semantically Challenged
Re: Recurring Events for SMF Calendar
« Reply #4 on: January 30, 2017, 11:15:34 AM »
And by the way, why are you still using SMF 2.0.2? You're 11 versions below the current one... I recommend you to upgrade ASAP.

Good question. I haven't upgraded it for a few reasons:
  • It's been running fine without a hitch,
  • It's behind a firewall,
  • It's running several mods, some of which I added manually a few years back, and I don't want to mess them up.

I think something like that has been included for SMF 2.1. Not sure though.

It appears 2.1 is still not ready for prime time, though perhaps I'll install it on my offline server and check it out.
EDIT: SMF 2.1 Beta2 installed. Its Calendar is still the same as it is in 2.0.2 - no recurring events.

Nothing recent the last one I seen on a mod is http://custom.simplemachines.org/mods/index.php?mod=655

Yes, thanks for the suggestion. I've already tried doing the manual mods for the later version of that mod (2520 but no luck ... too far out of date to apply with SMF 2.0.2.

« Last Edit: January 30, 2017, 12:16:16 PM by keyrocks »

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,130
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Recurring Events for SMF Calendar
« Reply #5 on: January 30, 2017, 12:40:00 PM »
I'm running around 70 mods, some of which are custom made and I have not yet had an upgrade patch fail in any way, just as an FYI. :)

Please click above to give free mammograms.

Please do not PM me for support.

Offline keyrocks

  • Semi-Newbie
  • *
  • Posts: 25
  • Semantically Challenged
Re: Recurring Events for SMF Calendar
« Reply #6 on: February 20, 2017, 03:52:12 PM »
UPDATE
Using Chris Curran's Repeating Calendar Events Mod for SMF1.1 (Sept. 12, 2010) as a guide ... I've managed to complete a Recurring Events mod that functions just fine for SMF 2.0.2. It excludes the Moon Phases Chris had in his original mod ... only because my main focus was on having Recurring Events functionality.

When time permits, I'll see if the mods I used for SMF 2.0.2 can be updated and applied to the latest version of SMF 2.1 Beta2 which I recently installed on my localhost (offline) machine.


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 53,902
  • Gender: Male
    • Kindred-999 on GitHub
Re: Recurring Events for SMF Calendar
« Reply #7 on: February 20, 2017, 04:46:18 PM »
don't bother making mods for 2.1 yet. (especially not for beta 2 which is already changed and replaced code in many placed for beta 3)

Also, before you release anything based on Chris' code, you have to check his license to see if he allows modification and redistribution
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline keyrocks

  • Semi-Newbie
  • *
  • Posts: 25
  • Semantically Challenged
Re: Recurring Events for SMF Calendar
« Reply #8 on: February 22, 2017, 12:15:12 AM »
Kindred:
Quote from: Kindred
don't bother making mods for 2.1 yet.
Good advice. What would you suggest I work with ... SMF 2.0.13?
You've been active here for 13+ years.
SMF version sequencing seems inconsistent to me. Looking back in the download archives, I located the full install for SMF 2.0.9 (description says 2.0.8 ) ... and the next after that was SMF 1.1.20.
Question - Why did version sequencing jump from 2.0.9 to the 1.1.xx series ... and now we're back to production versions in a 2.0.1x series?

Out of curiosity ... I found reading through Chris's original mod thread quite interesting, historically (viewed 211,300+ times) . I noticed you asked Chris about bundling his mod with a now-ancient pkg you were working on back in January 2006 but real life got in the way (which I fully understand, went through it decades ago). Then, on June 29, 2011, you mentioned "Calendar enhancements ARE on the schedule for future releases" (Recurring Events, Sign Up/Attendance, and time-of-day being the most requested) with *the plan* being to make the Calendar pkg an official plug-in (it's still included with 2.1 beta2).

Quote from: Kindred
before you release anything based on Chris' code, you have to check his license to see if he allows modification and redistribution
Also good advice. I would if I could but ... there are no licensing, modding or redistribution notes anywhere in his mod package. Chris hasn't been active here since July 23, 2013.

Original mod thread references ...
Quote from: Kindred
March 11, 2010 (page 23)
If someone else with coding knowledge wants to take over this mod, I consider Chris to have abandoned it and I offer my interest in it to someone who is willing to take it over.

April 08, 2010 (page 23)
Chris took the mod over from me...   and has since abandoned it...   I consider this mod fair game...

Quote from: Chris Curran
October 14, 2010 (page 24)
If you guys want it for 2.x, then dl the code and modify it (then fight with the lords to be about the position of the curly braces). I did the heavy lifting already...

Considering the above ... and that almost 7 years have passed ... I will assume this mod is still "fair game" and that Chris's last post pretty much confirmed that. If I do get around to releasing updated packages I would definitely provide an historical timeline with the package noting Chris's work. Being a developer on other open source projects, I know the drill.  ;)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 53,902
  • Gender: Male
    • Kindred-999 on GitHub
Re: Recurring Events for SMF Calendar
« Reply #9 on: February 22, 2017, 04:29:35 AM »
The smf versioning makes complete sense...   you are looking at two different release branches
1.1.x and 2.0.x

1.0.x is dead. There has been no development or support since the release of 2.0
1.1.x is at end of life. There is no further development and limited support. Death will be declared when 2.1 is released.
2.0.x is in support only mode. There is no further development except to latch security issues and the occasional critical bug fix. Support, however, will continue for the foreseeable future.

2.1 is the current development branch and is currently in beta release. (Beta 3 is due out shortly)
And no... the calendar updates did not make it into the branch.


As for the code...   yeah, chris' comment does seem to release it
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.