Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Register Now Button appearing on past events

[SOLVED] Register Now Button appearing on past events 15 years 7 months ago #4217

  • superdmon
  • superdmon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Im running DT Register 2.5 and JEvents 1.5 RC
Everything seems to be working ok, except for the Register Now / View All Events Buttons. For one it is causing a module userposition to duplicate and appear on the page where it shouldn't. More importantly it is showing the Register Now button on events that are already past and allows you to register for them. I'm running Eventlink 2.0 Plugin. Any advice?

Charles

Please Log in or Create an account to join the conversation.

Last Edit: by superdmon.

[SOLVED] Register Now Button appearing on past events 15 years 7 months ago #4222

  • superdmon
  • superdmon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Can someone offer advice for this problem. It's a major issue when the system will allow registration of an event that is already over. I'm pretty sure it has to do with this query in the plug_dtregister.php file:
$sql="select distinct(a.evdet_id),a.dtstart,if(CURDATE()>b.cut_off_date,'y','n') as cut_off,a.*,b.cut_off_date, b.waiting_list , b.plugin_link_type from #__jevents_vevdetail a ,#__dtregister_group_event b where a.evdet_id=$eventId And a.evdet_id = b.eventId  AND a.state=1 ORDER by a.dtstart";

Please Log in or Create an account to join the conversation.

[SOLVED] Register Now Button appearing on past events 15 years 7 months ago #4232

  • superdmon
  • superdmon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Yikes, just figured out I had no cut off dates set in the database. That would do it eh?
Solved!

No one helped, but that's ok.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.394 seconds