Jump to content

Nabeel

Administrators
  • Posts

    8140
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Nabeel

  1. I don't know of any free ones, but try xamp for if you're doing self-hosting.http://www.apachefriends.org/en/xampp-windows.htmlIt's what I use for my testbed machine too.
  2. Hey,What you'll need to do is create the database, from phpMyAdmin, or whatever your host has setup for creating databases. Then just run the phpVMS installer, and point it to the database, with the username and password for it, and it'll create all the tables and setup all the data.Who is your host?
  3. Hey,Thanks for checking it out.The way you've described, there is no way to really do that.phpVMS is the entire site, and the customization is done to phpVMS itself.I've looked at your site, you need to create a skin - which is your header/footer, and point your links to phpVMS's pages; and you can create pages, etc; it's like a content management system, and the VA stuff integrated. For instance, it would be unitedairlinesva.com/index.php/Profile to get to the pilot profile.Now, if you want to get rid of the index.php, you can use mod_rewrite. I can help you write the rewrite rule for it, but it's a module for apache. It doesn't eliminate index.php, but it eliminates it from the URL. For the admin area, removing it would be difficult, as the admin area is more complicated to do that for.Read through the docs, the managing your site, customizing, and then the skinning, that may clear up your questions, hopefully.Let me know if you need more help,Thanks Saleem Saheb
  4. Ah, I thought I had done varchar() as I did with the PIREP form.You can change that field type if you'd like, I'll change it in the next build (not until next week at least).I do filter out the html, and it does htmlentities() on it. You can change it manually in the schedules table in that column for now. I'll make a few changes to that as well to allow HTML.
  5. I'll check out the first one. The notes, should be:<br />It does filter HTML out though (for security reasons). I believe <br /> should work however.
  6. Hey,You can create a profile field and make it private, then only it can be seen from the admin panel.
  7. Read this:http://www.phpvms.net/docs/skinning#creating_skinsBasically you create your header and footer (I just design something and then copy from the top of the fil uptil everything that content should go into ad my header.tpl, the rest into footer.tpl), then your basic design should work. Remember to keep the elements listed in the doc in the appropriate places.The navigation is done automatically if you include the Template::Show('core_navigation.tpl'), but you can also do it manually. Check out the Cerulean Airlines site, http://www.ceruleanairlines.comI'll create a doc with all of the links to get to different pages.As for modifying templates, copy the one you want to modify from /core/templates into the folder of your skin (that way it won't get overriden in an update, and it stays with your skin).Hope that helps! Let me know if you need more clarification. Read through the docs as well, it'll help give a general overview.
  8. Hey,I don't allow pilot deletes because they have alot of data - pireps, fields, etc which are all associated with them, and it could become a mess. But if people want to be able to do it, I'll implement it into a future update.For now, you can delete their entry manually in the pilots table. That delete should cascade down to all of their other entires.What I may do is have a setting there every x days, the system is cleaned up of rejected PIREPS and pilots.
  9. Some good things to read which may answer your initial questions:The wiki: http://www.phpvms.net/docsInstallation/Upgrading: http://www.phpvms.net/docs/installationBasic phpVMS Setup: viewforum.php?f=20Skinning: http://www.phpvms.net/docs/skinning
  10. If you want to change up how the front page looks, or add intro text, etc, it's easy to do.Goto core/templates, and there are three files beginning with frontpage_: frontpage_main.tpl frontpage_recentpilots.tpl frontpage_reports.tplYou can copy each one of these to your skin folder, and modify them as you'd like. frontpage_main.tpl:This file contains code which looks like this: <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> It's calling a function in the PIREPs module, to show the recent front page PIREPS, and to show 5 of them. This in turn calls the frontpage_reports templateThere is also: News::ShowNewsFront(5); Which in turn calls news_newsitem.tpl, which you can also modify. The 5 means it'll show the last 5 news items.
  11. If you're using, or planning on using phpVMS, send me your airline logos, and a link to your site!I'm going to post them up on a logo board. As for the size, something decent, which I can size down if I need to. Email them to nabeel at phpvms dot netThanks!
  12. Excellent! I'm glad you've picked this.The code is going to freeze, and as you can tell, the site is going through upgrades and putting everything place for the final version Look through the docs, to get familiar. They're still being written and updated, but at least the basic information is there
  13. Nabeel

    Build 361

    Is up... with a lot more updates and improvements!Download it hereBuild 1.0.361 Schedule importer (yay!) CSV Template included Notes and enabled option field added to schedules PIREPs check for route existence before submitting "Times flown" for schedules now updated on PIREP submit Update script test in this build Some file organization, admin panel skin moved Bug fixes Notes: ----- * Run the update script in install/update.php * IMPORTANT: core_javascript.tpl has been renamed to core_htmlhead.tpl Correct this in your skin if you're not using a default!
  14. Excellent! Thanks.New build going up
  15. I'm finishing up the import, but I'm trying to decide on something;Can you guys make a plain page, with this: <?php $reader = simplexml_load_file('http://ws.geonames.org/search?style=short&maxRows=1&featureCode=AIRP&q=kjfk');print_r($reader); ?> Just paste in what it says, I'm just seeing if the extension is enabled on your servers (it's supposed to be by default)
  16. Oh ok I see you did a fresh install.When you go to a page, does it say anything, or is it just blank?I understand now with the linking, I'll add that in. But if I can find a service, I'll toss that in
  17. You need to create it. I thought I added it into the build. Sorry!
  18. Another build tonight, download it from here * PIREP fields can have different types (text, textarea, dropdown) * Added separate schedule detail page * Replaced Google Charts with JS based charting * Moved pilot stats * Bunch of bug fixes (too many to remember...)Also, another query to run: ALTER TABLE `phpvms_pirepfields` ADD `type` VARCHAR( 25 ) NOT NULL , ADD `options` TEXT NOT NULL ;
  19. 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!
  20. Thanks for the list Anthony!I'm gonna go through these one by one Appreciate it!
  21. 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;
  22. 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.
  23. 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.
  24. Nabeel

    Pilot Ranks

    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.
  25. 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.
×
×
  • Create New...