GetSimple Support Forum
Calendar plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Calendar plugin (/showthread.php?tid=2650)

Pages: 1 2 3 4 5


RE: Calendar plugin - gregorba - 2013-07-25

(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


RE: Calendar plugin - info@svdbweb.nl - 2013-07-25

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
}



Calendar plugin - Can not edit content - ReBo - 2013-08-29

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


RE: Calendar plugin - info@svdbweb.nl - 2013-08-29

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


RE: Calendar plugin - info@svdbweb.nl - 2013-08-30

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');
    }
}



RE: Calendar plugin - phpman - 2013-10-17

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


RE: Calendar plugin - phpman - 2013-10-19

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?


RE: Calendar plugin - HagayM - 2013-11-04

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.


RE: Calendar plugin - thisnthat - 2013-11-08

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?


RE: Calendar plugin - bukac - 2014-03-28

Hi, I translated calendar to a czech language.

Thanks for excellent plugin!!!


RE: Calendar plugin - Oleg06 - 2014-03-30

Is there any hope that you attach to the plugin ckeditor?


RE: Calendar plugin - xxdex - 2014-03-30

(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/49983884/in/i18n/callendar.jpg


RE: Calendar plugin - Oleg06 - 2014-03-30

strangely https://www.dropbox.com/s/vsemdic3rig9lad/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-03-30%2000.52.42.png


RE: Calendar plugin - xxdex - 2014-03-30

(2014-03-30, 06:55:05)Oleg06 Wrote: strangely https://www.dropbox.com/s/vsemdic3rig9lad/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-03-30%2000.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...


RE: Calendar plugin - Oleg06 - 2014-03-30

seem editor disabled when enable debug plugin


RE: Calendar plugin - Oleg06 - 2014-03-30

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/plugins/calendar.zip


RE: Calendar plugin - terri2uus - 2014-04-07

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.


RE: Calendar plugin - Oleg06 - 2014-04-26

is it possible to use Fancy url?


RE: Calendar plugin - bratkartoffel - 2014-06-04

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


RE: Calendar plugin - akd - 2014-08-07

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


RE: Calendar plugin - akd - 2014-08-07

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


RE: Calendar plugin - Carlos - 2015-01-05

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]);
?>



RE: Calendar plugin - tuxy - 2015-01-20

Hello,

Nice plugin!

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

Regards


RE: Calendar plugin - TrueWarrior - 2015-01-26

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.


RE: Calendar plugin - lazlo - 2015-03-03

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