JEvents 1.4

$50 bounty

Postby cms_topsites » Fri Jul 17, 2009 9:52 pm

I been working on a project with JEvents 1.4 (and it does need to be JEvents 1.4) and I am having trouble trying to figure out how to limit records and add page navigation to the event list. So I just want to limit the number of events per page. And the events can be any type (one day, once a week, or any other possibility). I know Jevents knid-of has this function, but it does not work the way I want. I am willing to pay someone a $50 bounty (with paypal or wahtever) if they can help me get this working successfully.

If you want to know why I want this I have it setup so I can load pre-defined date ranges (ex 4th of July[07-04-09 to 07-04-09], a weekend [07-25-09 to 07-26-09] or maybe even summer [06-22-09 to 09-22-09] ). I plan (and hope) to possibly have 100s of events, so to save on the server's load and to increase page hits I want to implement a limiting/page nav system for events.

In a fresh install if the are 10 events for today and I click on "view today", it would list all 10 events. I would want Jevents to split it in to the correct amount of pages ( I think it would be done in showEventsByDateNEW and listEventsByDateNEW). If 5 was the max events per page then it would display 5 events on the first page and the 5 and the 2nd page.
Example: Page 1
Event #1
Event #2
Event #3
Event #4
Event #5
«Start Prev 1 2 Next End»


Example: Page 2
Event #6
Event #7
Event #8
Event #9
Event #10
«Start Prev 1 2 Next End»


I am not asking for someone to completely do the work but to help me get it working
If you are interested either PM me or post a reply and I can give you more contact info

There are the sample events I was using, so I would need it to work with the ones below.
Code: Select all
INSERT INTO `jos_events` VALUES (1, 0, 34, 'TEST #1', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (2, 0, 34, 'TEST #2', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (3, 0, 34, 'TEST #3', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (4, 0, 34, 'TEST #4', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (5, 0, 34, 'TEST #5', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (6, 0, 34, 'TEST #6', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (7, 0, 34, 'TEST #7', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (8, 0, 34, 'TEST #8', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (9, 0, 34, 'TEST #9', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (10, 0, 34, 'TEST #10', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (11, 0, 34, 'TEST #11', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (12, 0, 34, 'TEST #12', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (13, 0, 34, 'TEST #13', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (14, 0, 34, 'TEST #14', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (15, 0, 34, 'TEST #15', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
cms_topsites
 
Posts: 2
Joined: Fri Jul 03, 2009 7:54 pm

Return to JEvents 1.4

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users