Jump to content

alblua

Members
  • Posts

    84
  • Joined

  • Last visited

Posts posted by alblua

  1. AirTran Virtual Airways has recently received a major makeover. We've (more of I) have decided to go for something... a little more resembling of a professional career.

    Let me kick off with the website (main focus of each and every virtual airline)

    First off was a complete separation of just a website for the airline from the crew center (phpVMS). That is located at http://airtranvirtual.net/, the main URL. Just something nice and simple...

    Next off is the specialty. I have taken phpVMS and "twisted" it in a way that is wasn't quite designed for (which was website/crew center all in one bundle). It isn't hard, but then it was, since I had to do some major customization and some changes in the code to make it act what I want it to. This "thing" is kind of like my baby of web projects and I hold it dearly: http://crew.airtranvirtual.net/.

    You can explore the main website all you want, but since you can't see the crew center, here are some screenshots.

    The Dashboard:

    4188a32912aee5937fa376383ed4a68f.png

    The Better Profile Page:

    593b65bf8c7a6a1cfebe3a6cbab646fd.png

    (I can't capture the whole page because there was some crew perks that I can't give away)

    I wish I could also show you the navbar and the side dropdown, but Gyazo can't capture that and there's some more.

    So... that's that.

    We're also looking for administration members willing to join the team. We request those with former experience in any role and email your resume to contact@airtranvirtual.net. We'll take a look and see if you want you.

    See you in the blue skies, safe flying...

    Oh, by the way, try not to register for AirTran Virtual Airways yet... it's almost, but not quite done. Stay tuned on our Facebook and Twitter.

  2. Have you tried trouble shooting it by disabling SMTP and see if it will send just using php mail?

    Well, I'll be darned, I didn't even have to go through the trouble of figuring it out; I was so used to php mail not working at all I just automatically went to SMTP! Thanks for this ridiculously simple tip!

  3. Hello all,

    I've been consistently having problems sending emails with phpVMS, whether the old v4 release or the one by simPilot v5 release.

    When testing registration, the confirmation email just won't send, and I'm 100% sure any other emails won't send either.

    I remember when our email was based on the local mail server of our then free (we upgrade on x10hosting) hosting service, emails would send fine, all the time, guaranteed. I believe it was also routed through GMail's or Outlook's servers for some time too. Everything worked back then.

    We've moved to Zoho, and ever since then, each new phpVMS "project of sorts" we had, emails will just not budge.

    In local.config.php, this is the quick email excerpt I have.

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'AirTran Virtual');
    Config::Set('EMAIL_FROM_ADDRESS', 'trs@airtranvirtual.net');
    
    Config::Set('EMAIL_USE_SMTP', true);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.zoho.com');
    Config::Set('EMAIL_SMTP_PORT', '465');
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
    Config::Set('EMAIL_SMTP_USER', 'trs@airtranvirtual.net');
    Config::Set('EMAIL_SMTP_PASS', 'password'); # Password is indeed correct

    Just something else, the page takes forever to load before going to the confirmation page. Same with the "resend activation function" in the new phpVMS build by simPilot (he's worked gold into this thing). Could that be a problem?

    I'll be keeping an eye on my inbox and spam; nothing's been received yet. I'll keep trying as well.

    The website URL is http://crew.airtranvirtual.net/, if needed.

    Thank you!

  4. A virtual airline would like me to help them create a function in phpVMS in which the pilot can only bid from a flight that they had previously arrived from.

    I'm wondering if such function is possible, or should I suggest just reject flights that don't follow the criteria (that would seem mean, :P)?

    Haven't touched phpVMS for a whole summer, so I'm extremely rusty on the matter.

    Any input would be great, thanks!

  5. Our SMTP isn't managed by Google, and I'm not about to go messing around by screwing up my script in the website for validation (which works perfectly find) and the Zoho SMTP before it starts blurting at me with errors.

    Do you think I can take a second try at pulling it all out and inserting my own? What powers the emails anyway in phpVMS?

  6. Use jQuery's noConflict() function. That way, you can use multiple versions of jQuery, one for the more modern code you use and one for the older version that is implemented by phpVMS.

    Or, if you don't have much fancy stuff, delete your entry of jQuery; it is included by default.

  7. Hello all once again,

    I'm quite stumped on this issue, so, I go for everyone's help.

    Emails, once again, will not send.

    I am 100% sure this is a coding issue. I have a different script on the website that sends an email for validating the account running off phpMailer, sends instantly.

    Hosting

    Email Server

    Presumably, that leaves coding left.

    Since I would rather not mess around with the code anymore, is there anyway possible to remove the function and write this one in:

    // $email will represent the receiver's email address
    // Password is hidden
    // $title (if possible) should be the title of the email
    // $message (if possible) should be the template set
    
    // Use SMTP
    $mail->IsSMTP();
    $mail->Host = 'smtp.zoho.com';
    $mail->SMTPAuth = true;
    $mail->Username = 'contact@airtranvirtual.net';
    $mail->Password = '----';
    $mail->SMTPSecure = 'ssl';
    $mail->Port = 465;
    
    $mail->From = 'contact@airtranvirtual.net';
    $mail->FromName = 'AirTran Virtual';
    $mail->AddAddress($email);
    
    $mail->IsHTML(true);
    $mail->Subject = $title;
    $mail->Body = $message;
    $mail->WordWrap = 50;
    
    if(!$mail->Send()) {
     // Whatever works best
    }
    

  8. Hi,

    your posts were essential to me getting set up but I have one problem that wasn't in the thread. In my phpVMS Admin Panel I get the following;

    "Open Flash Chart

    JSON Parse Error [syntax Error]

    Error at character 0, line 1:

    0: <font color=ff0000>"

    I simply just block it wherever I can to hide it; it's all off due to a leak that will allow hackers to access your website.

  9. Hi again, sorry for all my questions but you have been a big help :) :) :) . I recently used Wix and I have made a great HTML5 template. Is there any way to transfer that over to the new phpvms based site? Thank you.

    No problem! I'm willing to help you.

    Unfortunately, I'm going to have to leave you hanging a bit to learn some things. The way to customize how your phpVMs looks is with skins. Skins are located in the \lib\skins\ folder. To explain it to you will take me ages, as there are unlimited possibilities on how you can make one.

    Using a template that is not human generated will make the implementation process significantly difficult. I highly recommend you go read the skins forum as well as read the skinning documentation.

    Yes, I would say I am decently experienced in the skinning process, however, I have only successfully made three successful ones (to show how hard it is at times), but you can make them as simple as you want. Best option is to contact a developer on here somewhere (I'm busy with someone else at the moment, so I'm quite occupied for skinning :) ).

    Good luck!

  10. No problem!

    To change the frontpage, you can create a skin, go to \core\templates, copy over the frontpage_main.tpl to your skin (skins folder in \lib\skins\whatever it is) and edit it.

    Go to admin panel, settings, and change the skin to the name of the folder.

    You can read more at the skins documentation.

  11. Just a small issue, this part:

    <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
    

    Removing allows me to see the registration page, but adding it back makes it dead (PHP kills the process), so I end up with a blank page.

    Is it okay to take out, or should I got to 5.5? I tried going up, but looks like everything is changed so much that I can't quite do it without screwing up my current skin in progress.

×
×
  • Create New...