sproctor / php-calendar Goto Github PK
View Code? Open in Web Editor NEWPHP-Calendar
Home Page: http://www.php-calendar.org/
License: Apache License 2.0
PHP-Calendar
Home Page: http://www.php-calendar.org/
License: Apache License 2.0
Hi, I've embedded the calendar into one of my web pages which works fine. However, as soon as any of the navigaton links (i.e last month, %month name% ro display event) are used, the calendar redirects to it's vanilla index.php.
Is there a way of maintaining the embedded view throughout?
Thanks,
Dan
Hi, great product, very useful! Spotted a fairly obvious bug tho -
Error
Malformed time in "end" date.
Backtrace
#0 D:\uniformserver\UniServer\www\calendar\includes\occur_form.php(196): soft_error('Malformed time ...')
#1 D:\uniformserver\UniServer\www\calendar\includes\occur_form.php(115): get_timestamp('end')
#2 D:\uniformserver\UniServer\www\calendar\includes\occur_form.php(31): process_form()
#3 D:\uniformserver\UniServer\www\calendar\includes\calendar.php(679) : eval()'d code(1): occur_form()
#4 D:\uniformserver\UniServer\www\calendar\includes\calendar.php(679): eval()
#5 D:\uniformserver\UniServer\www\calendar\includes\calendar.php(625): do_action()
#6 D:\uniformserver\UniServer\www\calendar\index.php(77): display_phpc()
#7 {main}
Users should have a default calendar for the case where the site wants one calendar per user. Initial issue https://code.google.com/p/php-calendar/issues/detail?id=29
Support the dynamic changes of language via pot compiled files (*.mo) instead of using the localization script? http://php.net/manual/en/book.gettext.php
On the calendar vvie can be detected the span on different days so that could be presented as on first day "from 5:00 PM - eventName" (if occupies all second day "all day - eventName") on final day "till 6:00 PM - eventName"
it would be acceptable to put like (continued) on subsequent events.
have a select widget instead of an open text field
If no title is given during installation there's a notice
Notice: Undefined index: title in [cut]\includes\phpccalendar.class.php on line 35
$result should have defaults?
I'm working on this now. It might be worthwhile generalizing it to import calendars on the current version as well.
Option to send notifications regarding an event to selected users via email.
Now every user is a separate calendar, recommend to add in my calendar event can add other users, then put the other user's calendar list changes at the same time, English is not very good, don't know if I describe clearly
When calendar isn't in the topmost folder, jpicker images don't appear due to the hardcoded values in the javascript.
Must be configured via the settings in the main call
http://www.digitalmagicpro.com/jPicker/
More, if there's a click on the input box, could be called the picker (must be written a callback on the onclick event)
Markdown lib http://michelf.ca/projects/php-markdown/
Idea taken from https://code.google.com/p/php-calendar/issues/detail?id=70
After a failed installation. I checked the option "Drop tables" to avoid any creation error message. The result was to see all my table gone.
Disable the option before you can fix the bug !
error
Edit categories error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`gid`='1'
WHERE `catid`='1'' at line 6
SQL : UPDATE phpar_categories
SET
`name`='TEST6',
`text_color`='#232121',
`bg_color`='#bc3838'
`gid`='1'
WHERE `catid`='1'
#0 C:\xampp\htdocs\phpar\includes\phpcdatabase.class.php(795): PhpcDatabase->db_error('???????????????...', 'UPDATE phpar_ca...')
#1 C:\xampp\htdocs\phpar\includes\category_submit.php(72): PhpcDatabase->modify_category('1', 'TEST6', '#232121', '#bc3838', '1')
#2 C:\xampp\htdocs\phpar\includes\calendar.php(713) : eval()'d code(1): category_submit()
#3 C:\xampp\htdocs\phpar\includes\calendar.php(713): eval()
#4 C:\xampp\htdocs\phpar\includes\calendar.php(659): do_action()
#5 C:\xampp\htdocs\phpar\index.php(78): display_phpc()
#6 {main}
Users can easily get to these. The ones I'm thinking of are in get_timestamp(). Any error that can be seen without modifying the URL shouldn't display a backtrace.
Just for master branch, according the comment for latest commit of user_create.php file:
'Move create user form to its own page'.
user_create.php has changed its workflow like other form page:
'If form.submit_form exists, then invoke function process_form()'.
However there is NO hidden field 'submit_form' at all in the form constructed by function display_form().
After submitting the form, nothing will be done but displaying an empty one.
Thought you might be interested. This error pops up in the error log when entering, deleting or modifying an event
[18-Aug-2013 12:37:29 America/New_York] PHP Catchable fatal error: Object of class Html could not be converted to string in /home/~user/public_html/calendar2/includes/util.php on line 72
PHP Version 5.4.17
MySQL Version 5.5.32
Apache 2.2.25
An operation should fail if it would leave no more admins (revoking admin privileges/deleting a user).
Everything works flawlessly......except when you click on "search" it brings up this error:
Error
Unrecognized date format.
Backtrace
#0 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/form.php(353): soft_error('Unrecognized da...')
#1 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/form.php(193): FormDateQuestion->get_specific_html(Object(Form), Array)
#2 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/form.php(735): FormQuestion->get_html(Object(Form), Array)
#3 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/search.php(112): Form->get_form()
#4 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/search.php(120): search_form()
#5 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/calendar.php(679) : eval()'d code(1): search()
#6 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/calendar.php(679): eval()
#7 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/calendar.php(625): do_action()
#8 /homepages/42/d330887186/htdocs/wisemen101/calendar/includes/embed.php(36): display_phpc()
#9 /homepages/42/d330887186/htdocs/wisemen101/events.php(62): include('/homepages/42/d...')
#10 {main}
respond to [email protected]
We need the ability to add custom theme URLs to the theme list.
The search appears to be broken on version 2.0, rc6. You can also see it on this link: http://www.php-calendar.com/php-calendar/ . Should I use a different version for our calendar, or is there a fix that I can use? Thank you.
Remove those bars and instead make the month and year at the top of the calendar a dropdown that when changed will load the appropriate month.
If you modify a repeating event that had an occurrence removed, or an event with occurrences at random interval, all of the occurrences will be removed when the event is modified.
Modifying an event where we cannot determine the pattern should either display a list of occurrences (which can have their times/dates adjusted individually), or the "when" section should be disabled behind a checkbox.
Like display_month.
Now there's an error deriving from a month_navbar in display_week.php
When we are on this page and we click on "View date": http://www.php-calendar.com/php-calendar/index.php?action=event_form&year=2013&month=5&day=1
The error displays on this page: http://www.php-calendar.com/php-calendar/index.php?action=display_day&year=2013&month=5&day=1
It at least warrants looking into.
It's free and open source and has git integration. It might be a good replacement for transifex.
http://www.eyecon.ro/colorpicker/ Use that for the text color as well.
Instead we should make a list of old occurrences.
Run through the list of occurrences to be created.
Where an occurrence to be created is on the old list, remove it from the old list, otherwise create the occurrence in the DB.
After all of the new occurrences have been processed, any occurrences on the old list should have their DB entries removed.
The calendar list that shows at the top of the page when there are multiple calendars should be a dropdown list that changes the page when a different calendar is selected
I have download the latest version of php-calendar php-calendar-2.0-rc6.zip but it can't support chinese language, can you tell me how to solve this problem thank you very much!
instead of requiring the install directory to be removed, we can make the install script inoperable when there is a config.php with content.
have requests for icalendar https://code.google.com/p/php-calendar/issues/detail?id=38
and CalDAV https://code.google.com/p/php-calendar/issues/detail?id=77
they should be clickable, then turn into a dropdown and refresh the page when they're changed.
Hi, when trying any action on the installed calendar on my web host's server, I get the following errors (this is from creating an event):
Error
Secret token mismatch. Possible request forgery attempt.
Backtrace
#0 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/calendar.php(723): soft_error('Secret token mi...')
#1 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/event_form.php(305): verify_token()
#2 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/event_form.php(31): process_form()
#3 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/calendar.php(679) : eval()'d code(1): event_form()
#4 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/calendar.php(679): eval()
#5 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/includes/calendar.php(625): do_action()
#6 /hermes/bosoraweb177/b1740/ipg.springbranchitcouk/garnier3/php-calendar/index.php(77): display_phpc()
#7 {main}
Different color for days which are:
-national / local festivities
-other days off
From the ToDo list
When a user tries to access a page that requires permissions, give them a login screen if they aren't logged in
function permission_error($message)
in util.php line 33
could give a warning (with ui-state-warning) and redirect to login page
If an event spans on more days, disallow the possibility of repetitions.
If span > 1 day disable daily repetition
If span > 1 week disable weekly repetition
Any possibility of importing/subscribing to an external ICS file? We have a public ICS file of holidays. Would be wonderful to see this globally in PHP-Calendar for everyone to see.
Probably need this under a site-wide preference and an email back-end to support is. This is kind of a low priority future goal. Original issue: https://code.google.com/p/php-calendar/issues/detail?id=20
When making an event that spans on more than 24 hours, display should be different:
When: Apr 5, 2013 - Apr 12, 2013 at 5:00 PM to 6:00 PM
to
When: from Apr 5, 2013 at 5:00 PM to Apr 12, 2013 at 6:00 PM
This behaviour should be a function in phpoccurrence class, with a field to detect once in constructor if the timespan is more than 24 hours.
At some point tag a newer stable release as 2.0.
The code to prevent the installer from running breaks the update function. Update should be moved to its own script and require a logged in admin to run.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.