Wochen Plan Plugin

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Wochen Plan Plugin

Post by Tata » Sat Feb 18, 2017 10:50 pm

Noch habe icih mit dem sitr_plugin gespielt und etwas anderes gebastellt. Nur habe ich wenig Lust eine HilfeDatei zu schreiben, so hier ist das
[url=http://w_plan_plugin.cmsimple.sk/sk/]DEMO[/url] und [url=http://w_plan_plugin.cmsimple.sk/userfiles/downloads/w_plan.zip]DOWNLOAD[/url]
Falls jemand interessiert ist, ruhig downloaden und testen/nutzen.
Im Prinzip funktioniert es. Doch sind da bestimmt einige "Leichen" aus dem vorigen Plgin geblieben. Die werde ich später entfernen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Wochen Plan Plugin v1.0b

Post by Tata » Mon Feb 20, 2017 12:09 pm

Weiter gebastellt.
Changelog:
Weekend unf Frei Tag gewertet.
Einige Bugs behoben.
[url=http://w_plugin_pro.cmsimple.sk]DEMO[/url] und [url=http://w_plugin_pro.cmsimple.sk/userfiles/downloads/w_plan_pro_v1.0b.zip]DOWNLOAD[/url]
Feedback und Hinweise wilkommen.
Besonders die Auswertung der freien Tage und Weekends macht mich noch immer nicht sicher.
EDIT:
Andere Bugs behoben - die Lokalisation funktionierte nicht korrekt. Jezt EN, DE, CZ und SK sollten laufen.
[url=http://w_plugin_pro.cmsimple.sk/userfiles/downloads/w_plan_pro_v1.0b.zip]DOWNLOAD[/url] oder auf der Seite (Link Oben)
To DO:
admin.php korrigieren
HilfeDatein aktualisieren
Hoffentlich diese Woche.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Wochen Plan Plugin XH

Post by Tata » Mon Feb 20, 2017 10:48 pm

There is new version finished.
Changelog:
1. Plugin renamed to WeekPlan_XH - for better informing about its functionality.
2. Functions and variables renamed.
3. Language files adjusted.
4. Translations made for EN, DE, CS, SK
5. Help file finished.
New URL for: [url=http://week_plan_xh.cmsimple.sk/]DEMO[/url] and [url=http://week_plan_xh.cmsimple.sk/userfiles/downloads/week_plan_xh_v1.0b.zip]DOWNLOAD[/url]
Important is to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.

And huge thank goes to Chris for showing the lilght on the end of a tunnel.

Note: This plugin actually replaces the [url=http://sitr_plugin.cmsimple.sk/]sitr plugin[/url].
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Wochen Plan Plugin

Post by Tata » Wed Feb 22, 2017 9:04 pm

New version available.
Changelog:
1. Code simplified and richly commented.
2. New Option added - it is now optional, if the program of next day shall be published after a daily program is off (also during weekend and free days).
[url=http://week_plan_xh.cmsimple.sk/]DEMO[/url] and [url=http://week_plan_xh.cmsimple.sk/userfiles/downloads/week_plan_xh_v1.3b.zip]DOWNLOAD[/url]
Important is to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.
To do:
Find the way of filtering free days and weekends in week plan.
New problem occured:
Since now, the time on my local WIN7-PC was fully synchronized with the server(can§t test it on iMAC right now). Suddenly the time on localhost ist 1 hour back now. WIN7 switches the summer/winter time automatically and it's not yet time for swithing.
EDIT
Testing the page on localhost on iMAC, the problem doesn't occure. So it must be something with the PHP on WIN7NB, because other application show the correct time.
Any hint what under PHP7 may cause the ignorance of summer/winter time?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Wochen Plan Plugin

Post by Tata » Wed Feb 22, 2017 11:34 pm

Thank to oldnema's testing small bugs and one not working feature were corrected.
New version available.
[url=http://week_plan_xh.cmsimple.sk/]DEMO[/url] and [url=http://week_plan_xh.cmsimple.sk/userfiles/downloads/week_plan_xh_v1.4b.zip]DOWNLOAD[/url]
Still, it is Important to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

oldnema
Posts: 265
Joined: Wed Jan 21, 2009 5:15 pm
Location: Czech Republic
Contact:

Re: Wochen Plan Plugin

Post by oldnema » Thu Feb 23, 2017 8:23 am

Handy little plugin, thank you Martin!
Josef
Nobody knows how much time he has left ...
http://oldnema.compsys.cz/en/?Demo_templates

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Wochen Plan Plugin

Post by Tata » Thu Feb 23, 2017 7:44 pm

Thank to oldnema's testing again small bugs were corrected and one new feature extended.
Changelog:
Publishing 'next day' is optional never | today | always.
Options:
empty or 'never' > the program for next day is never published
today > the program for next day is published only after today stopTime
always > the program for next day is show all the time

New version available.
[url=http://week_plan_xh.cmsimple.sk/]DEMO[/url] and [url=http://week_plan_xh.cmsimple.sk/userfiles/downloads/week_plan_xh_v1.6b.zip]DOWNLOAD[/url]
Still, it is Important to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 12931
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Wochen Plan Plugin

Post by cmb » Thu Feb 23, 2017 7:50 pm

Tata wrote:Still, it is Important to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.
At least in theory these tests could be automated; it's even possible to mock the time() function, so the tests could pretend to run on any date/time.
Christoph M. Becker –Plugins for CMSimple_XH

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Wochen Plan Plugin

Post by Tata » Sat Feb 25, 2017 10:48 pm

After a couple of testing days (thanks to oldnema), hopefully tha last beta is released.
v1.7beta
Changelog:
1. I have found some of variables and internal test redundant. Removed are:
Free_days, Holidays and Weekends - the reason is, that the daily programs must be written anyway. Separate stting of all sorts of "free day" made it confusing, if in the Week Plan were some programs written for free daus and at the same time in the newsbox was published the announce about a free day. This also made it simpler to work with the plugin.
2. Relevant language and config strings were also removed/added.
3. The newsbox may have its heading defined in language file. Showing the heading is optional (conficuration).

[url=http://week_plan_xh.cmsimple.sk/]DEMO[/url] and [url=http://week_plan_xh.cmsimple.sk/userfiles/downloads/week_plan_xh_v1.7b.zip]DOWNLOAD[/url]
Still, it is Important to test all possible circumstances: day times, days in week, free days and weekend.
Any feedback is appreciated.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply