No End Date – for recurring tasks

Viewing 3 reply threads
  • Author
    Posts
    • #4819
      Pablo Malavenda
      Participant

      We need four volunteers every evening – 365 days a year. It would be great to just “click” today to “no end date.”

    • #4823
      Stephen Sherrard
      Keymaster

      While I agree that would be a nice feature to have, it’s simply not possible with the current database structure of this plugin (which was born as a fork from another plugin that had already setup the basic database table structure).

      It would require some fairly massive re-writing of the code, or, at the very least, creating a new sheet type with its own separate database table and separate functions to handle all the display and sign-up functions (both on public and admin side). Either way, still quite a bit of extra coding to make it all work.

      Something specific, like what you need with 4 volunteers for every evening for every day of the year, is probably better off being handled by a custom programmed solution, like I have done for other organizations.

      I will leave this here, along with all the other feature requests, although the chances of me adding something like this to this free plugin (which generates no revenue or even donations), are extremely small. But, since the plugin is open source, other programmers may want to take some of these feature requests ideas and run with them.

    • #4825
      Pablo Malavenda
      Participant

      Stephen

      Thanks for the quick reply. I understand completely. Perhaps an easier solution for my needs would be to increase the number of recurring dates one may select. I was only able to add a daily listing from now until September 25th. I would at least like to have 3-6 months listed. Is this possible?

      Thanks again…and thanks for this plugin — it has been a big help for our nonprofit.

      Pablo

    • #4829
      Stephen Sherrard
      Keymaster

      Unfortunately, all the dates for a recurring event are stored in one database text field, and there is a limit as to the size of that text field. It actually used to be even smaller, but when we couldn’t add enough dates for one of our school’s events, I increased that field type to VARCHAR(500).

      I’m not sure how much larger you could make that field without it slowing things down, but you could try manually editing the database fields definitions, and perhaps switch it to type LONGTEXT, which is what is used for the sheet description (like a normal post content field). It’s the ‘dates’ field in the tasks table, which is the second database table. Definition is in the main plugin file on line 382.

      You can increment the database version number to force it to update, or deactivate/reactivate, and that should update the tables with any changes you make. Could also try updating that field type with any database tools you have for your server, such as PHPMyAdmin.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.