[EventCalendar] EC Query problem

Mike Ball clapclapexcitement at gmail.com
Tue Feb 24 16:31:19 UTC 2009


Thanks Rick but it doesn't work with 3.2dev either. Could this have
something to do with my abnormal template structure?

Again, I'd like to divide the Wordpress blog into 2 pages within the site:
Events and News. Furthermore, Events will be subdivided into Upcoming Events
and Past Events pages. The homepage will display the next Event in one
content area, and the two most recent News entries in another content area.




On Mon, Feb 23, 2009 at 4:47 PM, Rick Boatright <rboatright at gmail.com>wrote:

> nope, I ment the developmental version.
>
> The problem is that 2.7 broke a LOT of code due to it's weird way of
> rewriting URL's.
>
> Rick
>
>
> On Mon, Feb 23, 2009 at 11:27 AM, Mike Ball <clapclapexcitement at gmail.com>wrote:
>
>> Rick, Assuming you did mean v3.2.beta2, I've upgraded the plugin and
>> continue to have the same problems.
>>
>> Thanks,
>> Mike
>>
>>
>> On Mon, Feb 23, 2009 at 9:00 AM, Mike Ball <clapclapexcitement at gmail.com>wrote:
>>
>>> Rick, Do you mean v3.2.beta2 ? If so, I'm a bit confused, as there's no
>>> indication on the Advanced Queries page <http://?ec3_after=2008-10-15>that ?ec3_after=today requires 3.2+. Am I missing something?
>>>
>>> Thanks,
>>> Mike
>>>
>>>
>>> On Sun, Feb 22, 2009 at 10:51 PM, Rick Boatright <rboatright at gmail.com>wrote:
>>>
>>>> I missed the first, and most stupid question...
>>>> Which version of EC3 are you running, and if it's not 3.2dev, please
>>>> upgrade to that
>>>>
>>>>
>>>> On Sun, Feb 22, 2009 at 9:26 PM, Mike Ball <
>>>> clapclapexcitement at gmail.com> wrote:
>>>>
>>>>> Thanks for the response Jim but I've tried that and it doesn't work
>>>>> either.
>>>>>
>>>>> On Sun, Feb 22, 2009 at 8:50 PM, Rick Boatright <rboatright at gmail.com>wrote:
>>>>>
>>>>>> USUALLY,  when you're calling a PHP routine, and you want to pass
>>>>>> parameters to that routine, you use the ? as a seperator between the URL and
>>>>>> the parameter, and additional parameters get seperated with &'s  like this
>>>>>>
>>>>>> http://www.something.com/index.php?param=1234&secondparam=abcd&third_param=qwer
>>>>>>
>>>>>> but in the case of calling a wordpress archive, there's no php to
>>>>>> invoke, so you don't do that.
>>>>>>
>>>>>> So,  you end up with a url like
>>>>>>
>>>>>> http://oaregion4.org/blog1/?ec3_after=today
>>>>>>
>>>>>> which, by the way works perfectly, and gets you all the events after
>>>>>> today.
>>>>>>
>>>>>> The thing is, you're trying too hard.  Try this instead
>>>>>>
>>>>>> http://localhost:8888/wordpress/?ec3_after=today<http://localhost:8888/wordpress/programs-events/upcoming-events/?ec3_after=today>
>>>>>>
>>>>>>
>>>>>> On Sat, Feb 21, 2009 at 3:03 PM, Mike Ball <
>>>>>> clapclapexcitement at gmail.com> wrote:
>>>>>>
>>>>>>> Jim, No problem. The code for my upcomingevents.php page template can
>>>>>>> be viewed here <http://paste.balbinus.org/349> . Sorry for the
>>>>>>> sloppy formatting.
>>>>>>> As for making this query only future events, I'm using URL-based
>>>>>>> queries as explained here<http://wpcal.firetree.net/advanced-queries/> .
>>>>>>> More specifically, I'm trying to do something like ?ec3_after=today like
>>>>>>> this:
>>>>>>>
>>>>>>>
>>>>>>> http://localhost:8888/wordpress/programs-events/upcoming-events/?ec3_after=today
>>>>>>>
>>>>>>> However, it's just not working; upcomingevents.php continues to
>>>>>>> display all events, both in the future and in the past. Could it be my
>>>>>>> trailing forward slash between upcoming-events and the query? If so, I'll
>>>>>>> have to wait until I have access to my work computer to test.
>>>>>>>
>>>>>>> And just to clarify and reiterate: my vision is to use Wordpress as a
>>>>>>> CMS and create a site organized like this:
>>>>>>>
>>>>>>>
>>>>>>>    - A homepage which displays the next upcoming event in one
>>>>>>>    designated section and the 2 most recent blog entries in another. You can
>>>>>>>    view this code. <http://paste.balbinus.org/350> to see how I've
>>>>>>>    accomplished this.
>>>>>>>    - A Blog section within the interior of the site that will
>>>>>>>    display all blog entries of the category "News." Currently this is being
>>>>>>>    done with a custom page template. This is the code<http://paste.balbinus.org/351>
>>>>>>>     .
>>>>>>>    - An Events section within the interior of the site that will
>>>>>>>    have 2 child pages: Upcoming Events and Past Events. Again, here<http://paste.balbinus.org/349>is upcomingevents.php.
>>>>>>>    - Various other, more traditional Wordpress pages will also exist
>>>>>>>    in the global navigation throughout the site, but their content is static.
>>>>>>>
>>>>>>> So...if anyone has any feedback on how I've attempted to achieve this
>>>>>>> architecture, that would be great. I recognize that this is a bit of a hack,
>>>>>>> as I'm kind of violating Wordpress logic and using a page template as a
>>>>>>> blog.
>>>>>>>
>>>>>>> Thanks so much for your response - I hope that helps clarify.
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Feb 21, 2009 at 8:56 AM, James Wurster <jwurster at comcast.net
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Mike,
>>>>>>>> Can you post the code your are using so we can help?
>>>>>>>> jim
>>>>>>>>
>>>>>>>> ----- Original Message ----- From: <
>>>>>>>> eventcalendar-request at firetree.net>
>>>>>>>> To: <eventcalendar at firetree.net>
>>>>>>>> Sent: Friday, February 20, 2009 7:48 PM
>>>>>>>> Subject: EventCalendar Digest, Vol 40, Issue 53
>>>>>>>>
>>>>>>>>
>>>>>>>>  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. Display multi-day events as one event using ec3_get_events
>>>>>>>>>     (John Davis)
>>>>>>>>>  2. EC Query problem (Mike Ball)
>>>>>>>>>  3. A Click on the Calender Date is a broken link (Mike Kaplan)
>>>>>>>>>  4. Re: A Click on the Calender Date is a broken link (Rick
>>>>>>>>> Boatright)
>>>>>>>>>  5. Move EC Stale Posts to Archive (Micky Dexter-Prince)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ----------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> Message: 1
>>>>>>>>> Date: Fri, 20 Feb 2009 10:06:53 -0500
>>>>>>>>> From: John Davis <john at livingpixeldesign.com>
>>>>>>>>> Subject: [EventCalendar] Display multi-day events as one event
>>>>>>>>> using
>>>>>>>>> ec3_get_events
>>>>>>>>> To: eventcalendar at firetree.net
>>>>>>>>> Message-ID:
>>>>>>>>> <10FF8A29-C78B-4F3A-BFCA-68FA9EC8A53E at livingpixeldesign.com>
>>>>>>>>> Content-Type: text/plain; charset="us-ascii"
>>>>>>>>>
>>>>>>>>> I'm trying to figure out how to set ec3_get_events() to display
>>>>>>>>> multi-
>>>>>>>>> day events as one event rather than as separate events.
>>>>>>>>>
>>>>>>>>> thanks,
>>>>>>>>>
>>>>>>>>> John
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ++++++++++++++++++++++++++
>>>>>>>>>
>>>>>>>>> John Davis
>>>>>>>>> Living Pixel Design
>>>>>>>>> http://www.livingpixeldesign.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------- next part --------------
>>>>>>>>> An HTML attachment was scrubbed...
>>>>>>>>> URL:
>>>>>>>>> http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090220/fa1ed180/attachment-0001.html
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Message: 2
>>>>>>>>> Date: Fri, 20 Feb 2009 10:56:59 -0500
>>>>>>>>> From: Mike Ball <clapclapexcitement at gmail.com>
>>>>>>>>> Subject: [EventCalendar] EC Query problem
>>>>>>>>> To: eventcalendar at firetree.net
>>>>>>>>> Message-ID:
>>>>>>>>> <6765a1890902200756u65665fe8y553a6783e777a123 at mail.gmail.com>
>>>>>>>>> Content-Type: text/plain; charset="iso-8859-1"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm interested in in creating an Upcoming Events page, as well as a
>>>>>>>>> Past
>>>>>>>>> Events page.
>>>>>>>>>
>>>>>>>>> For example, I currently have an upcomingevents.php page template
>>>>>>>>> which
>>>>>>>>> calls all posts of the "Events" category successfully. However, I
>>>>>>>>> can't seem
>>>>>>>>> to query only the upcoming events with this:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://localhost:8888/wordpress/programs-events/upcoming-events/?ec3_after=today
>>>>>>>>>
>>>>>>>>> What sort of amateur mistake am I making?
>>>>>>>>>
>>>>>>>>> Or, if anyone has any other ideas as to how I can make an Upcoming
>>>>>>>>> Events
>>>>>>>>> page and a Past Events page, that would be helpful too.
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> -------------- next part --------------
>>>>>>>>> An HTML attachment was scrubbed...
>>>>>>>>> URL:
>>>>>>>>> http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090220/8ac52809/attachment-0001.htm
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Message: 3
>>>>>>>>> Date: Fri, 20 Feb 2009 09:07:42 -0700
>>>>>>>>> From: Mike Kaplan <icon at dirtybill.com>
>>>>>>>>> Subject: [EventCalendar] A Click on the Calender Date is a broken
>>>>>>>>> link
>>>>>>>>> To: eventcalendar at firetree.net
>>>>>>>>> Message-ID: <9B26FC96-B9C7-4231-9D0D-0F436A52585B at dirtybill.com>
>>>>>>>>> Content-Type: text/plain; charset="us-ascii"
>>>>>>>>>
>>>>>>>>> Hey All -
>>>>>>>>>
>>>>>>>>> On my site (www.dirtybill.com) I have the Events Calender in my
>>>>>>>>> sidebar. When I add an event to date it shows up on the calender
>>>>>>>>> great.
>>>>>>>>>
>>>>>>>>> The problem is that when the user clicks on the date of the event
>>>>>>>>> for
>>>>>>>>> more info, it goes to a 404 Page not Found error message. How do I
>>>>>>>>> change where the dates link to or fix this problem? There are
>>>>>>>>> events
>>>>>>>>> added in March if you'd like to test this.
>>>>>>>>>
>>>>>>>>> Thanks!!
>>>>>>>>>
>>>>>>>>> Mike
>>>>>>>>> -------------- next part --------------
>>>>>>>>> An HTML attachment was scrubbed...
>>>>>>>>> URL:
>>>>>>>>> http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090220/2616c8c7/attachment-0001.html
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Message: 4
>>>>>>>>> Date: Fri, 20 Feb 2009 11:06:55 -0600
>>>>>>>>> From: Rick Boatright <rboatright at gmail.com>
>>>>>>>>> Subject: Re: [EventCalendar] A Click on the Calender Date is a
>>>>>>>>> broken
>>>>>>>>> link
>>>>>>>>> To: Support for EventCalendar plugin <eventcalendar at firetree.net>
>>>>>>>>> Message-ID:
>>>>>>>>> <d269121b0902200906t31f40eeci7098ed3056299cb7 at mail.gmail.com>
>>>>>>>>> Content-Type: text/plain; charset="iso-8859-1"
>>>>>>>>>
>>>>>>>>> just as a test,turn permalinks off in the admin page for wordpress
>>>>>>>>>
>>>>>>>>> I think it's an .htaccess problem
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Feb 20, 2009 at 10:07 AM, Mike Kaplan <icon at dirtybill.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>  Hey All -
>>>>>>>>>> On my site (www.dirtybill.com) I have the Events Calender in my
>>>>>>>>>> sidebar.
>>>>>>>>>> When I add an event to date it shows up on the calender great.
>>>>>>>>>>
>>>>>>>>>> The problem is that when the user clicks on the date of the event
>>>>>>>>>> for more
>>>>>>>>>> info, it goes to a 404 Page not Found error message. How do I
>>>>>>>>>> change where
>>>>>>>>>> the dates link to or fix this problem? There are events added in
>>>>>>>>>> March if
>>>>>>>>>> you'd like to test this.
>>>>>>>>>>
>>>>>>>>>> Thanks!!
>>>>>>>>>>
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Blog: http://wpcal.firetree.net/
>>>>>>>>>> EventCalendar at firetree.net mailing list
>>>>>>>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  -------------- next part --------------
>>>>>>>>> An HTML attachment was scrubbed...
>>>>>>>>> URL:
>>>>>>>>> http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090220/73e55059/attachment-0001.htm
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Message: 5
>>>>>>>>> Date: Fri, 20 Feb 2009 16:47:52 -0800
>>>>>>>>> From: Micky Dexter-Prince <Micky at PrincesOfPeace.org>
>>>>>>>>> Subject: [EventCalendar] Move EC Stale Posts to Archive
>>>>>>>>> To: eventcalendar at firetree.net
>>>>>>>>> Message-ID:
>>>>>>>>> <19A78569-E69B-4653-95C4-FA9B7F0757A5 at PrincesOfPeace.org>
>>>>>>>>> Content-Type: text/plain; charset="us-ascii"
>>>>>>>>>
>>>>>>>>> I am running EC 3.1.4 with WP 2.7 ~ Very new to this process ~ I am
>>>>>>>>> not a programmer
>>>>>>>>>
>>>>>>>>> Things seem to be working OK.  I need to remove EC posts from the
>>>>>>>>> Front Page and Events Category once the last event date has past.
>>>>>>>>> Displaying events in Archives seems OK.
>>>>>>>>>
>>>>>>>>> How can I go about doing this?
>>>>>>>>>
>>>>>>>>> I am nervous about upgrading to 3.2 with my limited experience,
>>>>>>>>> especially since I don't know if this would make any difference.
>>>>>>>>>
>>>>>>>>> Thank you for all your assistance.
>>>>>>>>>
>>>>>>>>> Micky
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------- next part --------------
>>>>>>>>> An HTML attachment was scrubbed...
>>>>>>>>> URL:
>>>>>>>>> http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090220/9b68b01d/attachment.html
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> EventCalendar mailing list
>>>>>>>>> EventCalendar at firetree.net
>>>>>>>>> http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> End of EventCalendar Digest, Vol 40, Issue 53
>>>>>>>>> *********************************************
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Blog: http://wpcal.firetree.net/
>>>>>>>> EventCalendar at firetree.net mailing list
>>>>>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Blog: http://wpcal.firetree.net/
>>>>>>> EventCalendar at firetree.net mailing list
>>>>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Blog: http://wpcal.firetree.net/
>>>>>> EventCalendar at firetree.net mailing list
>>>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Blog: http://wpcal.firetree.net/
>>>>> EventCalendar at firetree.net mailing list
>>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Blog: http://wpcal.firetree.net/
>>>> EventCalendar at firetree.net mailing list
>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090224/1213cfa1/attachment-0001.html


More information about the EventCalendar mailing list