Page 1 of 1

Wochen Plan Plugin

Posted: Sat Feb 18, 2017 10:50 pm
by Tata
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.

Wochen Plan Plugin v1.0b

Posted: Mon Feb 20, 2017 12:09 pm
by Tata
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.

Re: Wochen Plan Plugin XH

Posted: Mon Feb 20, 2017 10:48 pm
by Tata
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].

Re: Wochen Plan Plugin

Posted: Wed Feb 22, 2017 9:04 pm
by Tata
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?

Re: Wochen Plan Plugin

Posted: Wed Feb 22, 2017 11:34 pm
by Tata
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.

Re: Wochen Plan Plugin

Posted: Thu Feb 23, 2017 8:23 am
by oldnema
Handy little plugin, thank you Martin!
Josef

Re: Wochen Plan Plugin

Posted: Thu Feb 23, 2017 7:44 pm
by Tata
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.

Re: Wochen Plan Plugin

Posted: Thu Feb 23, 2017 7:50 pm
by cmb
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.

Re: Wochen Plan Plugin

Posted: Sat Feb 25, 2017 10:48 pm
by Tata
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.