Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[NEW PLUGIN] Calendar v1

(Page 2 of 3)
> > > >
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

I'm having a look at adding these features now :) (while I'm waiting on the final bits of feedback from my beta-testers for the affiliate plugin :))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Andy wrote:
Hi,

I'm having a look at adding these features now :) (while I'm waiting on the final bits of feedback from my beta-testers for the affiliate plugin :))

Cheers

Great, it was too quiet in this forum the last days, while you were working on affiliate plugin...
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Version 1.3 is now out.

People who own it, can get it from the Members Area (http://www.ultranerds.com/login), or you can find out more here: http://www.ultranerds.com/...rsion/Calendar_L213/

It has these extra features now:

1) The ability for users to change the format of the dates they see, i.e 2008-10-15, 2008.10.15, 15, Oct 2008. etc
2) There is now a calendar_public.cgi script, which lets your users "share" their listings - for example, if there is an event going on, someone could add it - and then other people can view the listing (its an optional flag, so users only need share if they want to Smile)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
nice plugin :-)
Is it possible to show the puplic calender in the sidebar?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

You don't ask for much, do you? LOL

I'll see what I can do =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
I'm just asking ;-)
I really don't know, how much work it is. But it would be the next step for this plugin.
I think everybody should see the public entries first, when he enters a site...

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Ok, version 1.4 has this feature now =)

You can show it on any page, with:

Code:
<h2>Public Calendar</h2>

<%Plugins::Calendar::small_calendar_gen_public()%>

The new versions available from our Members Area.

I've also fixed up a bug which seemed to have crept back in, where the db_cgi_url wasn't being put in front of the calendar.cgi / calendar_public.cgi URLs - so when using static pages, it was trying to load /pages/calendar.cgi ... instead of /cgi-bin/calendar.cgi...

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
looks great, thanks for the modifications.

I just changed some templates and I found this part in calendar_front.html ?

Code:
<%loop calendar_notes_for_today%>
<li><a href="calendar.cgi?do=view_day;date=<%Date%>"><%Plugins::GMail::CalendarPro::ConvertTime($Time,$TimeFormat)%></a> - <%Message%> </li>
<%endloop%>

Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Whoops, you need to change that to:

<%Plugins::Calendar::ConvertTime($Time,$TimeFormat)%>

I'll get that fixed up in the release version :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
when I update the plugin with an new version.
Does the plugin override my changed templates?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

No, it won't (unless they are not in your /local folder).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Andy wrote:
Hi,

No, it won't (unless they are not in your /local folder).

Cheers

Hi Andy
thanks for the answer.

Another question: Just in case a user writes some nonsens entries into the public calendar.
Do I have a way to find this entry, to delete it?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Mmm.. not easily. The easiest way, is to look at the "ID" of the entry you want to delete.

Check its the right one by running:

SELECT * FROM glinks_Calendar WHERE ID = xxx

Then, if the result is the one you want to delete - just do:

DELETE FROM glinks_Calendar WHERE ID = xxx

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
thanks, that's fine. I'm using the tables plugin and so I can view all entries and find the on to delete.
Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Sorry Andy,
it's me again. I just realized that the small calender has some layout problems.
1. Month and weekdays are centered but the numbers 1-31 are on the left. How can I center the numbers too?
2. Month and weekdays in the small calender are in english. Is there a way to display them in german?

3. I have a problem to display the notification on home.html
with this code
Code:
<%if DisplayEventAlert eq "1"%>
<%Plugins::Calendar::get_alerts_for_today()%>
<%endif%>

<%if calendar_notes_for_today.length%>
<p>
<h2>Calendar Events Occurring Today:</h2>
<ul>
<%loop calendar_notes_for_today%>
<li><a href="<%config.db_cgi_url%>/calendar.cgi?do=view_day;date=<%Date%>"><%Time%></a> - <%Message%> </li>
<%endloop%>
</ul>
</p><p></p>
<%endif%>

There is no output?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Those bugs should be fixed in the version available from our site now.

Regarding:

Quote:
2. Month and weekdays in the small calender are in english. Is there a way to display them in german?

The only way at the moment, would be to edit /admin/Plugins/Calendar.pm, /calendar.cgi and /calendar_public.cgi, and replace all instances of:

Code:
my @months = split / /, q|January Feburary March April May June July August September October November December|;
my @months_short = split / /, q|Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec|;

..to whatever names you want.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Sorry, forgot to upload to the Members Area =) The current version is now 1.5.

I also fixed up a minor typo , "Feburary" should be "February" Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
I can not find any errors or style problems anymore Angelic
Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Matthias70 wrote:
Hi Andy,
I can not find any errors or style problems anymore Angelic
Glad to hear it LOL

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,

It is possible to attach the calendar to a link ?

User :
link 1 > calendar 1
link 2 > calendar 2

Thank you for your answer.

O.

Last edited by:

Oyo: Feb 13, 2008, 1:46 AM
Quote Reply
Re: [Oyo] [NEW PLUGIN] Calendar v1 In reply to
Hi,

Mmm.. I'll see what I can do . Trying to get some other stuff done today though, to get some money in (bit tight at the moment, and I've spent the last couple of days making changes to existing plugins and writing new ones :()

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
>>Mmm.. I'll see what I can do .
Thanks Smile

If you find a solution, that will offer great possibilities ()

The link could be a room for example, or a village hall available on hire Wink

O.

Last edited by:

Oyo: Feb 13, 2008, 2:38 AM
Quote Reply
Re: [Oyo] [NEW PLUGIN] Calendar v1 In reply to
Hi Andy,
everytime when I'm modifying an entry, some text is deleted.
Perhaps a problem with the column size?

Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [NEW PLUGIN] Calendar v1 In reply to
Matthias70 wrote:
Hi Andy,
everytime when I'm modifying an entry, some text is deleted.
Perhaps a problem with the column size?

Thanks
Matthias
Can you PM me an example of what you are trying to do i.e step by step - with the text you are trying to add in :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGIN] Calendar v1 In reply to
Hi,

That was a bug with the field size for the content. I've changed this field, and uploaded 1.5.1 to the Members Area now.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
> > > >