Moderators servetas Posted February 16, 2015 Moderators Report Posted February 16, 2015 Please check this. Quote
Onno Posted February 16, 2015 Report Posted February 16, 2015 Thanx for the tip it worked!! Regards Onno Quote
ShaunEllis1 Posted February 28, 2015 Report Posted February 28, 2015 Is there a .tpl version of this as I think this one is incompatible with my current phpVMS install ? 1 Quote
BaRBeR Posted March 3, 2015 Report Posted March 3, 2015 servetas' post also applies to you @ShaunEllis1 here you go - here Quote
KZR005 Posted March 13, 2015 Report Posted March 13, 2015 Hi! please clarify, what i need to input in every field for save event and how pilots will book and report their flight in acars? Quote
Tato123 Posted May 6, 2015 Report Posted May 6, 2015 Hi guys, is possible to find with the number of flight "schedules" the schedule briefing? I have this problem, compare the event ->schedule with the "flight number" in schedules on my phpvms system Quote
Tato123 Posted May 8, 2015 Report Posted May 8, 2015 Hi guys, is possible to find with the number of flight "schedules" the schedule briefing? I have this problem, compare the event ->schedule with the "flight number" in schedules on my phpvms system Solved Quote
Iraklis Posted June 21, 2015 Report Posted June 21, 2015 Is there a .tpl version of this as I think this one is incompatible with my current phpVMS install ? +1 Quote
Administrators simpilot Posted June 22, 2015 Author Administrators Report Posted June 22, 2015 Yes there is - http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/ Quote
gio1961 Posted December 29, 2015 Report Posted December 29, 2015 Hello everyone ... you can link on the flight number in order to open schedule briefing Thanks for a possible answer. Best regards Quote
Iraklis Posted January 21, 2016 Report Posted January 21, 2016 is there a way to import the table of the events to the main page??? also how can i create a group to the admins so a member can create events but not to have full access_admin??? Quote
web541 Posted January 22, 2016 Report Posted January 22, 2016 I believe what you are talking about it this <?php MainController::Run('Events', 'index'); ?> For the front page and have a look at this for your admin permissions as they are not directly editable http://forum.phpvms.net/topic/21078-restrict-access-to-add-on-manager-pilot-groups/ 2 Quote
Moderators servetas Posted January 23, 2016 Moderators Report Posted January 23, 2016 There are also some other solutions here: http://forum.phpvms.net/topic/23213-phpvms-admin-addons/ Quote
Iraklis Posted January 30, 2016 Report Posted January 30, 2016 a little problem..the date is 31/1/2016, so i add an event at 31/1/2016 at 14:00 GMT and the system tranfers it to the past events?? also at the year shows 2014.2015 and -0001???? any help??? Quote
Moderators servetas Posted January 31, 2016 Moderators Report Posted January 31, 2016 The system calculates the upcoming events based on your server time. What is your server's timezone? Quote
Moderators servetas Posted January 31, 2016 Moderators Report Posted January 31, 2016 Open your phpmyadmin, find your database, select to run a sql query and run this: SELECT NOW(); This will print the current date and time of your server. Quote
Iraklis Posted January 31, 2016 Report Posted January 31, 2016 pc time is 18:09 serner time is 17:08 Quote
Moderators servetas Posted January 31, 2016 Moderators Report Posted January 31, 2016 Your pc time does not have to do with this. Try to set an event for 31/1/2016 at 17:30. Until 17:30 (server time) or 18:30(your pc time) it should be shown on the upcoming events. Does it? Quote
Iraklis Posted January 31, 2016 Report Posted January 31, 2016 no! i have created an event for today at 17:30 but the system tranfers the event to the past events Quote
Moderators servetas Posted January 31, 2016 Moderators Report Posted January 31, 2016 Can you recreate it cause I can't see it on your website. Quote
Moderators servetas Posted January 31, 2016 Moderators Report Posted January 31, 2016 Open common/EventsData.class.php, and find this: $query = "SELECT * FROM ".TABLE_PREFIX."events WHERE date >= NOW() ORDER BY date ASC"; replace it with this: $query = "SELECT * FROM events WHERE date >= CURDATE() OR (date = CURDATE() AND time >= CURTIME()) ORDER BY date ASC"; Then find this: $query = "SELECT * FROM ".TABLE_PREFIX."events WHERE date < NOW() ORDER BY date DESC"; and replace it with this: $query = "SELECT * FROM events WHERE date < CURDATE() OR (date = CURDATE() AND time < CURTIME()) ORDER BY date DESC"; By default the Events module marks the event as past when the date you have selected reaches. I notice that a few others have come up with this issue during the last years after reading the topic. This should print the events accordingly. The event will be marked as passed as soon as the date and time reaches. Bare in mind that it is based on your mysql server time. Quote
elekaj34 Posted March 10, 2016 Report Posted March 10, 2016 Hello After having pvpVMS working, I've installed the EVENTBooking beta 1.3 modules ! In phpMyAdmin I've created the table as needed and it's OK. I've done nothing else ! In the admin panel, I've the "Event" entry on Addon menu, but when clicking on it, the page remains blank (cf screenshoot below) I've tried to create (successfuly) an event link in the admin navigation bar (as shown in README.txt), but the page is already blank ! So what I've missed ? Thanks ! Quote
RodrigoMoreira9 Posted March 20, 2016 Report Posted March 20, 2016 In Admin: events/sidebar_events.php what do I do? Quote
Administrators simpilot Posted March 21, 2016 Author Administrators Report Posted March 21, 2016 In Admin: events/sidebar_events.php what do I do? Looks like you are using the php version on a tpl template system - change the extension on the sidebar function in the admin module file, change the extension from php to tpl. Quote
manu093 Posted September 11, 2016 Report Posted September 11, 2016 Please help me for the moule Ceent http://regional-va.fr/index.php/CCEvents Quote
TAV1702 Posted October 27, 2016 Report Posted October 27, 2016 (edited) I have had this issue for a long time now and never figured it out. If I use a carriage return I get this \r\n in my news posts if I post event as news. at times I do get \r\n\r\n\r\n Do I need to use something like $buffer = str_replace(array("\r", "\n"), '', $buffer); or something like preg_replace( "/\r|\n/", "", $yourString ); Now I make that sound good but in all actuality, I do not know how or where to either of those two options. I read it on stackoverflow and cant make heads or tails of it. And notice in my screenshot it is adding a slash in the word chicago\'s? I take it I am going to need to use strip slashes as well? Ironically enough, I was able to post a link to a phony website Ray.com It didn't destroy that at all oddly enough. (the Link is not in this attached screenshot. This shot is from a previous news post) The admin panel and the actual event page works flawless, it is only if I post event as news. I appreciate any help I can get. Ray Edited October 27, 2016 by TAV1702 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.