1
tomodea
extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/12 1:04

  • tomodea

  • Just popping in

  • Posts: 47

  • Since: 2008/2/19


I am using the extcal module and I'm very happy with it.

There is a minor point re the list of upcoming events. This is available as a block which I include in my home page. However, the events in the list are only future events. If I have a long running event, e.g. an exhibition that runs over several days or weeks I would like to see this event in the list. In other words, the list of upcoming events should be those events with an end date in the future rather than a start date in the future.

Does anyone know what changes are needed to do this?
Regards, Tom O'Dea
Melbourne, Australia

2
tomodea
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/12 4:29

  • tomodea

  • Just popping in

  • Posts: 47

  • Since: 2008/2/19


I think I figured it out.

I changed a line in extcal\class\event.php which was:

$criteriaCompo->add(new Criteria('event_start', $time, '>'));

to:

$criteriaCompo->add(new Criteria('event_end', $time, '>'));

This is line 241 in my version.
Regards, Tom O'Dea
Melbourne, Australia

3
Anonymous
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/12 8:32

  • Anonymous

  • Posts: 0

  • Since:


Good find

Perhaps you could visithttp://www.zoullou.net/ and ask that this be made a switchable setting in future releases?

Edit:
Link corrected

4
script_fu
Re: extcal Module - How do I get events in progress in the list of upcoming events?

Very nice find... Have you had any problems from changing the code?

5
McDonald
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/13 21:24

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Be carefull with eXtCal.

In dev. version 2.1.6 multiple XSS vulnerabilities have been found. See bug-report.

I asume that previous versions have these probs too.

Make sure you have Protector installed anyway!!

6
jfmoore
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/14 2:17

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

McDonald wrote:
Be carefull with eXtCal.

In dev. version 2.1.6 multiple XSS vulnerabilities have been found. See bug-report.

I asume that previous versions have these probs too.

Make sure you have Protector installed anyway!!


That's discouraging news. Unfortunately though, if you want a calendar, there's just not much choice except for piCal which I've tried numerous times and always wind up deleting.

Sure hope zoullou gets this thing fixed and keeps improving it.

Jere
...

7
tomodea
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/14 4:33

  • tomodea

  • Just popping in

  • Posts: 47

  • Since: 2008/2/19


Quote:

script_fu wrote:
Very nice find... Have you had any problems from changing the code?


No problems. I just need to remember to retrofit the change if I need to update to a new version of the module at some time in the future.
Regards, Tom O'Dea
Melbourne, Australia

8
tomodea
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/14 4:39

  • tomodea

  • Just popping in

  • Posts: 47

  • Since: 2008/2/19


Quote:

McDonald wrote:
Be carefull with eXtCal.

In dev. version 2.1.6 multiple XSS vulnerabilities have been found. See bug-report.

I asume that previous versions have these probs too.

Make sure you have Protector installed anyway!!


Thanks for the warning. I have XOOPS Protector turned on.
Regards, Tom O'Dea
Melbourne, Australia

9
McDonald
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/14 8:08

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I've done the same test for eXtCal 2.0.4 and no vulnerabilities were found. This version should be safe to use.

Wondering why so many vulnerabilities exist in dev. version 2.1.6.

10
Anonymous
Re: extcal Module - How do I get events in progress in the list of upcoming events?
  • 2008/3/14 8:29

  • Anonymous

  • Posts: 0

  • Since:


Quote:
McDonald wrote:

I've done the same test for eXtCal 2.0.4 and no vulnerabilities were found. This version should be safe to use.


This is good news

Quote:
McDonald wrote:

Wondering why so many vulnerabilities exist in dev. version 2.1.6.


I suspect "because it's a dev version" is the answer. Zoullou's having to rewrite a lot code to ad new features such as recurring events, etc and it might be that he's not got it tied down yet.

Have you posted on his Forums? He welcomes feedback and helpful advice.

Cheers

Login

Who's Online

186 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits