Jump to content

Heritage1

Members
  • Posts

    194
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Heritage1

  1. Glad things worked out, I figured the tables were a little cluttered, Server Optimization usually works well, glad for ya buddy !

    I dread the day I have to upgrade, arrrghhh, everything will change on my NICELY running phpvms, LOL, oh well. Can't understand why, if works, then why "MESS WITH IT" lol.

    Laterzzzz.,,,,, Jimbo

  2. Database  looks like is looking for the Older version of your php.ini file, for some strange reason. Ahhhhhh.......thats why I stick with php version 5.3.xx no headaches. Works great with all of the old modules to, sadly , I know its outdated. Oh well. For giggles, try looking or switching only if your SURE !! back to an older version of php on your Server, NOTE:::: ONLY IF YOU KNOW EXACTLY WHAT YOUR DOING BUDDY, I take NO responsibility for that what so ever!! ( just trying to help ya out ). Have you Optimized on the Server side your Database Tables  also ? check that, do each table individual.

    Can't think of much more  at the moment, will keep looking around for ya for sure, keep me posted , Not knowing much about what exactly your server specs., are, for now best I can do.

    Jimbo

  3. Ouch, was just there. Doesn't look good at all, sorry to say, you more then likely are better off with a re-install. Not sure without knowing all the details tpl or php version? And what version # of phpvms are you using if I may ask? Actually I have a lot of questions if your interested.

    Jim

  4. Don't worry about that, in fact that was dated I think back in, hek, not sure.... years ago, that lives in the Admin folders if I remember correctly, been a long time since I've see that one, LOL, long story short, the phrases change everytime the page refreshes, LOL, wow, LTNS. As long as your site is running smoothly your ok, those little phrases were put there I think when someone was a little to........................, well feeling good lol.

    Gotta link, ???? I can tell you in 1 min., what your running.

    Jim L.

  5. TimeTable is an older Module, but does work great when tweaked out, if you put in a "print script" into it, it will automatically make page breaks, put all your Departure airports from A-Z, route numbers are also in order/sequence. AND, the print script makes its own page breaks into itself for obviously printing page breaks . Here's a link for mine so you can view it, don't hesitate, as I've opened this up just so you guys can see what I'm talking about. I also have it in my Menu systems. Hope this helps  you guys.

    LINK: http://seairtransport.net/crewcenter/index.php/timetable

    Jimbo "Heritage1"

     

  6. I see your using ddmenu, from dynamic drive. Please don't take this the wrong way, but there are far better menu systems out there then this one. I have replaced this menu with others directly using a 100% compatible menu system that is a far more better, easier to read, and the best part is simple. Its extremely universal to change for colors, font size, and many other features.Let me know if you need help still, Us old timers gotta stick together, lol. I am the Original owner of Heritage VA, from 2003, and yes I am a Web Master , many in here know me well for sure. I've help out many from the forums. Here is a link to a New Site I've just finished using an accordian with the style menu that I've mentioned above, it works well, and is flawless and its very very fast and modern looking. Give me a poke again, if you need help 

    the link:::::

    http://seairtransport.net/crewcenter

    My new site link which will be fully operational on Memorial Weekend has a ton of features, and believe it or not, I am using a LOT of the older versions of modules with PHPVMS 5.5.xxx, and have managed to merge the newest Bootstrap 4 and HTML5 with all of it !!! Feel free to log in as a VIP Guest, poke with your email, and I will give you the login details along with the password. 

    Jim L. Owner / CEO of Heritage VA & SeaTransPorT Virtual Airlines & Co.

     

     

    • Like 1
    • Confused 1
  7. On another note also, check your php version on your host/server, anything above 5.3 for php.ini carries issues on any older modules etc.If you also can get into your php.ini file through your Host company, look for an attribute called "Short URL", its usually towards the middle of this one file. If its engaged to"true" then this is one problem, along with many others in this file, A word of WARNING! If you are UNSURE about what exactly this file is all about, Please Don't mess with it, as it will destroy many things if set wrong.

    Let me know, I have examples buddy , maybe we can get this fixed for you somehow..............

    Jimbo

  8. I've made some minor changes, all I did was delete the "s" off of ; $lastbid-> on all of them, and worked perfectly. I actually added a page in the admin panel, but before I pasted the code to the page I did the following, after naming the page, "Upcoming Departures", ............click on the icon button that says source, then paste your code into the page, and click on public at the bottom of course also so everyone can see it, works nice, thanks gentlemen, been looking for this little code snippet ! below is the fixed code that was created into a page in the Admin Panel; It does work as an HTML file for me, I've got it pasted everywhere with it now, lol. 

    Cheers, Jim

    Duh Code;

    <?php
    $lastbid = SchedulesData::GetAllBids();
    if (count($lastbid) > 0)
    { ?>
    
    <div class="row-fluid">
    <div class="span12">
    <div class="box">
    <table width="100%" border="0" bordercolor="#FFFFFF">
    <h3><center>Upcoming Departures</h3>
    </div>
    
    <style type="text/css">
    table th { text-align: center; color:black; font-weight:bold;}
    table td { text-align: center; }
    </style>
    <thead>
    <tr>
    <style type="text/css">
    { text-align: center; }
    </style>
    <th><div align="center">Flight Number</div></th>
    <th><div align="center">Pilot</div></th>
    <th><div align="center">Departure</div></th>
    <th><div align="center">Arrival</div></th>
    <th><div align="center">Flight Duration</div></th>
    <th><div align="center">Aircraft</th>
    <th><div align="center">Registration</div></th>
    </tr>
    </thead>
    <tbody>
    <?php
    
    foreach($lastbid as $lastbid)
    {
    ?>
    
    <?php
    $flightid = $lastbid->id
    ?>
    
    <td height="25" width="10%" align="center"><span><a href="<?php echo SITE_URL?>/index.php/schedules/details/<?php echo '' . $flightid . '';?> "><?php echo $lastbid->code; ?><?php echo $lastbid->flightnum; ?></span></td>
    <?php
    $params = $lastbid->pilotid;
    
    $pilot = PilotData::GetPilotData($params);
    $pname = $pilot->firstname;
    $psurname = $pilot->lastname;
    ?>
    <td height="25" width="10%" align="center"><span><a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo '' . $params . ''; ?>"><?php echo $pname; ?> <?php echo $psurname; ?></span></td>
    <td height="25" width="10%" align="center"><span><?php echo '<a href=" '.SITE_URL.'/index.php/airports/get_airport?icao='.$lastbid->depicao.'">'.$lastbid->depicao.'</a>';?></span></td>
    <td height="25" width="10%" align="center"><span><?php echo '<a href=" '.SITE_URL.'/index.php/airports/get_airport?icao='.$lastbid->arricao.'">'.$lastbid->arricao.'</a>';?></span></td>
    <td height="25" width="10%" align="center"><span><?php echo $lastbid->flighttime; ?> hours</span></td>
    <td height="25" width="10%" align="center"><span><a href="<?php echo SITE_URL?>/index.php/vFleetTracker/view/<?php echo '' . $lastbid->registration . ''; ?>"><?php echo $lastbid->aircraft; ?></a></td>
    <td height="25" width="10%" align="center"><span><a href="<?php echo SITE_URL?>/index.php/vFleetTracker/view/<?php echo '' . $lastbid->registration . ''; ?>"><?php echo $lastbid->registration; ?></a></td>
    
    </tr>
    </div>
    </div>
    </div>
    <?php
    }
    } else { ?>
    <div class="row-fluid">
    <div class="span12">
    <div class="box">
    <table width="100%" border="0" bordercolor="#FFFFFF">
    <h3><center>There Are No Upcoming Departures!</h3>
    </div>
    <?php
    }
    ?>
    </tbody>
    </table>
    </div>

     

  9. Obviously there are new issues with the google maps and the api, I am advanced sir, and been around here and there for sometime, you ARE NOT the only one having the google map issues. For some strange reason even with the assigned keys, google map does NOT show up. I am still working on what the hek is going on all of a sudden with this, and am hard into the developers section and poking google for an explanation for this. As soon as I have an answer, I will post it here for sure. Might take me sometime, but I love the challenge, will keep ya posted, and again several peeps are having the same issue.

    Jim

  10. Hello,

    I was just in your site, checking it out of course. My Name is Jim, and if your still interested in some help let me know. I am the CEO of Heritage VA. We have recently closed all of our sites, all 6 phpvms sites, so obviously I have time now. I am well known throughout this community, and well know as a Web Master. Prices ?? Nope , refuse to take any money. I have helped many newbies here, and will continue to do so. Poke me at jimbonewhampshire@yahoo.com, or here also. Let know ASAP before I book someone else, thanks.

    Jim

  11. Suggest going to the Admin CP, and copy the text/script into a created page via "Add Page" in the admin panel, from the acars.php file. Name the page anything you'd like, (example; Myacars or SiteAcars ). this creates a formatted page in htm or html depending on how you have config files setup from the core. From there you can embed the created page you have created in the Main layout.php file or the frontpage_main.php file with the <iframe> script. As mentioned above, you Can't cross reference directly the framing from the actual script. This is the ONLY way to do so. And remember one Major important thing in messing with any Main scripts. ALWAYS make a backup COPY ! Hope this helps you.

    Jim

  12. Yes there is One easy way I've come up with, if you go to this link below, and scroll down. You will see a map towards the bottom. Accepted, Rejected, Pending, with all info inregards to Aircraft, and much more . Plus the route on the Map for said PIREP. You will have to make some changes to the code I've provided in regards to point to YOUR server ICON's. I have pasted the Code Snippet for anyone who so desires to use this. Hurry up and go to the Link provided, as I am shutting down my Server as of Jan.2nd, 2018. So don't wait to long. Remember, this pirep map is at the bottom near the footer. On one note, I have reversed the airplane icon for those who don't understand coding to the phpvms default aircraft. And, I've attached the actual file for everyone. Enjoy !

    Jim L. CEO Heritage VA

    The Link to view the PIREP Map ;

    http://heritageva.net/hva

    The Actual Code:

    <?php /* The following script below was used by the old timers from Heritage VA.
    This script of course is free to use by anyone. It is designed to work also with
    ANY Bootstrap system, and is 100% automated for ALL pireps recorded, including any
    staff members and Admins that fly. Sadly Heritage VA has closed, but we are still
    active with phpvms forums and will help in anyway possible to fellow members. We
    Hope you enjoy this little snippet, we did, and it looks awesome. Thank you all.
    And may God speed ! December 19th, 2017 */ ?>
    
    <!--SATELLITE REMARKED OUT FOR TERRAIN BELOW-->
    <div id="arrivals" style="width:94%; height: 680px"></div>
    
    
    
    <script type="text/javascript">
    
    var MY_MAPTYPE_ID_2 = 'alaskamap'; <!--DO NOT CHANGE -->
    
    <!-- Snazzy Maps, can be changed to whatever you want @ snazzymaps site.-->
    var stylez_2 = 
    [{"featureType":"all","elementType":"geometry","stylers":[{"hue":"#ff4400"},{"saturation":-68},{"lightness":-4},{"gamma":0.72}]},{"featureType":"landscape.man_made","elementType":"geometry","stylers":[{"hue":"#0077ff"},{"gamma":3.1}]},{"featureType":"landscape.natural.terrain","elementType":"geometry.fill","stylers":[{"visibility":"on"}]},{"featureType":"poi.park","elementType":"all","stylers":[{"hue":"#44ff00"},{"saturation":-23}]},{"featureType":"transit","elementType":"labels.text.stroke","stylers":[{"saturation":-64},{"hue":"#ff9100"},{"lightness":16},{"gamma":0.47},{"weight":2.7}]},{"featureType":"transit.line","elementType":"geometry","stylers":[{"lightness":-48},{"hue":"#ff5e00"},{"gamma":1.2},{"saturation":-23}]},{"featureType":"water","elementType":"all","stylers":[{"hue":"#00ccff"},{"gamma":0.44},{"saturation":-33}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"hue":"#007fff"},{"gamma":0.77},{"saturation":65},{"lightness":99}]},{"featureType":"water","elementType":"labels.text.stroke","stylers":[{"gamma":0.11},{"weight":5.6},{"saturation":99},{"hue":"#0091ff"},{"lightness":-86}]}]
    
    
    	var latlng = new google.maps.LatLng(<?php echo Config::Get('MAP_CENTER_LAT')?>,<?php echo Config::Get('MAP_CENTER_LNG')?>);
    	var bounds = new google.maps.LatLngBounds();
    	bounds.extend(latlng);
    
    	var center = bounds.getCenter();
    
    	var options = {
    		center : center,
    		backgroundColor : '#FFFFFF',
    		streetViewControl : true,
    		zoomControlOptions : {
    			style : google.maps.ZoomControlStyle.SMALL
    		},
    		minZoom : 2,
    		mapTypeControlOptions : {
    			mapTypeIds : [google.maps.MapTypeId.TERRAIN, MY_MAPTYPE_ID_2]
    		},
    		mapTypeId : MY_MAPTYPE_ID_2
    	};
    	var styledMapOptions_2 = {
    		name : "RoadMap"
    	};
    
    	var map_2 = new google.maps.Map(document.getElementById("arrivals"), options);
    	var alaskamap = new google.maps.StyledMapType(stylez_2, styledMapOptions_2);
    
    	map_2.mapTypes.set(MY_MAPTYPE_ID_2, alaskamap);
    
    	var flightMarkers_2 = [];
    	
    	var image = new google.maps.MarkerImage('<?php echo SITE_URL; ?>/lib/images/onground.png', <!--default phpvms,can be changed to what you want-->
    			new google.maps.Size(32, 32),
    			new google.maps.Point(0, 0),
    			new google.maps.Point(5, 5));
    	
    	var depmarker = [];
    	var arrmarker = [];
    <?php
    $pirep_list = PIREPData::getRecentReportsByCount(20);
    $shown = array();
    foreach($pirep_list as $pirep) {
    	// Dont show repeated routes
    	if(in_array($pirep->code.$pirep->flightnum, $shown))
    		{ continue; }
    	else
    		$shown[] = $pirep->code.$pirep->flightnum;
    
    	if(empty($pirep->arrlat) || empty($pirep->arrlng)
    		|| empty($pirep->deplat) || empty($pirep->deplng))
    	{ continue; }
    ?>
    	dep_location = new google.maps.LatLng( <?php echo $pirep->deplat ?> ,  <?php echo $pirep->deplng ?> );
    	arr_location = new google.maps.LatLng( <?php echo $pirep->arrlat ?> ,  <?php echo $pirep->arrlng ?> );
    
    	flightMarkers_2[flightMarkers_2.length] = new google.maps.Marker({
    			position : dep_location,
    			map : map_2,
    			icon : image,
    			title : "<?php echo "$pirep->depname ($pirep->depicao)";?>"
    		});
    
    	flightMarkers_2[flightMarkers_2.length] = new google.maps.Marker({
    			position : arr_location,
    			map : map_2,
    			icon : image,
    			title : "<?php echo "$pirep->arrname ($pirep->arricao)";?>"
    		});
    
    	depmarker[depmarker.length] = new google.maps.Marker({
    			position : dep_location,
    			map : map_2,
    			icon : new google.maps.MarkerImage(
    				"http://chart.googleapis.com/chart?chst=d_text_outline&chld=80FF00|14|h|000000|b|<?php echo "$pirep->depicao";?>",
    				null, null, new google.maps.Point(20, 22))
    		});
    
    	arrmarker[arrmarker.length] = new google.maps.Marker({
    			position : arr_location,
    			map : map_2,
    			icon : new google.maps.MarkerImage(
    				"http://chart.googleapis.com/chart?chst=d_text_outline&chld=BC1A15|14|h|000000|b|<?php echo "$pirep->arricao";?>",
    				null, null, new google.maps.Point(29, 19))
    		});
    
    	var flightPath_2 = new google.maps.Polyline({
    			path : [dep_location, arr_location],
    			strokeColor : "#E68A01",
    			strokeOpacity : 0.9,
    			strokeWeight : 2,
    			geodesic : true
    		}).setMap(map_2);
    <?php
    }
    ?>
    if (flightMarkers_2.length > 0) {
    	var bounds = new google.maps.LatLngBounds();
    	for (var i = 0; i < flightMarkers_2.length; i++) {
    		bounds.extend(flightMarkers_2[i].position);
    	}
    }
    
    map_2.fitBounds(bounds);
    </script>
    <?php
    $count = 20;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
    <table class="sky_table" width="94%" cellspacing="0" border="1">
        <tr>
            <th>Flight</th>
            <th>Pilot</th>
            <th>Departure</th>
            <th>Arrival</th>
            <th>Aircraft</th>
            <th>Duration</th>
            <th>V/S</th>
            <th>Status</th>
    	</tr>
    <?php
    if(count($pireps) > 0)
    {
      foreach ($pireps as $pirep)
      {
        $pilotinfo = PilotData::getPilotData($pirep->pilotid);
        $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
        $acrid = OperationsData::getAircraftByReg($pirep->registration);
    
        echo '<tr>';
        echo '<td><button type="button" class="btn btn-default"><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td></button>';
        echo '<td><button type="button" class="btn btn-default"><a href="'.SITE_URL.'/index.php/profile/view/'.$pilotinfo->pilotid.'">'.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</a></button></td>';
        echo '<td>'.$pirep->depicao.'</td>';
        echo '<td>'.$pirep->arricao.'</td>';
        echo '<td><button type="button" class="btn btn-primary btn-sm"><span class="badge">'.$pirep->aircraft.'</td></span></button>';
        echo '<td>'.$pirep->flighttime.'</td>';
        echo '<td><button type="button" class="btn btn-danger btn-sm"><span class="badge">'.$pirep->landingrate.' ft/m</td></span></button>';
    if($pirep->accepted == PIREP_ACCEPTED)
    
    
    echo '<td><button type="button" class="btn btn-success">Accepted</button></td>';
    
                                    elseif($pirep->accepted == PIREP_REJECTED)
    
    echo '<td><button type="button" class="btn btn-danger"><span class="label label-important"><font color="black">Rejected</font></span></button></td>';
    
                                    elseif($pirep->accepted == PIREP_PENDING)
    
    echo '<td><button type="button" class="btn btn-warning"><span class="label label-warning"><font color="black">Pending</font></span></button></td>';
    
                                    elseif($pirep->accepted == PIREP_INPROGRESS)
    
    echo '<td>On Progress</td>';
        echo '</tr>';
      }
    }
    else
    {
        echo '<tr><td>There are no recent flights!</td></tr>';
    }
    ?>
    </tbody>
    </table>
    <div class="clear"></div>
    <div class="clear"></div>

     

    frontpage_map.zip

  13. Well, I agree, with above, unless your Host company is UNLIMITED in Sql, bandwidth, etc......don't attempt multiple phpvms sites. I on the other hand am running 5 PHPVMS active sites, which you all know is shutting down very soon. It is most definately possible depending on your hosting company to run an unlimited amount of sites for phpvms. I have been doing it for a very very long time.

    Poke me buddy if you still need a hand, I have time if you want.

    Jim

  14. Below is a script until you figure out whats going on with the Registration process, I HIGHLY recommend you rename your original Registration.php file to Registration.php.default first. Always back it up ! You can make duplicates of course while messing around with it. This Code bypasses the call for the Captcha script completely , I don't recommend it, but at least pilots will be able to register until your problem is solved, hope this helps. 

    Jim

    class Registration extends CodonModule
    {
    	public function HTMLHead() {
    		/*Show our password strength checker
    			*/
    		if($this->get->page == 'register') {
    			$this->renderTemplate('registration_javascript.tpl');
    		}
    	}
    
    
    	public function index()
    	{
                    //updated to Google noCaptcha 1/15
    
    
    		if(Auth::LoggedIn()) { // Make sure they don't over-ride it
    			$this->render('login_already.tpl');
    			return;
    		}
    
    
    		if(isset($_POST['submit'])) {
    			$this->ProcessRegistration();
    		} else {
    			$this->ShowForm();
    		}
    	}
    
    	protected function ShowForm()
    	{
                    
    
    		$field_list = RegistrationData::GetCustomFields();
    		$this->set('extrafields', $field_list);
                    $this->set('field_list', $field_list);
    
                    $airline_list = OperationsData::getAllAirlines(true);
    		$this->set('allairlines', $airline_list);
                    $this->set('airline_list', $airline_list);
    
                    $hub_list = OperationsData::getAllHubs();
                    $this->set('allhubs', $hub_list);
                    $this->set('hub_list', $hub_list);
    
                    $country_list = Countries::getAllCountries();
    		$this->set('countries', $country_list);
    		$this->set('country_list', $country_list);
    
    		$this->render('registration_mainform.tpl');
    	}
    
    	/**
    	 * Registration::ProcessRegistration()
    	 *
    	 * @return
    	 */
    	protected function ProcessRegistration()
    	{
    
    		// Yes, there was an error
    		if(!$this->VerifyData()) {
    			$this->ShowForm();
                return;
            }
    
    		$data = array(
    			'firstname' => $this->post->firstname,
    			'lastname' => $this->post->lastname,
    			'email' => $this->post->email,
    			'password' => $this->post->password1,
    			'code' => $this->post->code,
    			'location' => $this->post->location,
    			'hub' => $this->post->hub,
    			'confirm' => false
    		);
    
    		if(CodonEvent::Dispatch('registration_precomplete', 'Registration', $_POST) == false) {
    			return false;
    		}
    
    		$ret = RegistrationData::CheckUserEmail($data['email']);
    
    		if($ret) {
    			$this->set('error', Lang::gs('email.inuse'));
    			$this->render('registration_error.tpl');
    			return false;
    		}
    
    		$val = RegistrationData::AddUser($data);
    		if($val == false) {
    			$this->set('error', RegistrationData::$error);
    			$this->render('registration_error.tpl');
    			return;
    		} else {
    
    			$pilotid = RegistrationData::$pilotid;
    
    			/* Automatically confirm them if that option is set */
    			if(Config::Get('PILOT_AUTO_CONFIRM') == true) {
    				PilotData::AcceptPilot($pilotid);
    				RanksData::CalculatePilotRanks();
    
    				$pilot = PilotData::getPilotData($pilotid);
    				$this->set('pilot', $pilot);
    				$this->render('registration_autoconfirm.tpl');
    			} else { /* Otherwise, wait until an admin confirms the registration */
    				RegistrationData::SendEmailConfirm($email, $firstname, $lastname);
    				$this->render('registration_sentconfirmation.tpl');
    			}
    		}
    
    		CodonEvent::Dispatch('registration_complete', 'Registration', $_POST);
    
    		// Registration email/show user is waiting for confirmation
    		$sub = 'A user has registered';
    		$message = "The user {$data['firstname']} {$data['lastname']} ({$data['email']}) has registered, and is awaiting confirmation.";
    
    		$email = Config::Get('EMAIL_NEW_REGISTRATION');
    		if(empty($email)) {
    			$email = ADMIN_EMAIL;
    		}
    
    		Util::SendEmail($email, $sub, $message);
    
    		// Send email to user
    		$this->set('firstname', $data['firstname']);
    		$this->set('lastname', $data['lastname']);
    		$this->set('userinfo', $data);
    
    		$message = Template::Get('email_registered.tpl', true);
    		Util::SendEmail($data['email'], 'Registration at '.SITE_NAME, $message);
    
    		$rss = new RSSFeed('Latest Pilot Registrations', SITE_URL, 'The latest pilot registrations');
    
            $pilot_list = PilotData::GetLatestPilots();
    		foreach($pilot_list as $pilot) {
    			$rss->AddItem('Pilot '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid)
    							. ' ('.$pilot->firstname .' ' . $pilot->lastname.')',
    							SITE_URL.'/admin/index.php?admin=pendingpilots','','');
    		}
    
    		$rss->BuildFeed(LIB_PATH.'/rss/latestpilots.rss');
    
    	}
    
    	/*
    	 * Process all the registration data
    	 */
    	protected function VerifyData()
    	{
    		$error = false;
    
    
    
    		/* Check the firstname and last name
    		 */
    		if($this->post->firstname == '') {
    			$error = true;
    			$this->set('firstname_error', true);
    		} else {
    		  $this->set('firstname_error', '');
    
    		}
    
    		/* Check the last name
    		 */
    		if($this->post->lastname == '') {
    			$error = true;
    			$this->set('lastname_error', true);
    		}
    		else {
    		      $this->set('lastname_error', '');
    		}
    
    		/* Check the email address
    		 */
    		if(filter_var($this->post->email, FILTER_VALIDATE_EMAIL) == false) {
    			$error = true;
    			$this->set('email_error', true);
    		} else {
                $this->set('email_error', '');
    		}
    
    
    		/* Check the location
    		 */
    		if($this->post->location == '') {
    			$error = true;
    			$this->set('location_error', true);
    		} else {
                $this->set('location_error', '');
    		}
    
    		// Check password length
    		if(strlen($this->post->password1) <= 5) {
    			$error = true;
    			$this->set('password_error', 'The password is too short!');
    		} else {
                $this->set('password_error', '');
    		}
    
    		// Check is passwords are the same
    		if($this->post->password1 != $this->post->password2) {
    			$error = true;
    			$this->set('password_error', 'The passwords do not match!');
    		} else {
                $this->set('password_error', '');
    		}
    
    		if($error == true) {
    			return false;
    		}
    
    		return true;
    	}
    }

     

  15. Sorry mischka , took so long to answer..... Expense is a Major one, and of course the lack of pilots recently. However, I will remain of course very active here on the Forums for sure. There is always someone new that needs a little help, we all know how that one goes....lol. Heritage has been around since the age of the Doe Doe Bird, hehehe, long time for sure. I think over 11 years now. We started off with just Forum Boards in FS98, and as time went on merged into all of the upgrades. We actually started with the flight sim called A.T.P. by Sublogic,  ( lets see how good someones memory is ). 

    As a Web Master on any Web Site, you can well understand the Time involved and the countless money it takes sometimes also. Well, I've decided to retire just a little bit from designing sites, and "ACTUALLY" start flying, (go figure lol ), As a retired Marine Real World Pilot, who can't fly anymore, Flight Sim is the next best thing for sure. And I've got some serious Bucks invested into Flight Control Systems for sure. Its time I started using them ! 

    I would like to Thank Everyone here for all of your support throughout the years, I have a lot of friends here and enjoy everyone here. I as mentioned will remain very active here. I also would like to wish everyone a very Merry Christmas this year, and hope all of your Holidays are GREAT !!!! And again, thank you all for your support, and may God Speed !!

    On one quick note, I will be re-configuring universal Skins and will be posting a lot of my work here, when all is complete, and set for anyone's domain to use. Will take just a little time, but maybe some of you can use a new look etc.......All details will be posted with help files enclosed, and of course the requirements. Thanks All, and Peace to all !

    some links of upcoming skins...............

    http://heritageva.net/hva

    http://heritageva.net/bbb

    http://heritageva.net/mpd

    All use PHPVMS ver.5.xx    and php.ini version 5.3 (for the older modules, must have access to your cpanel / server)

     

    Jim Lyman CEO Heritage VA & Company.

     

  16. Heritage VA & Company is for Sale.

    I am NOT looking for a profit, just cover the costs, My Server is Unlimited all the way around. There are until Jan. 2nd, 2018, 3 Active PHPVMS sites running at the moment, below are the links for you to view them, register, and I will approve rights for you for you to view all of the work I've done. Each Skin is different and runs their own set of menu's, along with other features. 

    Bandwidth= "Unlimited" /  Databases=MySqL or MySqLlite "Unlimited"  / Drive space="unlimited"    Many other features also in the control panel of the Host/Server. I use iPage for a hosting company.

    Here are the Links;

    http://heritageva.net/hva

    http://heritageva.net/mpd

    http://heritageva.net/bbb

    There are more sites installed of course in the Server, such as a dedicated Forum Board, MyFAQ Center, and more. 

    Let me know, and here is my email ; jimbonewhampshire@yahoo.com

    Jim Lyman CEO Heritage VA & Company

    • Like 1
  17. Long time is right, curious if you have it fixed yet, if not, one major problem is the script line, you can't have <html> and <body> first of all on the same call line. 2 different animals. 2nd, the type=/text is totally wrong, and it also needs its own call such as this for example;

    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> ( see how the type="text/css"> is called?? this applies to most everything in the <head> example </head> ONLY area, before the closing of the head of course. Much more on this, but let me know if you need help

    Jim

  18. Looks very good to me, What exactly are you trying to change?? Also it looks like your using an HTML5 Carousel Slider which obviously has been incorporated into PHP. You need to find the the carousel script usually in the layout.php, hopefully its NOT in the frontpage_main.php file. All images through have got to point to wherever you photos live, being a simple carousel all you need to do is to change the image sizes, however, they all need to be EXACTLY the same size ! hope this helps, and let me know exactly what your trying to do.

    Jimbo

×
×
  • Create New...