Extension talk:MsCalendar

Jump to navigation Jump to search

About this board

2A02:8420:65AD:BD00:35C4:5845:949A:DA78 (talkcontribs)

is it possible to prevent anonymous users who can read the calendar from adding/modifying/deleting events in it ?

194.153.217.230 (talkcontribs)

I would like to know this too. Have you found something?

83.110.72.111 (talkcontribs)

did anyone found a fix yet?

Reply to "Anonymous access"

Recurring option not available in latest version

1
Ti infotrad (talkcontribs)

The recurring option checkbox is not available on the latest version. Not sure why it is like this but there is a css directive display: none!important on the associated label (label.yearly) so it is not displayed.

Reply to "Recurring option not available in latest version"

[Fixed] Error while running update.php

6
108.170.136.100 (talkcontribs)

Hello.

Everytime I run update.php I get:

Creating mscal_list table ...[3dda57f2a2b626eeb8f4b017] [no req]   DBQueryError from line 1054 of /var/www/xxxxxxx/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: CREATE TABLE IF NOT EXISTS "mscal_names" (

 ID int UNSIGNED NOT NULL auto_increment,

 Cal_Name varchar(255) NOT NULL,

 PRIMARY KEY (ID)

 )

Function: Database::sourceFile( /var/www/249moore.st/extensions/MsCalendar/MsCalendar.sql )

Error: 42601 ERROR:  syntax error at or near "UNSIGNED"

LINE 2:  ID int UNSIGNED NOT NULL auto_increment,

                ^

I have the tried this with version 1.27 and 1.28 of the extension. Any help would be great.

Thanks

MarkAHershberger (talkcontribs)

It looks like you're using this with a database besides MySQL. I've uploaded a patch. Could you test it?

Sophivorus (talkcontribs)

I can merge the change if it solves the bug, so lets just wait for the test results to see if it does solve the issue.

MarkAHershberger (talkcontribs)

PostgreSQL, among other DBs, does not support UNSIGNED. If you'd still like that tested, I can install this and PG for you to show that this fixes the bug.

Sophivorus (talkcontribs)

Merged!

MarkAHershberger (talkcontribs)

+1

Reply to "[Fixed] Error while running update.php"
198.103.167.20 (talkcontribs)

The calendar is in English, but I want it to be in French. How does one do that?

MarkAHershberger (talkcontribs)
Reply to "How do you change the language?"
109.226.22.11 (talkcontribs)

Is there an option to change the first day of the week e.g. monday to sunday? and is there other attributes to use with this calendar?

SmartK (talkcontribs)

This would be cool, but there is no option yet. Maybe you can code that?

Roips (talkcontribs)

Yes, just change the file jquery.calendario.js inside the js folder.

At line 47:

Instead of

startIn : 1

Write

startIn: 0

P.S.: Click Ctrl+F5 in the browser in order to reload the updated JavaScript

Reply to "First day of the week"
Kanto501 (talkcontribs)

It would be nice if the spacing between entries could be less, it takes up a lot of space when there is a full blank line between each entry. A very nice calendar. many improvements over what we used to use (MWcalendar).

thank you

Reply to "Spacing between entries"
80.153.185.200 (talkcontribs)

Is there a version available that works with older wiki-version. Using MEdiawiki 1.24 and would like to integrate this calendar. Thanks.

Reply to "Version for MW 1.24"

Warnings in browser console, MobileFrontend compability and user role limitation

1
Innosflew (talkcontribs)

I just noticed in the console of my browser that I get the following warnings when I'm on a page where the calendar is present: https://i.gyazo.com/66f7926844ac71699b4fa55c8a761adb.png The calendar works fine, but I thought I'd let you know about the warnings.

Also, is there a way to make the calendar compatible with the MobileFrontend? Currently when a calendar is viewed in the mobile version it seems broken, it doesn't load up. The only possible way to view it is on the desktop version of the wiki.

An other question I have is that is it possible to limit the calendar to be edited by certain user roles. Currently everyone is able to edit it so anyone can vandalize it. I had to manually limit it with CSS.

Reply to "Warnings in browser console, MobileFrontend compability and user role limitation"
2001:760:2A14:FFFE:250:FCFF:FE78:1F18 (talkcontribs)

when used on a sqlite intall, when i try to save the event it replyes

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: INSERT INTO mscal_content (ID, Text, Start_Date, Duration, Yearly) VALUES (,'sadasd','2014-05-06','1','0') Function: MsCalSaveNew Error: 1 no such table: mscal_content

cheers

62.232.144.234 (talkcontribs)

This extension has quite a lot of MySQL specific syntax and behaviour in it

Reply to "sqlite compat"

Compatibility with the Lockdown extension

2
177.19.166.146 (talkcontribs)

I installed MsCalendar in mediawiki 1.27 and noticed that creating a new event does not save the data entered.

I ran some tests and found that the Lockdown extension is interfering with the operation of MsCalendar.

The problem is that I use Locakdown to manage access permissions based on namespaces.

Does anyone know a workaround for this situation or can I decree the incompatibility between the two extensions?

Thanks!

Fraifrai (talkcontribs)

We use mscalendar and lockdown with no problem in MW 1.24

Reply to "Compatibility with the Lockdown extension"