-
Posts
8148 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Nabeel
-
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 (sorry for the late response, was not able to get to a computer for the last few days)
-
Yup, it's basically a header and footer, copying those in. And then just tweaking the CSS. No different from modifying wordpress or phpbb or something .
-
I can't see the problem. Can you post it?Sorry for the long response time! A few things came up and I wasn't able to be at a computer.
-
Hey,The directories/files that are not writeable, you must make them 0777 using CHMOD. Usually in your FTP client, you can right click and goto permissions, and be able to change 'em there.
-
Hey,http://www.phpvms.net/docs/Hopefuly that'll help::http://www.phpvms.net/docs/installation#installationAnything specific?
-
Hey,Glad it's fixed. You can get the key :http://code.google.com/apis/maps/signup.html
-
Hey! No need to stress Unfortunately, you can't host it on freewebs, from their faq: Out of those two, you need MySQL and PHP (version 5+). Site5 is an excellent host, pretty cheap as well.site5
-
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.
-
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?
-
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
-
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.
-
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.
-
Hey,You can create a profile field and make it private, then only it can be seen from the admin panel.
-
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.
-
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.
-
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
-
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.
-
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!
-
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
-
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!
-
Excellent! Thanks.New build going up
-
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)
-
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
-
You need to create it. I thought I added it into the build. Sorry!
-
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 ;