Jump to content

Nabeel

Administrators
  • Posts

    8139
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Nabeel

  1. 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.
  2. I found the problem, and it's fixed. It'll be in the next build, possibly tonight
  3. Is there any error?I'm going to look at this.Should be another update in a few days!
  4. 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!
  5. 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');
  6. 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.
  7. 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...
  8. 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!
  9. Yeah, I'm working on FSACARS integration.
  10. 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.
  11. You need to 777 the core/pages directory
  12. Thanks for your quick reply! Yeah that's not right. It's IE's fault
  13. 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.
  14. Hey,Is this on the admin end or the front end?Yay for breaking stuff
  15. Nabeel

    Build 323

    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
  16. Crap, I left out the one field in the installer.sql.That's going up right now.I can't reproduce the javascript.tpl error. It's on the second page right? We've run into this before, I thought I had it fixed.Is the template for that javascript file different?
  17. Here ya go (it's in the original build thread, just updated it to reflect the latest)viewtopic.php?f=13&t=53&p=156#p156Should be fixed.Thanks
  18. Nevermind, I'm uploading the patch/latest build.
  19. Uh oh, you broke it! Is this an install from scratch I'm assuming, not over-writing a previous install?Hmm, the group ID is missing. Interesting...Thanks,I'll check it out. I probably won't have a fix tonight, it'll have to be tomorrow (sorry!)
  20. Ah thats the in the connection test file... Shouldn't affect the installer though. I'll have it fixed. If you open the file install/dbtest.php, just change the line: include 'bootloader.inc.php'; to include 'loader.inc.php'; Thanks!
  21. About time right?http://phpvms.net/docs/downloadsBuild 321 (the V1 build!)Remember to backup and then restore your core/local.config.php** The build was 320 but is now 321, fixing a few installer errors **New Stuff/Changes Updated framework. New Admin panel, sidebar with integrated help, cleaner design. Aiports can be selected as hubs. Pilot selects hub on registration (admin can change). Admin viewing PIREP can see PIREPs only on their hub. API Documentation (http://www.phpvms.net/docs/api) for plug-ins. Public Pilot profile is available. Deleting schedule now asks "Are you sure?". Admin can edit profile fields of a user. User edit tabs fixed up Added link to latest PIREP RSS feed in admin panel. RSS Feed for latest registrations RSS Feed for latest PIREPS Map size can be changed (see below "Additional Settings") Pages enable/disable, public/private options. Admin panel sidebar shows some more stats. Code streamlining (massive!). MySQLi blocker bug fixed; allowed back as an option in the installer. Google map lat/long is centered when route is shown. If a page isn't there (physically), error is properly displayed. Updated Queries ALTER TABLE `phpvms_airports` ADD `hub` SMALLINT NOT NULL ; ALTER TABLE `phpvms_pilots` ADD `hub` VARCHAR( 4 ) NOT NULL AFTER `location` ; ALTER TABLE `phpvms_customfields` CHANGE `public` `public` SMALLINT NOT NULL DEFAULT 'y', CHANGE `showonregister` `showonregister` SMALLINT NOT NULL DEFAULT 'y'; ALTER TABLE `phpvms_pilots` CHANGE `confirmed` `confirmed` SMALLINT UNSIGNED NOT NULL DEFAULT '0', CHANGE `retired` `retired` SMALLINT NOT NULL DEFAULT 'y'; ALTER TABLE `phpvms_pages` CHANGE `public` `public` SMALLINT NOT NULL DEFAULT '0';ALTER TABLE `phpvms_settings` CHANGE `core` `core` SMALLINT NOT NULL; Additional Settings: The following can be added to your core/local.config.php to over-ride the default values: Add them at the end, before the ?> tags. local.config.php is not over-written during updates. // Change the side of the Google Map which shows $Config['MAP_WIDTH'] = '600px'; $Config['MAP_HEIGHT'] = '400px';
  22. Nabeel

    Login

    Hehe... new build is going up within the next half hour or so.
  23. Nabeel

    Login

    Yeah sorry about that... if you look at this thread:viewtopic.php?f=13&t=47I'm hoping to have a new build out sometime today, just working out a couple of other bugs.
×
×
  • Create New...