Administrators simpilot Posted April 18, 2010 Administrators Report Posted April 18, 2010 EVENTBooking beta 1.0 phpVMS module to create and manage fly-in events for your phpVMS based virtual airline. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS 2.1.921 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -use the event.sql file to create the tables needed in your sql database using phpmyadmin or similar. -create a link in your admin navigation panel I put it on line 54 in admin/lib/layout/header.tpl <li><a href="<?php echo SITE_URL?>/admin/index.php/events_admin">Events</a></li> -create a link in your main site nav bar <li><a href="<?php echo url('/events') ?>">Events</a></li> This is a VERY BASIC BETA version of this module. It only includes basic functionality and is currently under further development. It is only being released in this BETA form for community input on further options. The Slot Limit determines how many open slots are available to pilots for signing up beyond the slots that are already reserved. - I would suggest not editing this after you have created the event and have signups. The Slot Interval is how many minutes are between each Slot Reservation. This is not editable once you set the number in the creation of the event. Bug tracker and feature requests here - http://bugs.phpvms.net/browse/EVB Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License EVENTBooking beta 1.1 update -removed datepicker calendar and added date dropdown to support all browsers -added news post function during initial creation of event -added function to delete an event and all signups associated with it -changed sql field size for event description from 250 characters to 2000 characters New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.1 files Run event_update.sql in your events table in your phpvms database EVENTBooking beta 1.2 update - phpVMS ver 929 -fixed small date bug when editing event -new function to automatically add the link in the admin panel for the events module. It should show up under addons->events. (only functional with build 929 and beyond) You no longer need to put the link in your header for the admin side and it will not get overwritten in updates. New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.2 files If you are updateing from 1.0 -> Run event_update.sql in your events table in your phpvms database EVENTBooking beta 1.3 update - phpVMS ver 930 -added pilot rankings for number of events attended. New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.3 files If you are updating from 1.0 -> Run event_update_1.1.sql & event_update_1.3.sql in your events table in your phpvms database If you are updating from 1.1 or 1.2 -> Run event_update_1.3.sql in your events table in your phpvms database Code hosted on Github - Link In Signature. 12 Quote
Moderators mark1million Posted April 18, 2010 Moderators Report Posted April 18, 2010 Excellent Sim pilot i will give that a whirl now Quote
Moderators Kyle Posted April 18, 2010 Moderators Report Posted April 18, 2010 (edited) got one problem, when i sleceted the date of the event which it does not set. but it sets to 01,01,-000 whatever. EDIT!: Nevermind, got it working. Edited April 18, 2010 by Vansers Quote
Moderators mark1million Posted April 18, 2010 Moderators Report Posted April 18, 2010 Yeh i got the same just manually put it in yyyy-mm-dd is the format. The other thing is any chance of increasing the description limit? Another beauty from Dave Thanks Simpilot Quote
Moderators Kyle Posted April 18, 2010 Moderators Report Posted April 18, 2010 Yeh i got the same just manually put it in yyyy-mm-dd is the format. The other thing is any chance of increasing the description limit? Another beauty from Dave Thanks Simpilot Yep, that's what i have. Quote
stuartpb Posted April 18, 2010 Report Posted April 18, 2010 Your work on this module is very much appreciated Simpilot, I would like to thank you I have installed the add-on on my site, and will be skinning it up over the next few days, I had a look around the add-on and it's definitely a welcome addition! It will be a little diamond gem when I get around to using it live. Quote
Administrators simpilot Posted April 18, 2010 Author Administrators Report Posted April 18, 2010 stuart, are you having the same date issue? When you guys click, or tab, into the date selection box the jquery datepicker should pop up, like this - if it doesn't, there are issues somewhere before that which we will have to figure out, but you should also be able to manually input the date in a yyyy-mm-dd format. It seems to be working for me on 921, what version are you guys on? Quote
Administrators simpilot Posted April 18, 2010 Author Administrators Report Posted April 18, 2010 The other thing is any chance of increasing the description limit? You can change the field to what you would like in the sql table, i just changed it to 2000 from 250 in my version so it will be exported that way for the next release. Not sure why I had 250 Quote
Administrators simpilot Posted April 18, 2010 Author Administrators Report Posted April 18, 2010 I have installed the add-on on my site, and will be skinning it up over the next few days. I wouldn't put too much time into skinning, the tpl files will probably be changing some with coming releases. Quote
stuartpb Posted April 18, 2010 Report Posted April 18, 2010 Thanks for the info, and no worries - I've got a boat load of other work to do before I can get round to skinning. Quote
stuartpb Posted April 18, 2010 Report Posted April 18, 2010 stuart, are you having the same date issue? When you guys click, or tab, into the date selection box the jquery datepicker should pop up, like this - if it doesn't, there are issues somewhere before that which we will have to figure out, but you should also be able to manually input the date in a yyyy-mm-dd format. It seems to be working for me on 921, what version are you guys on? Sorry I missed that post. I'm on 922 and the date pickers working fine for me. Quote
Moderators Kyle Posted April 18, 2010 Moderators Report Posted April 18, 2010 stuart, are you having the same date issue? When you guys click, or tab, into the date selection box the jquery datepicker should pop up, like this - if it doesn't, there are issues somewhere before that which we will have to figure out, but you should also be able to manually input the date in a yyyy-mm-dd format. It seems to be working for me on 921, what version are you guys on? Simpilot, when i create a new event, it was already popped out. Quote
selwynorren Posted April 18, 2010 Report Posted April 18, 2010 Hey Simpilot, Wow what a great add on. Better than what I expected. I also have the issue regarding the Calendar, Its already open when I load the page and it does not fill in any details. Another request if possible? Would it be possible for the event to be added to the latest new at the same time. Not sure what the other guys think of this? Awesome add-on!!! Quote
stuartpb Posted April 18, 2010 Report Posted April 18, 2010 Hey Simpilot, Wow what a great add on. Better than what I expected. I also have the issue regarding the Calendar, Its already open when I load the page and it does not fill in any details. Another request if possible? Would it be possible for the event to be added to the latest new at the same time. Not sure what the other guys think of this? Awesome add-on!!! Wouldn't it be better to keep the news seperate from events, especially if you are going to be using banners advertising the events? That's how I am hoping to utilise the events add on. Each banner will link through to the event info page. PS Simpilot: I have been testing the add on, and it's working fine on my site, just wanted to double check everything. http://britair.net/index.php/events Quote
tnick74 Posted April 18, 2010 Report Posted April 18, 2010 Great addon Dave! Thanks two questions: 1. could the date format changed to dd/mm/yyyy? 2. could non registered pilots to signup for an event (typing their info as they are not in the database). this could help non-members to participate in a VAs event thanks!! Quote
Administrators simpilot Posted April 19, 2010 Author Administrators Report Posted April 19, 2010 Wow guys, I go out for the day and..... Nabeel has set up a project for this module in the new bug tracker - http://bugs.phpvms.net/browse/EVB You can use it to add bugs or request new features. Support issues should remain in the forum thread. Does anyone have the date-picker working correctly? If someone that is having an issue with it would be willing to let me use a login to their site so I can see it, that woudl be helpful, I can't seem to reproduce the problem here. If you guys want a news post tied to the event I could make it an option that you would have to check off when you create the event. Guests signing up for events - I have to think about this one a bit, probably would need some kind of temp table to hold guests info. What would you want to know about them? email, name, etc... I dont think I have ever seen guests flying in a VA event, that is definitly thinking outside the box. Quote
Administrators simpilot Posted April 19, 2010 Author Administrators Report Posted April 19, 2010 Vansers let me login to his site and the canendar works as it should for me. I am thinking this may be something browser based. If anyone can get it to actually show an error log message, please post it here. Thanks Quote
llju1 Posted April 19, 2010 Report Posted April 19, 2010 Sweet as usual and a News Post tie in would be great. I think half my site is built on your Modules Thanks again for the great work. Quote
tnick74 Posted April 19, 2010 Report Posted April 19, 2010 Dave, the news post tied to an event is a very helpful option, i suppose all VAs will use it the guests (when welcome) should have an opportunity to book someway (imagine, you would like to participate in a VAs event once but you are not member, you would prefer to be able to book your slot). i think name and e-mail is enough for it. Thanks! Quote
Administrators simpilot Posted April 19, 2010 Author Administrators Report Posted April 19, 2010 gosox116, on 18 April 2010 - 01:23 PM, said: Simpilot, I have installed and tested it in my site. First off, the Beta is AWESOME! I did find a few bugs: --Calendar won't let you select dates, you have to type them in --If you set the slot limit to 10, and 3 members sign up, it shows a total of 13 slots instead of 10 Thank, Carl Are you using firefox? - The calendar seems to be an issue for that browser, ie8 seems to display it fine. Still looking into it. The slot limit probably should be worded better. It is currently set that that is how many open slots to have at any one time, so if it is 10 and you have 3 signups it would be 13 total. 3 reserved and 10 open. I needed something to set u the loop, or it would just go on to infinity and I did not want to make it a fixed number as some may have different ideas, maybe best to add a true slot limit as well. Quote
llju1 Posted April 19, 2010 Report Posted April 19, 2010 1 Question Can I put the admin/lib/layout/header.tpl into my Skins Folder so the the upgrades don't overwrite the event line in 54? Quote
Administrators simpilot Posted April 19, 2010 Author Administrators Report Posted April 19, 2010 1 Question Can I put the admin/lib/layout/header.tpl into my Skins Folder so the the upgrades don't overwrite the event line in 54? I have not tried but I am thinking you could create a new admin skin folder in the admin section then change the config::layout in the local file to use that skin but you will have to keep up with any admin side changes. It would probably be better at this point to just reset the link with each update. Quote
llju1 Posted April 20, 2010 Report Posted April 20, 2010 I have not tried but I am thinking you could create a new admin skin folder in the admin section then change the config::layout in the local file to use that skin but you will have to keep up with any admin side changes. It would probably be better at this point to just reset the link with each update. No Problem I just did the 2.1 ver 927 update and forget to try it so still had to re-add the Script Quote
Nagelfar Posted April 21, 2010 Report Posted April 21, 2010 Is it possible to show the events_index inside the Pilotpanel with the maincontroller::run funkction or something? and how would be the code? Quote
Administrators simpilot Posted April 21, 2010 Author Administrators Report Posted April 21, 2010 EVENTBooking updated to 1.1 - new package at beginning of thread There were two downloads of 1.1 prior to me catching an error in the date dropdown. It has been corrected and reloaded as 1.1. Quote
Administrators simpilot Posted April 21, 2010 Author Administrators Report Posted April 21, 2010 Is it possible to show the events_index inside the Pilotpanel with the maincontroller::run funkction or something? and how would be the code? you can use - <?php MainController::Run('Events', 'index'); ?> Quote
Administrators simpilot Posted April 22, 2010 Author Administrators Report Posted April 22, 2010 EVENTBooking updated to 1.2 - new package at beginning of thread Quote
Administrators simpilot Posted April 23, 2010 Author Administrators Report Posted April 23, 2010 EVENTBooking Updated to 1.3 - New package at beginning of thread. Added the base for pilot rankings for number of events attened. Quote
llju1 Posted April 23, 2010 Report Posted April 23, 2010 EVENTBooking updated to 1.2 - new package at beginning of thread I updated and it looks great but I go one error. I use the Popupnews on my sidebar. It show the event in the popupnews but when I click on the new Item I get this. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::popupnewsitem' was given in /hermes/web06b/b338/pow.llju1/htdocs/core/classes/MainController.class.php on line 218 any Ideas? Nevermind I did the POPup news Update1.1 and fixed it lol Quote
Administrators simpilot Posted April 23, 2010 Author Administrators Report Posted April 23, 2010 I updated and it looks great but I go one error. I use the Popupnews on my sidebar. It show the event in the popupnews but when I click on the new Item I get this. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::popupnewsitem' was given in /hermes/web06b/b338/pow.llju1/htdocs/core/classes/MainController.class.php on line 218 any Ideas? http://forum.phpvms.net/topic/1062-popupnewsmodule/page__view__findpost__p__17155 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.