-
This worked for me (as above)
function cal_clear_permissions(){
global $cal_permissions;
// originally set all permissions to false
$cal_permissions['read'] = TRUE;
$cal_permissions['write'] = FALSE;
$cal_permissions['edit'] = FALSE;
$cal_permissions['editothers'] = FALSE;
$cal_permissions['editpast'] = FALSE;
$cal_permissions['readothers'] = TRUE;
$cal_permissions['remind_get'] =...
2009-10-30 15:21:22 UTC by https://www.google.com/accounts
-
Ahem, that's the "mysql\_get\_server\_info()" function.... stupid markdown.
2009-09-21 19:06:23 UTC by liquidpele
-
That's weird...
I get the version of SQL server by a function in /databases/mysql.php called sql_version():
http://reececalendar.svn.sourceforge.net/viewvc/reececalendar/branches/Version%200.9/databases/mysql.php?revision=1&view=markup
I essentially just use the mysql_get_server_info() php function, and parse the results from that to find the version.
You can run that manually...
2009-09-21 19:04:50 UTC by liquidpele
-
I am using the latest version of Xampp with has MySQL 5.1.37, PHP 5.3.0 and after following the installation instructions exactly. The SQL tables were created, permissions checked out, verified versions of everything, and double checked the changed .
http://localhost/cal/index.php -
Message:
"Your Database version must be at least 4.1.1
Aborting Calendar Script"
What am I...
2009-09-21 18:39:02 UTC by busysignal
-
I've identified antother minor Bug.
In the event.php file you use the $dayname variable. If you use the native language of the calendar that is no problem. But if you localize it, you get instead of german danames only the english ones.
Perhaps you could work in the event.php file also with variables. so if you switch to german you coul activate this script...
<?php
$gwd = array(.
2009-08-06 09:19:50 UTC by rumtifusel
-
Holiday repeating is like "the second tuesday in October".
2009-08-05 18:10:37 UTC by liquidpele
-
If you add a new Event you can chose the type of repeating. What is the difference between "Holiday Repeating" and "Repeating Yearly"?.
2009-08-05 15:26:06 UTC by rumtifusel
-
they are nearly identical ;-)
but in this line is a little mistake:
define("CAL_DESCRIPTION_ERROR","Die Beschreibung darf nicht mnehr als 3000 Zeichen umfassen.");
and here the correct version:
define("CAL_DESCRIPTION_ERROR","Die Beschreibung darf nicht mehr als 300 Zeichen umfassen.");.
2009-08-05 14:16:26 UTC by rumtifusel
-
The file "viewdate.php" contains in line 94 the phrase:
"Are you sure you wish to delete this event?"
This phrase has to be updated manually, if you want to localize verision 0.9 into another language than english.
Wouldn't it be better, if this phrase works by a variable and gets it content out of the language folder and the active language (eg. german.php)?
Greet.
2009-08-05 14:11:26 UTC by rumtifusel
-
Thank you.... but I did already have a german translation in the SVN Trunk, along with some other languages:
http://reececalendar.svn.sourceforge.net/viewvc/reececalendar/trunk/languages/
Do you think yours is better? I have no idea!
2009-08-05 14:10:16 UTC by liquidpele