-
Posts
8148 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Nabeel
-
Ok, I emailed you, but here's these: box removed, forgot that was there I'm replacing that with a tabled list instead I cant get the site working. I'm gonna look for a service though, it needs to be a JSON service provider like the airports info. ill take a look in a bit woops left debug info there any times can be entered in any format what do you mean? did yo register/ enter your google API key in the settings? put this in your local.config.phpConfig::Set('PAGE_EXT', '.htm'); Let me know if that does the trick.Also, look at install/templates/config.tplAnything under the SITE_URL, copy into your local.config.php will fix.Thanks!
-
Thanks for the list Anthony!I'm gonna go through these one by one Appreciate it!
-
This next build is up, with a ton of fixes and some new features:Download it from here (Admin) Custom fields can now be added into PIREPS (Admin) "View details" link on PIREP Added flight queue/bid feature PIREP report page reorganized, shows additional fields Contact, Live Map removed for now (Will be re-added) IMPORTANT NOTESRun the following queries, change the phpvms_ if your prefix is different.These changes have been reflected in the changelog and the installer. CREATE TABLE `phpvms_pirepfields` ( `fieldid` INT NOT NULL AUTO_INCREMENT , `title` VARCHAR( 25 ) NOT NULL , `name` VARCHAR( 25 ) NOT NULL , PRIMARY KEY ( `fieldid` ), UNIQUE KEY `name` (`name`) ) ENGINE = INNODB; CREATE TABLE `phpvms_pirepvalues` ( `id` INT NOT NULL AUTO_INCREMENT , `fieldid` INT NOT NULL , `pirepid` INT NOT NULL , `value` VARCHAR( 50 ) NOT NULL , PRIMARY KEY ( `id` ), FOREIGN KEY (`fieldid`) REFERENCES phpvms_pirepfields(`fieldid`) ON DELETE CASCADE, FOREIGN KEY (`pirepid`) REFERENCES phpvms_pireps(`pirepid`) ON DELETE CASCADE ) ENGINE=INNODB; CREATE TABLE `phpvms_bids` ( `bidid` INT NOT NULL AUTO_INCREMENT , `pilotid` int(11) NOT NULL default '0', `routeid` int(11) NOT NULL default '0', PRIMARY KEY ( `id` ), FOREIGN KEY (`pilotid`) REFERENCES phpvms_pilots(`pilotid`) ON DELETE CASCADE, FOREIGN KEY (`routeid`) REFERENCES phpvms_schedules(`id`) ON DELETE CASCADE ) ENGINE = INNODB;
-
Can you look in your core/pages folder, are there pages there? And whats the extention, .htm or .html.The link formats have changed in this build. Tryyoursite.com/index.php/pilots.I have just commited a build now with those fixes.This one also includes the bidding/queue system.You can get it from this link: http://phpvms.devjavu.com/wiki/SourceCheckoutBookmark that page, it updates automatically every time I commit a build. I'm posting the build right now.
-
You can't start threads, but you can reply. That way if anyone needs clarification, it can stay "on record".If you want to suggest any topics to be included, post them in the General Discussion area, and I will create a topic here.
-
You can create ranks, and add images to represent these ranks.They can be added by logging into the Admin panel, then going to Settings -> Pilot RanksTo add the image, click "Edit" on a rank, and then enter the full url to the image (including the http://). It will then show on the pilot hub page, or anywhere the rank is shown.
-
You can add custom fields to pilot reports, to be filled out when someone files them.To add them, login to the admin panel, then goto Settings -> PIREP Fields. From here you can add fields to be filled out.You can also set the type. The default is 'text', and it will be a text field.'Textarea' will be a text field.The last option is "dropdown". To add values to the dropdown, enter them in order, seperated by commas, for instance:Field Name: Flown OnlineField Type: DropdownField Values: Yes, NoWill produce a dropdown box with a Yes and No option.
-
The settings are stored in app.config.php and local.config.php.Settings are first loaded from app.config.php. And then in local.config.php. Any settings that are in local.config.php are used over the ones in app.config.php.Local.config.php isn't over-ridden in any updates, so your custom settings are saved for the future.More options are/will be added in future updates. Their default values are stored in app.config.php.The release notes will take note of these, so you can add them into your local.config.php, if you want to change them from the default.
-
You may want to customize how some elements are showing on your site.Each part of the site is stored in a template, to separate the code from what someone sees, making it easy to change.These templates are located in core/templates. They're named close to what they do.Now you can modify these directly, but in a future update, they could be over-written. The best way is to do it, is to copy it to the folder of the skin that you are usingFor example, if you're using the crystal skin, copy the template you want to the /lib/skins/crystal folder.That way, you can customize the templates based on your skin, and they won't get modified in a future release or update. If a template is changed, then it'll be in the release notes.
-
I found the problem, and it's fixed. It'll be in the next build, possibly tonight
-
Is there any error?I'm going to look at this.Should be another update in a few days!
-
Hey there,I would start at php.net, and also check out sitepoint.comIf you have any specific questions, check out the Support Forum. If you want VA help, check out avsim or simviation. Cheers!
-
Took long enough for this next build, right? Well sorry about that guys! Had a little too much going on for the past few months.But here it is, RC1. Alot of changes. I recommend a clean install. Unfortunately, I won't be able to do FSACARS integration just yet - I don't have my FSX PC for a few weeks since I am moving.It can be downloaded from hereBuild 340 (RC-1 aka "Top of Decent") Clean URLs implemented Set Google Map type (See Notes) Pilot ranks are updated on PIREP accept Schedule distance properly saved/displayed Schedule listing shows airport name with ICAO on default Option to show Leg in schedule (See Notes) "False alarm" errors in updates/changes fixes Code field expanded Airports/Pilots listed by hub Added "Aircraft" field to schedule search options Added "Distance" to schedule search Added "Arrival Airport" to schedule search Unnecessary AJAX removed from "File PIREP" PIREP comments can be viewed by admin Login error fixed Pilot registration messes up ranks fixed Flight hours not adding properly bug fixed Notes: (All these options go in local.config.php to change from default) ----- To stop the flight leg text from showing, add: Config::Set('SHOW_LEG_TEXT', false); To use a different map type (default is G_PHYSICAL_MAP). Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP'); You can also change the line color on the map using: (default is red) Config::Set('MAP_LINE_COLOR', '#ff0000');
-
Yeah, now for the past week I've been having trouble with the svn repos for the version control. I was hoping to have a build tomo. Grr.
-
HeySorry for the late reply!I'm working on it.. albeit slowly.. I'm getting slammed at work.But I've somewhat revamped the schedules.There was a framework update, applied that, along with a ton of bug fixesAnd other specific bug fixes.Tonight I'm gonna try to get back to it, I cleared alot of my other stuff out of the way.Don't worry I haven't forgotten...
-
Sorry for the late response.Where are these links?Look in your core/local.config.php, that is entered during the installer. You may have typed it wrong. If it's not there, let me know.Also, the /page, might be related to above. The $Config[sITE_URL] should point to your phpVMS install.Hope that helps!
-
Yeah, I'm working on FSACARS integration.
-
Yes also a permissions error.
-
If you goto modules/Pilots/Pilots.php, the RecentFrontPage() function, just delete the echo "test" line.I had that there because it wasn't showing up on my test install. Good to see it works on yours I'll add another variable for the number padding. Right now it's set to three.
-
You need to 777 the core/pages directory
-
Thanks for your quick reply! Yeah that's not right. It's IE's fault
-
Running in safe-mode is kinda a non-standard way, hosts shouldn't really be running under safe mode. It cuts into the main PHP functionality.The things I can think of off the top of my head which won't work are the pages which create files.The rest, I can try to implement.Weekday schedules - will be tough but I can implement a simple string which will show the days.The rest of the things can be implemented, either through add-ons. This system is kinda meant to be a "replacement" for a site, since it has some CMS capabilities as well. If you're slightly proficient with PHP or HTML, it's easy to implement sections of the site into your own PHP pages. It'll just be some copy/pasting from the template file (which is plain HTML) into your own pages.
-
Hey,Is this on the admin end or the front end?Yay for breaking stuff
-
Wow, how embarassing! Fixed a few installer and "first install" issues. Just teaches you can't rely just on unit testing.We should be okay now. Build 323.Try wiping the database, should go okay.http://www.phpvms.net/docs/downloads