[EventCalendar] EUREKA

Bill Gram-Reefer worldviewpr at astound.net
Wed Apr 16 19:11:48 UTC 2008


The suit fixed his own problem!

Heck with you geeks!

Once I got rid of the old folders and uploaded folder with patched  
files all works well.

It wasn't that hard to do.

If I can do it, so can you.

Just look carefully at the .diff file and download a fresh copy of ec3_1
http://sourceforge.net/tracker/index.php?func=detail&aid=1929449&group_id=176316&atid=876754

It contains fixes to two files in the folder eventcalendar  3_1

- eventcalendar.php
- ec3.js

Open .diff in a text editor
Open files noted above in text editor in a separate window one at a time

Find the section in eventcalendar.php first that matches section noted  
in .diff file
Replace lines marked with  dash for remove or change "-"
With the code marked "+"

Do same for ec3.js. It is a little trickier, mine looks like

and seems to work.

************************

// Set the new caption
     var caption=get_child_by_tag_name(table,'caption');
     if(caption)
     {
       var c=get_child_by_tag_name(caption,'a');
       var caption_text=ec3.month_of_year[month_num0] + ' ' + year_num;
       if(c && c.firstChild && c.firstChild.nodeType==ec3.TEXT_NODE )
       {

         if(month_num<10)
         {
	  c.href=ec3.home+'/?m='+year_num+'0'+month_num;
	}
	else
	{
	  c.href=ec3.home+'/?m='+year_num+month_num;
	}
	 if(ec3.catClause)
	   c.href+=ec3.catClause; // Copy cat' limit from original month link.
         c.title=ec3.viewpostsfor;
         c.title=c.title.replace(/%1\$s/,ec3.month_of_year[month_num0]);
         c.title=c.title.replace(/%2\$s/,year_num);
         c.firstChild.data=caption_text;
       }
     }

******************

Take your time.

Best regards,

b<G>r

===================

CONTACT BILL
http://worldviewpr.com
reefer at worldviewpr.com
925-459-8537 (office)






On Apr 16, 2008, at 11:55 AM, eventcalendar-request at firetree.net wrote:

> Send EventCalendar mailing list submissions to
> 	eventcalendar at firetree.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
> or, via email, send a message with subject or body 'help' to
> 	eventcalendar-request at firetree.net
>
> You can reach the person managing the list at
> 	eventcalendar-owner at firetree.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of EventCalendar digest..."
>
>
> Today's Topics:
>
>   1. Re: EC3 for WP25 (Sandra Williams)
>   2. URL for patch? (Bill Gram-Reefer)
>   3. EC3 on index.php (Gintaras )
>   4. I downloaded 3c3.diff (Bill Gram-Reefer)
>   5. patch does not work (Bill Gram-Reefer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Apr 2008 08:48:09 -0700
> From: Sandra Williams <skw at williamswriting.com>
> Subject: Re: [EventCalendar] EC3 for WP25
> To: eventcalendar at firetree.net
> Message-ID: <20080416154830.9500B2B6CFC at mail.calweb.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed;
> 	x-avg-checked=avg-ok-50C4DFF
>
> At 04/16/08 05:00 AM, Bill Gram-Reefer wrote:
>> What is most current rev of EC3 for WP25 and where to find it?
>>
>> I have monkeyed with ec311r and went back to ec30
>>
>> So please advise recommended version and URL
>
> I applied the patch suggested on this list and put a zipped version
> of the changed files on my site for download. You still need the main
> version of the plug-in (3.1.1 rc3) to use the patched files.
> Instructions and file:
> http://www.williamswriting.com/blog/2008/wordpress-25-and-event-calendar/
>
> If you look on the SourceForge EventCalendar/Tracking/WordPress 2.5
> fix page
> <http://sourceforge.net/tracker/index.php?func=detail&aid=1929449&group_id=176316&atid=876754 
> >,
> you can see the DIFF file and a link to another zipped file provided
> by someone else.
>
>
> --Sandra Williams
>
> Williams Writing, Editing & Design
> skw at williamswriting.com
> http://www.williamswriting.com
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 16 Apr 2008 10:09:45 -0700
> From: Bill Gram-Reefer <worldviewpr at astound.net>
> Subject: [EventCalendar] URL for patch?
> To: eventcalendar at firetree.net
> Message-ID: <2B69E48B-0773-467B-9179-9023CAC9C528 at astound.net>
> Content-Type: text/plain; charset="us-ascii"
>
> Could we get the URL for this patch and install instructions. I
> normally run away from installing patches as I usually screw it up.
>
> Message: 2
> Date: Tue, 15 Apr 2008 10:42:47 -0400
> From: "s jordan" <scytle at gmail.com>
> Subject: Re: [EventCalendar] EC3 for WP25
> To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
> Message-ID:
> 	<9ff6f9150804150742q6f2b4030x5d0b86a46811dc43 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Bill
>
> I used the latest release candidate available from the website and got
> the
> patch for it off of sourceforge, it seemed to do the trick.
>
> Sorry can't seem to find the link to it.
>
> Shane
>
>
>
> Best regards,
>
> b<G>r
>
> ===================
>
> CONTACT BILL
> http://worldviewpr.com
> reefer at worldviewpr.com
> 925-459-8537 (office)
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080416/ef7ea006/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 16 Apr 2008 20:31:33 +0300
> From: "Gintaras " <gintaras.lukosevicius at gmail.com>
> Subject: [EventCalendar] EC3 on index.php
> To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
> Message-ID: <op.t9psavq5mn7ev2 at indisbal-oxc5pc>
> Content-Type: text/plain; format=flowed; delsp=yes;
> 	charset=iso-8859-13
>
> Hello,
>
> I am not a programmer, so I have little challenge to do :)
>
> Question:
> What exact code do I need to put in my themes "index.php" file, which
> create the same result, that I get using this querie -
> "http://blog.address/?ec3_days=7" ?
>
> Thank you for answers!
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 16 Apr 2008 11:19:57 -0700
> From: Bill Gram-Reefer <worldviewpr at astound.net>
> Subject: [EventCalendar] I downloaded 3c3.diff
> To: Support for EventCalendar plugin <eventcalendar at firetree.net>
> Message-ID: <70C13CD7-1D4F-49AD-9CCE-EF5421A7131B at astound.net>
> Content-Type: text/plain; charset="us-ascii"
>
> I found what I believe to be THE PATCH at
> http://sourceforge.net/tracker/index.php?func=detail&aid=1929449&group_id=176316&atid=876754
>
> Now what do I do with it?
>
>
>
> Best regards,
>
> b<G>r
>
> ===================
>
> CONTACT BILL
> http://worldviewpr.com
> reefer at worldviewpr.com
> 925-459-8537 (office)
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080416/df1709e4/attachment-0001.htm
>
> ------------------------------
>
> Message: 5
> Date: Wed, 16 Apr 2008 11:55:17 -0700
> From: Bill Gram-Reefer <worldviewpr at astound.net>
> Subject: [EventCalendar] patch does not work
> To: Support for EventCalendar plugin <eventcalendar at firetree.net>
> Message-ID: <F9691603-A9A1-4093-867F-BF90FC82449C at astound.net>
> Content-Type: text/plain; charset="us-ascii"
>
>
> I made the changes from the patch into correct areas of ec,php and  
> ec,js
>
> and reinstalled with EC311r3
>
> and still get
>
> Sorry, no posts matched your criteria.
>
> when clicking on date in calendar
>
> popup shows events in that date,
>
> widget showing events in that date works
>
> but clicking on day produces the
>
> Sorry, no posts matched your criteria.
>
> message
>
>
>
> Best regards,
>
> b<G>r
>
> ===================
>
> CONTACT BILL
> http://worldviewpr.com
> reefer at worldviewpr.com
> 925-459-8537 (office)
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080416/d68e651f/attachment.html
>
> ------------------------------
>
> _______________________________________________
> EventCalendar mailing list
> EventCalendar at firetree.net
> http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
>
>
> End of EventCalendar Digest, Vol 30, Issue 16
> *********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080416/249033a3/attachment.htm


More information about the EventCalendar mailing list