Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calendar plugin
#76
(2013-07-25, 17:01:42)info@svdbweb.nl Wrote: Thanks for your work on this plugin.

I received an error on saving a calendar item

Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in /admin/inc/basic.php on line 64

In admin_edit.php line 11, I found a typo:
Code:
$file = to7bit($file, 'UFT-8');

changed it to:
Code:
$file = to7bit($file, 'UTF-8');

Sander van den Berg

you're using an older version, actual v1.8 has this bug fixed
Reply
#77
Added a check for available calendarevents in client_calendarEvents.php:

Code:
function c_calendarEventsCheck(){
    $dir = opendir(GSDATAOTHERPATH.'/calendar');
    $file = readdir($dir);
    if($file != '.' and $file != '..'){
        if ($file){
            return true;
        }else{
            return false;
        }
    }
}

Example usage:

Code:
if(c_calendarEventsCheck()){
//show content
}
Reply
#78
Hello Calender fans,

I also installed the plugin in combination with CKeditor 4.2 (Full). I'm not not able to edit the content field from a event.

The content field simply does no appear in the adminstration interface.
Al the directories does have the good rights.

Any idea?

calendar version: 1.8
cms version: 3.2.2
Reply
#79
Got another issue;
Calendar event is being duplicated when editing that event.

to reproduce;
- insert event and save it
- change event date (havent tried other fields) and save it

Result;
- event is duplicated to new date and the original event is not removed.

calendar version: 1.8
cms version: 3.2.2
Reply
#80
I came up with this sollution to delete the post that is edited so no duplicates can occure;

added in /plugins/calendar/inc/admin_edit.php at line 11
Code:
if(empty($file)){
    $file = $_GET['edit'];
    $file = stripslashes($file);
    $file = to7bit($file, 'UTF-8');
    $file = clean_url($file);
    if(file_exists(GSDATAOTHERPATH.'/calendar/'.$file.'.xml')) {        
        unlink(GSDATAOTHERPATH.'/calendar/'.$file.'.xml');
    }
}
Reply
#81
Hello,

is it possible to use the calendar with events longer than one day?
I would like to use it for a booking calendar for a hostel. So i need more than one event
on one day.

For example:

room 1 = booking from 16.10.13 - 25.10.13 client: Mrs. X
room 2 = booking from 14.10.13 - 20.10.13 client: Mr. Y
etc.

Is it possible to do this with the plugin ?

If possible but i think that it is the easiest one i need it only internal to manage the bookings that we don´t make bookings for 1 room double for the same time.

Hope anyone can help.

Harald
Reply
#82
no one has any idea what i can must do to get the function which i like to have with this plugin?

Or is it not possible?
Reply
#83
Hi,
Is there a way to have the calendar using Sunday as the first day of the week?
I couldn't find any configuration/settings that can apply.
Reply
#84
I'd really like to be able to have some content on the same page as the calendar, but it seems it's either content or calendar, not both. What I'd really, really like is to be able to use the p01-contact plugin on the same page as the calendar. Any suggestions?
Reply
#85
Hi, I translated calendar to a czech language.

Thanks for excellent plugin!!!


Attached Files
.zip   cs_CZ.zip (Size: 867 bytes / Downloads: 0)
Reply
#86
Is there any hope that you attach to the plugin ckeditor?
Reply
#87
(2014-03-30, 05:03:08)Oleg06 Wrote: Is there any hope that you attach to the plugin ckeditor?


what do you mean a hope?
callendar plugin is working with ckeditor
screen:
https://dl.dropboxusercontent.com/u/4998...lendar.jpg
user plugin: scroll to top
Reply
#88
strangely https://www.dropbox.com/s/vsemdic3rig9la....52.42.png
Reply
#89
(2014-03-30, 06:55:05)Oleg06 Wrote: strangely https://www.dropbox.com/s/vsemdic3rig9la....52.42.png

what version of getsimple You using ?
what version of Calendar plugin ?
and try disable all other instaled plugin's, then activate only a plugin calendar.. maybe is some conflict with already instaled plugins...
user plugin: scroll to top
Reply
#90
seem editor disabled when enable debug plugin
Reply
#91
I did some work on your plugin, now it looks like there is no error appears
http://getsimplecms.ru/demo/0/
download
http://getsimplecms.ru/data/uploads/plug...lendar.zip
Reply
#92
Is there a way to make the month name larger. I have looked through all of the css files associated with the calendar plugin and cannot find it.

I am using the plugin for a college web design class.
Reply
#93
is it possible to use Fancy url?
Reply
#94
Hi,

just found a nasty bug someone used to dos my webserver.
In calendar/inc/calendar.php:10 there is a loop iterating over an check for a valid date to determine the number of days in a given month of a year.

When a page is accessed with a ridiculous low value (e.g. 1387), this loop never ends.

Problem:
$days = 31;
while (!checkdate($month, $days, $year)) $days--;
return $days;

Solution:
$days = 31;
while ($days > 0 && !checkdate($month, $days, $year)) $days--;
return $days;

Regards,
Simon
Reply
#95
When I try to use <?php c_calendarEvents(); ?> I have a error in log:
Notice: Undefined variable: events_list in /Users/akd/Documents/Sites/plugins/calendar/inc/client_calendarEvents.php on line 74
Reply
#96
one more:
[07-Aug-2014 00:05:27 Asia/Kolkata] PHP Notice: Undefined variable: SITEURL in /Users/akd/Documents/Sites/plugins/calendar/inc/admin_edit.php on line 112
Reply
#97
The Calendar plugin has issues with some plugins and code snippets, e.g. functions like getPageContent , News Manager Addons' nm_custom_... display functions and possibly other plugins (those that use GetSimple's 'content' filter)
(Reported by user and olsv64 at the Russian forum)

A workaround: insert this code in your template or component (before the display function):
Code:
<?php
global $filters;
foreach ($filters as $i => $row)
  if ($row['function'] == 'c_client_calendar')
    unset($filters[$i]);
?>
Reply
#98
Hello,

Nice plugin!

How can I add '<prev' and 'next>' links in the mini calendar?

Regards
Reply
#99
Hello,
thank you for your work on this plugin !!
I want to ask is it possible to to make events disappear from event list after their expiration date ?
I have events that were couple days ago and they still show on event list in my sidebar.
Thank you for your time.
Reply
Hi
I just installed the Calendar plugin, it works when I add an Event, but when I click on the Event in the miniCalendar it just refreshes the page. For example it gives me "<a href="index.php?id=">4</a>" .
What am I doing wrong ?

Lazlo
Reply




Users browsing this thread: 2 Guest(s)