Wedge

Public area => The Pub => Plugins => Topic started by: Powerbob on January 16th, 2014, 05:09 AM

Title: Calendar Plugin
Post by: Powerbob on January 16th, 2014, 05:09 AM
This has become very quiet, unless I missed it which I doubt. This is a feature that, for me at least, is necessary for my sites and although I find references to it on this or that post I don't seem to find any details?

Cheers :cool:
Bob
Title: Re: Calendar Plugin
Post by: Wanchope on January 16th, 2014, 05:20 AM
It's better as a plugin which I know many people will just ignore. I have never used calender feature in my forums, not even once.
Title: Re: Calendar Plugin
Post by: Powerbob on January 16th, 2014, 06:04 AM
Good for you, but I do and so do many others! I was asking about the plugin BTW :whistle:
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 08:10 AM
Calendar plugin is still there :)
No need to worry ;)
Title: Re: Calendar Plugin
Post by: Powerbob on January 16th, 2014, 09:09 AM
Nice one, thanks :cool:
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 09:42 AM
Dunno if it works, though. I've tried to update it but I don't use it so it might be horribly broken.
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 09:44 AM
Will test it today and report it later.
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 10:51 AM
If you want :D

Personally, I'm working on fixing the installer.
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 10:54 AM
It's a good point :)

Without there will be no testing  :whistle:
Title: Re: Calendar Plugin
Post by: Powerbob on January 16th, 2014, 10:59 AM
Great :cool:
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 11:19 AM
So many things left to fix... ;)
I just need to determine when it's okay to release, even with bugs.
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 08:17 PM
OK, on a fresh install the calendar installs smooth. :)
Only it's looking a bit....
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 08:58 PM
I never used the calendar. What's it supposed to look like..?
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 09:24 PM
The width of the calendar should be filled till the end of the bar above...
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 10:37 PM
Calendar.template.php
Line 166
Try adding w100 before cs0 (with a space between them, of course). Does that fix it..?
Title: Re: Calendar Plugin
Post by: Pandos on January 16th, 2014, 10:49 PM
Yes! :)
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 11:26 PM
Good then, good!

Now, only need to fix the Subs-Cache error in managecalendar... I'll still need to get the proper line number, <innocent>.
Title: Re: Calendar Plugin
Post by: Nao on January 16th, 2014, 11:47 PM
Installed it, reproduced, workin' on it.
Title: Re: Calendar Plugin
Post by: Pandos on January 17th, 2014, 12:19 AM
Sorry was watching Dr. House :)
Title: Re: Calendar Plugin
Post by: Nao on January 17th, 2014, 12:41 AM
Fixed.
Title: Re: Calendar Plugin
Post by: Nao on January 17th, 2014, 01:04 AM
Okay, so it's all up...

One thing to know, though. add_plugin_css_file() is broken, because Wess is expecting Wedge to create multiple levels of nested folders, and it only supports creating one extra folder (I think). I'll have to look into transforming folder names, but... Well, I'm already having trouble with the current stuff.
Title: Re: Calendar Plugin
Post by: Farjo on February 1st, 2014, 02:56 AM
Not sure of the status of this plugin, but here are two things I've noticed.

The date field is type text so there is no calendar pop-up to select a date for the event.

From the calendar, clicking the Post Event takes you to the home/index page.

Posting an even gives the error "Topic ID is missing."
Title: Re: Calendar Plugin
Post by: Pandos on February 1st, 2014, 03:25 AM
It's because you haven't had setup any permissions.
Go to plugins->calendar.
There you can change the permisson and also the layout (linked days, etc.)
Title: Re: Calendar Plugin
Post by: Pandos on February 1st, 2014, 11:45 AM
It seems there is another error:
Event month is missing.  Also 2 language strings are missing?
Will look into it when I got time.
Title: Re: Calendar Plugin
Post by: Farjo on February 1st, 2014, 03:11 PM
I was logged in as Admin user at the time and all are the same if logged in as a user with permissions.

"Will look into it when I got time." Thank you :)
Title: Re: Calendar Plugin
Post by: Powerbob on February 1st, 2014, 04:59 PM
Quote from Pandos on February 1st, 2014, 03:25 AM
It's because you haven't had setup any permissions.
Go to plugins->calendar.
There you can change the permisson and also the layout (linked days, etc.)
Nope sorry, no change!
Title: Re: Calendar Plugin
Post by: Nao on February 1st, 2014, 05:28 PM
This plugin is pretty fucked up... :-/

I've had a quick look. I translated the holiday day to French. Added Bastille Day for good measure (it's French software, FFS :P), went to the admin, tried to add the day... Hmm, nope.
Uninstalled plugin. Told Wedge to delete all data (i.e. calendar tables). Then reinstalled it. Guess what..? The holiday list is completely empty. -_-
There are indeed untranslated strings, notably when 'adding a new holiday'.

Plus, whatever's mentioned above, and that I'm SURE is correct...

What I'm not sure of, is whether I want to get to work on this right now, uh...
Title: Re: Calendar Plugin
Post by: Farjo on February 1st, 2014, 10:13 PM
OK, I'll hold off testing other aspects :) Vive La France!
Title: Re: Calendar Plugin
Post by: Nao on February 1st, 2014, 11:36 PM
Feel free to submit signed-off pull requests, though! ;)
Title: Re: Calendar Plugin
Post by: Leftie on May 6th, 2014, 04:35 PM
I know it's only one plugin among many plugins and features that are in the pipeline, but I just want to express my interest in this.

For my part, the specific functionality that I'm looking for in a calendar (and which has been discussed in one of the relevant threads here) is Event Attendance, or RSVP if you will.

What's the best way for me to contribute, seeing as I don't speak php?
Title: Re: Calendar Plugin
Post by: Leftie on May 24th, 2014, 10:53 PM
After some of the changes in the Wedge core, the menu item for the Calendar is suddenly located to the far left. Shouldn't it come after the default items?
Title: Re: Calendar Plugin
Post by: Nao on May 25th, 2014, 01:07 AM
Well you missed the time when I mentioned I'd move all of the root items to the 'Forum' menu, so that it gives more breathing space to the page.

It can be deactivated with a custom.xml skin option, mind you.
Title: Re: Calendar Plugin
Post by: live627 on May 25th, 2014, 02:19 AM
No... see, the calendar button is misplaced now.
Title: Re: Calendar Plugin
Post by: Nao on May 25th, 2014, 12:10 PM
Should be fixed. (At least it is for me, locally.)

I'd have hoped for a better looking fix, though...
But I need to rethink these menu icons.
Title: Re: Calendar Plugin
Post by: Leftie on May 25th, 2014, 11:09 PM
I've confirmed the fix on my install :cool:
The calendar menu item is now in the Home menu.
Title: Re: Calendar Plugin
Post by: Leftie on December 15th, 2014, 11:01 AM
Thought I'd get back to testing this now.
There are two bugs as far as I can see.
As a result, no event or thread is made.
This does not get logged in the Error Log.

I've gone over the Plugin Settings, and as far as I can tell, my user (testing with the admin at the moment, actually) has permission to create events.
Tested on Firefox and Chrome, just to make sure.