Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 18, 2010, 08:52:13 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es
hier
.
110337
Posts in
15934
Topics by
9292
Members
Latest Member:
a52de940fu
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
Ztarcal
Pages:
[
1
]
2
Author
Topic: Ztarcal (Read 13065 times)
ztar
Offline
Posts: 41
Ztarcal
«
on:
December 30, 2005, 09:09:03 PM »
As its Christmas, and a holiday, I thought I would brush off Ztarcal, and bring it into the new year:
New features: No longer requires Pear
Accepts event descriptions longer than 255 characters.
WB 2.61 compatable.
Please leave feedback if you wish to beta test.
Ztar
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #1 on:
December 30, 2005, 09:14:58 PM »
Quote from: ztar on December 30, 2005, 09:09:03 PM
As its Christmas, and a holiday, I thought I would brush off Ztarcal, and bring it into the new year:
New features: No longer requires Pear
Accepts event descriptions longer than 255 characters.
WB 2.61 compatable.
Please leave feedback if you wish to beta test.
Ztar
A url would also help..
http://www.ztar.com.au/wb/
Ztar
Logged
pcwacht
Guest
Re: Ztarcal
«
Reply #2 on:
December 30, 2005, 10:56:20 PM »
Demo looks impressive!
Just 2 quick questions comes to mind:
1 - whole year in page, could it be reduced to current mont and maybe next month? (speed building page)
2 - Could public adding events be disabled?
John
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Ztarcal
«
Reply #3 on:
December 30, 2005, 11:32:47 PM »
Hi ztar,
indeed a nice mod ... I just had a quick look, does the day finish at 5:30 PM or can you set this in the module settings (like, Mo to Fr day ends 8PM, Sa & Su day ends at 5PM ... etc ...)?
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #4 on:
December 31, 2005, 12:11:09 AM »
Quote from: pcwacht on December 30, 2005, 10:56:20 PM
Demo looks impressive!
Just 2 quick questions comes to mind:
1 - whole year in page, could it be reduced to current mont and maybe next month? (speed building page)
2 - Could public adding events be disabled?
John
1. Backend configurable - Year, Month or Day
2. Yes, that is next step
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #5 on:
December 31, 2005, 12:12:02 AM »
Quote from: kweitzel on December 30, 2005, 11:32:47 PM
Hi ztar,
indeed a nice mod ... I just had a quick look, does the day finish at 5:30 PM or can you set this in the module settings (like, Mo to Fr day ends 8PM, Sa & Su day ends at 5PM ... etc ...)?
cheers
Klaus
Backend configuration not complete - I am open to suggestions
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Ztarcal
«
Reply #6 on:
December 31, 2005, 08:37:50 AM »
rrright ... that sounds like it:
1 - Start & Endtime of day customisable
2 - maybe possible to set "beginning of the week"
3 - output options month, quarter, half and full year?
4 - what pcwacht also wrote the adding option customisable.
I think this would be great options. Do you thik it is possible to automatically import/assign bankholidays (I think this one would be a bit tricky for the diferent counties though, since you would need the import resources and make it customisable ...).
I wish you a happy and productive new year, cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
Ditto
Offline
Posts: 19
Re: Ztarcal
«
Reply #7 on:
February 09, 2006, 04:36:41 PM »
I would very much like to beta test your calendar module, if possible. For some reason the module called Events doesn't work with my installation so I'm kind of left without anything.
Thanks in advance!
Logged
Ed
Offline
Posts: 49
Re: Ztarcal
«
Reply #8 on:
March 06, 2006, 02:05:16 PM »
Hey there, this module is just what i have been looking for
how do i get my hands on it ?
Thanks
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #9 on:
March 06, 2006, 03:56:55 PM »
Quote from: Ed on March 06, 2006, 02:05:16 PM
Hey there, this module is just what i have been looking for
how do i get my hands on it ?
Thanks
I have been busy with commercial projects that have had priority over my hobby
Start and endtime are now customisable for each day of the week
Start of week fixed at this stage.
Multi-level access control.
Release in about a week or so...
Ztar
Logged
pcwacht
Guest
Re: Ztarcal
«
Reply #10 on:
March 06, 2006, 07:03:53 PM »
Kewl
Logged
MrRedlich
Offline
Posts: 73
Re: Ztarcal
«
Reply #11 on:
March 06, 2006, 11:41:30 PM »
Click on language german = header is S M T W T F S
correct for german is S M D M D F S maybe better So Mo Di Mi Do Fr Sa or Mo Di Mi Do Fr Sa So
Maybe usefull
GERMAN, ENGLISH, FRENCH, SPANISH, ITALIAN, PORTUGAL,
Sonntag = Sunday = Dimanche = Domingo = Domenica = Domingo
Montag = Monday = lundi = Lunes = Lunedì = Segunda-feira
Dienstag = Thursday = mardi = Martes = Martedì = Terça-feira
Mittwoch = Wednesday = mercredi = Miércoles = Mercoledì = Quarta-feira
Donnerstag = Thursday = jeudi = Jueves = Giovedì = Quinta-feira
Freitag = Friday = vendredi = Viernes = Venerdì = Sexta-feira
Samstag = Saturday = samedi = Sábado = Sabato = Sábado
Logged
I nur speek Deutsch
Ich only spreche German
centran
Offline
Posts: 76
Re: Ztarcal
«
Reply #12 on:
March 07, 2006, 01:02:25 AM »
You basta...
Is this forum family friendly?
Wish I saw this post earlier. I didn't think a nice intergrated calendar would happen anytime soon.
I just bought easyphpcalendar and this module looks like it could have done the job and I would have been able to keep everything to one admin page.
Oh well. Just do not put in hover over popup windows and I will feel that my money was well spent.
BTW, the calendar shows up differently on IE then firefox. In firefox the boxes are tiny compared to IE. I assume IE is correct; which means you somehow coded it correctly for IE and not firefox. Bravo! That is impressive because usally things show up correctly in firefox and not IE.
«
Last Edit: March 07, 2006, 01:13:13 AM by centran
»
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #13 on:
March 08, 2006, 11:09:13 PM »
Quote from: MrRedlich on March 06, 2006, 11:41:30 PM
Click on language german = header is S M T W T F S
correct for german is S M D M D F S maybe better So Mo Di Mi Do Fr Sa or Mo Di Mi Do Fr Sa So
Maybe usefull
GERMAN, ENGLISH, FRENCH, SPANISH, ITALIAN, PORTUGAL,
Sonntag = Sunday = Dimanche = Domingo = Domenica = Domingo
Montag = Monday = lundi = Lunes = Lunedì = Segunda-feira
Dienstag = Thursday = mardi = Martes = Martedì = Terça-feira
Mittwoch = Wednesday = mercredi = Miércoles = Mercoledì = Quarta-feira
Donnerstag = Thursday = jeudi = Jueves = Giovedì = Quinta-feira
Freitag = Friday = vendredi = Viernes = Venerdì = Sexta-feira
Samstag = Saturday = samedi = Sábado = Sabato = Sábado
Currently the Day of Week display (SMTWTFS) is hard coded, as the output did not look correct when using the set language function in PHP date() function. I will re-activate.
Ztar
Logged
wwwMARKLEYcouk
Offline
Posts: 287
Re: Ztarcal
«
Reply #14 on:
March 23, 2006, 09:39:05 AM »
hows this moduel coming along? nearly ready?
Logged
http://www.markley.co.uk
webhosting packages available
bockbagock
Offline
Posts: 2
Re: Ztarcal
«
Reply #15 on:
July 18, 2006, 10:09:05 PM »
Status... where is the cal at for DL
Logged
marccouture
Offline
Posts: 210
Re: Ztarcal
«
Reply #16 on:
July 19, 2006, 02:17:01 AM »
Wow, that is EXACTLY what I am looking for in a calendar. I'd gladly test this out.
Logged
Marc C.
Ditto
Offline
Posts: 19
Re: Ztarcal
«
Reply #17 on:
July 29, 2006, 02:32:05 AM »
Bump! I'd be glad to beta-test as well.
Logged
brownj
Offline
Posts: 18
Re: Ztarcal
«
Reply #18 on:
July 30, 2006, 09:04:01 PM »
Also, I!
J
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #19 on:
July 31, 2006, 12:33:53 PM »
For all that are interested, here is a zip that may or may not work.. I don't have time to do any more than upload what is running on the test site.
INSTALL AT YOUR OWN RISK.
The module will be installed as "calendar"
Unregistered users can view from front end, Registered users in the correct group and logged in can create/modify events.
Backend has config for start/finish times
Language display will depend on server OS etc..
Ztar
Logged
bockbagock
Offline
Posts: 2
Re: Ztarcal
«
Reply #20 on:
July 31, 2006, 03:30:31 PM »
Thanks
Logged
Ditto
Offline
Posts: 19
Re: Ztarcal
«
Reply #21 on:
July 31, 2006, 09:08:54 PM »
Thank you so much!
The module installed flawlessly. I created a page (public) using the Calendar and set a start and end time for each day. I set it to "month" view and went to look at the page I'd just created and saved.
I get the following error:
Fatal error:
Call to a member function on a non-object in
/home/sitename/public_html/modules/calendar/class.calendar.php
on line
255
I went to that line in class.calendar.php and this is what it says:
Code:
$numberOfEvents = $events->numRows();
The entire routine that line 255 is a part of says:
Code:
function check_events($eMonth="1", $eYear="2005"){
global $database;
if(strlen($eMonth) == 1) $eMonth = "0".$eMonth;
$sql = "SELECT * FROM `".TABLE_PREFIX."mod_cal_events` WHERE `edate` LIKE '".$eYear."-".$eMonth."%'";
$events = $database->query($sql);
$numberOfEvents = $events->numRows();
if($numberOfEvents > 0) {
while ( $v = $events->fetchRow()) {
$ddd = explode(" ",$v['edate']);
$dte = explode("-",$ddd[0]);
$tme = explode(":",$ddd[1]);
$hm = $tme[0].":".$tme[1];
$event_day[$dte[2]][$v['event_id']] = $v["edescription"];
}
}else{
$event_day = array();
}
Hope that helps locate the problem!
Logged
marccouture
Offline
Posts: 210
Re: Ztarcal
«
Reply #22 on:
August 02, 2006, 03:30:41 PM »
Install works fine, but no calendar is displayed, even after I change available options (Day/Month/Year view, times).
Logged
Marc C.
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #23 on:
August 02, 2006, 04:12:24 PM »
Quote from: Ditto on July 31, 2006, 09:08:54 PM
I get the following error:
Fatal error:
Call to a member function on a non-object in
/home/sitename/public_html/modules/calendar/class.calendar.php
on line
255
I went to that line in class.calendar.php and this is what it says:
Code:
$numberOfEvents = $events->numRows();
The entire routine that line 255 is a part of says:
Code:
function check_events($eMonth="1", $eYear="2005"){
global $database;
if(strlen($eMonth) == 1) $eMonth = "0".$eMonth;
$sql = "SELECT * FROM `".TABLE_PREFIX."mod_cal_events` WHERE `edate` LIKE '".$eYear."-".$eMonth."%'";
$events = $database->query($sql);
$numberOfEvents = $events->numRows();
if($numberOfEvents > 0) {
while ( $v = $events->fetchRow()) {
$ddd = explode(" ",$v['edate']);
$dte = explode("-",$ddd[0]);
$tme = explode(":",$ddd[1]);
$hm = $tme[0].":".$tme[1];
$event_day[$dte[2]][$v['event_id']] = $v["edescription"];
}
}else{
$event_day = array();
}
Hope that helps locate the problem!
It needs error checking on the results of the query
As I was working on a populated database, it was not failing at this point.
eg:
if(results from database) {
populate array;
} else {
initialize array;
}
As it is over six months since I have looked at WB code, you will need to ask someone else what the relative $database error function is.
Logged
ztar
Offline
Posts: 41
Re: Ztarcal
«
Reply #24 on:
August 02, 2006, 04:15:04 PM »
Quote from: marccouture on August 02, 2006, 03:30:41 PM
Install works fine, but no calendar is displayed, even after I change available options (Day/Month/Year view, times).
If you have errors suppressed in your php.ini file, you will not see the error mentioned above.
Currently the code breaks when it checks for existing events as there are none.
(see previous post)
Logged
Pages:
[
1
]
2
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
Loading...