Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel

  1. Ah that sounds like a problem with your host.I will look into it, but also send them a ticket with the open_basedir error.I'll see if I can patch around it.Edit: I've looked, that is a host setting, I'll see if there's a way around it, but I'd also ticket your host. Who's your host btw?

  2. Hey,Basically, the default "skin" that is used is the "crystal" skin in the /lib/skins folder.Make a copy this folder, and rename is to something, like "vaskin". Then goto the admin panel, then the settings, then change the skin to what you renamed it.Next, go into that folder, and mess with the CSS (styles.css), and the header/footer. Just by modifying that you'll be able to change the colors and the basic layouts.Next, if you want to change how tables, etc are organized, they are in /core/templates. They're named pretty straightforward so you can tell what it is. To change it, copy it from there, and paste it into your /lib/skins/vaskin folder, and then modify it.Hopefully that should help?Lemme know!-Nabeel icon_e_smile.gif(sorry for the late response, was not able to get to a computer for the last few days)

  3. Hey! No need to stress icon_e_smile.gifUnfortunately, you can't host it on freewebs, from their faq:

    What about MySQL, MSACCESS, and PHP? Unfortunately, Freewebs does not offer these functions.
    Out of those two, you need MySQL and PHP (version 5+). Site5 is an excellent host, pretty cheap as well.site5
  4. 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 icon_e_wink.gif

  5. 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.

  6. 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.

  7. 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.

  8. 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.

    • Like 1
  9. 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!

  10. 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 icon_e_smile.gifLook through the docs, to get familiar. They're still being written and updated, but at least the basic information is there

  11. 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!

×
×
  • Create New...