-
Posts
2284 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by mark1million
-
How to Let Inactive Pilots Access Site? [SOLVED]
mark1million replied to freshJet's topic in Support Forum
Just go in to the local.config.php file and change the group access to allow logging in, Example, Config::Set('PILOT_STATUS_TYPES', array( /* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */ 0 => array( 'name' => 'Active', # The title to show in the dropdown 'message' => '', # Message to show if they can't login (below is false) 'default' => true, # Should this be their default status? 'canlogin' => true, # Are they allowed to log in 'active' => true, # Are they an active pilot? 'autoretire' => true, # Use this status for the auto-retire functionality 'group_add' => array( # ID or name of the group this user is added to with this status 'Active Pilots', ), 'group_remove' => array( # ID or name of the groups this user is removed from with this status 'Inactive Pilots', ), ), /* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */ 1 => array( 'name' => 'Inactive', 'message' => 'Your account was marked inactive Please contact us to resume your career.', 'default' => false, 'canlogin' => false, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Inactive Pilots', ), 'group_remove' => array( 'Active Pilots', ), ), 2 => array( 'name' => 'Banned', 'message' => 'Your account is banned, please contact an admin!', 'default' => false, 'canlogin' => false, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Inactive Pilots', ), 'group_remove' => array( 'Active Pilots', ), ), 3 => array( 'name' => 'On Leave', 'message' => 'You have been marked as on leave', 'default' => false, 'canlogin' => true, 'active' => true, 'autoretire' => true, 'group_add' => array( 'Inactive Pilots', ), 'group_remove' => array( 'Active Pilots', ), ), 4 => array( 'name' => 'Resigned', 'message' => 'You have requested to Resign, To continue your career please contact us', 'default' => false, 'canlogin' => false, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Inactive Pilots', ), 'group_remove' => array( 'Active Pilots', ), ), )); -
The only other thing you could do is remove the hard drive and if you have the ability then format it by using another pc with a caddy devise, you could then either load a windows image or ubuntu image on to it for when its back in the laptop to build. Strange one though about that CD drive not booting.
-
Hi Ray, if you set the bios you will be able to boot from CD and format the drive, depending how old the laptop is you could boot from floppy.... yes showing my age now or usb, my recommendation would be download ubuntu on to usb and try to boot from that, you can boot on the dongle so no files are written, you also have powerful access to disk tools from there, but if he has deleted the partitions then there is nothing there anyway. Sometimes you have to press F8 to select the boot devise on some pc's maybe that's worth a try.
-
[SOLVED] - [request] flight board addon
mark1million replied to fsxsimulation's topic in Development Help
James I don't really see the point of your post. Topic closed. -
If you run the installer again and choose your existing phpVMS database to install the tables, or you can do a dump of your existing and import in to the phpVMS database which would be easier as you would have populated data. Then just change the config file with your new connection settings and database name.
-
I have IPB and yes it is good but the other free developers are fast catching up with the features, I have had another look in to mybb and its looking good so far.
-
I could set you one up on my box if your stuck.
-
Do you integrate registrations from phpVMS straight in to the forum database?
-
It means you have not set or put in your correct password so the installer can create your tables into your database. Just check your username and password for the database.
-
I use an hours one which could be tuned for airlines to add the awards. Maybe that is of use to someone.
-
I installed SMF years ago, i cant remember how to now but should just be a case of uploading the files and away you go follow the install url.
-
Sorry for hijacking this thread but when did you release the pilot manager....... Classic If your wondering what im on about http://www.simpilotgroup.com/manager/index.php
-
That's genius What a great addition for charter VA's
-
Check the file permissions, you should set them to 777 full read write access
-
Thats great but my list takes long enough to load anyway lol
-
Hmmmm didn't know that, is it a freeware or payware module?
-
I have just looked at your site, do you have simplexml enabled? Upload the install folder and check thats the easiest way
-
Are you on a free host? Looks like some of your files have been corrupted. I would check out your core/modules/Registration/Registration.php with teh stock one see if anything is different there.
-
I think there is already a public function, I will have a look.
-
Your welcome.
-
Hmmmmm, its not pulling any of the bids for some reason.
-
Ah yes of course, that's what happens when you finish a 10 hour day, cant think straight lol. Thanks again for that, much appreciated.
-
Oh, here you go, <li><a href="<?php echo url('/'); ?>">home</a></li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>">Login</a></li> <li><a href="<?php echo url('/registration'); ?>">Register</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li> <li><a href="<?php echo url('/randomflights'); ?>">Flight Booking</a></li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>">Pilots</a></li> <li><a href="<?php echo url('/acars') ?>">Live Map</a></li> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; } ?> <li><a href="<?php echo url('/logout'); ?>">Log Out</a></li> <?php } ?> That should sort you out. Will only display that link if you are logged in.
-
Wow i think that going to be complicated as the finances are built from pireps and flights, i dont think its as easy as editing a field.