Where pilots and airlines come together

The virtual airline blog

This is our blog with lots of useful tips about PHPvms and running VA's in general. We've just started but we got a lot in the pipeline, so keep an eye on this space!
Note that not all blog posts are public, so if you're not a member, sign up now to get the best out of this site. If you have any questions, don't hesitate to contact us.

How to create a chatbox

Having a chatbox and a forum on your VA is a great way for you and your pilots to interact with eachother and build a sense of community. 

For my VA's I like to use a company called chatroll, who offer chatboxes for free. The only limit is that you can have a maximum of 10 users at the same time, but that hasn't bothered me so far. 

Getting a chatroll on your site is pretty easy:

First you go to www.chatroll.com and sign up for an account.
Once you got your account you click on "create live event"and give it a name. You can also set your own event url.

Now you go into the template where you want your chatbox to appear and paste this code:

The last step is to go to the page with the embed code and scroll down to where it says "single sign on integration" and click on "PHP application" There is a little textbox with some code. Copy only the iframe code and paste it in your template file underneath the code you pasted earlier. This will make the actual iframe with your chatroll appear on the page.

Warning: Unknown: open(/var/cpanel/php/sessions/ea-php56/sess_94vavbfre18c9u52eo92bm2gn5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea-php56) in Unknown on line 0