# Chat System

**URL:** <https://forum.phpvms.net/t/chat-system/4867>\
**Category:** Development Help\
**Created:** [June 13, 2011, 1:05pm UTC](https://forum.phpvms.net/t/chat-system/4867 "2011-06-13T13:05:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![NSX665](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nsx665/32/98_2.png) [@NSX665](https://forum.phpvms.net/u/NSX665)\
**Post date:** [June 13, 2011, 1:05pm UTC](https://forum.phpvms.net/t/chat-system/4867/1 "2011-06-13T13:05:46Z")

</div>

Has anyone ever built into the VMS system a chat system. Like other web sights out there. For either Registered users or unregistered users. If anyone has any Idea how to do this I think it would be a pretty neat feature to add in.

Destrey Trainham

[http://www.northstarexecutive.com](http://www.northstarexecutive.com)

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [June 14, 2011, 11:32pm UTC](https://forum.phpvms.net/t/chat-system/4867/2 "2011-06-14T23:32:46Z")

</div>

Is that site powered by phpVMS? Just curious.

---

<div class="post-metadata">

**Author:** ![NSX665](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nsx665/32/98_2.png) [@NSX665](https://forum.phpvms.net/u/NSX665)\
**Post date:** [June 24, 2011, 2:22pm UTC](https://forum.phpvms.net/t/chat-system/4867/3 "2011-06-24T14:22:03Z")

</div>

Yes it is. I have two seperate sections for the VA. A information section, just like a regular web sight. And I have the phpvms under the AMS (Airline Management System) what I call it. I would like to add a chat log into the phpvms section for guys to get on and talk to each other. I perfer. it to log you into the chat via the log in into phpvms but if someone has to log into it then so be it.

---

<div class="post-metadata">

**Author:** ![fsx](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/ba9def/32.png) [@fsx](https://forum.phpvms.net/u/fsx)\
**Post date:** [June 24, 2011, 10:35pm UTC](https://forum.phpvms.net/t/chat-system/4867/4 "2011-06-24T22:35:30Z")

</div>

see if this can serve

---

<div class="post-metadata">

**Author:** ![flyalaska](https://forum.phpvms.net/user_avatar/forum.phpvms.net/flyalaska/32/14_2.png) [@flyalaska](https://forum.phpvms.net/u/flyalaska)\
**Post date:** [June 25, 2011, 12:12am UTC](https://forum.phpvms.net/t/chat-system/4867/5 "2011-06-25T00:12:10Z")

</div>

I am working on getting this implemented with phpvms, [http://ajaxim.com/](http://ajaxim.com/)

---

<div class="post-metadata">

**Author:** ![Paul\_Defaire](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/9fc348/32.png) [@Paul\_Defaire](https://forum.phpvms.net/u/Paul_Defaire)\
**Post date:** [July 23, 2011, 12:42pm UTC](https://forum.phpvms.net/t/chat-system/4867/6 "2011-07-23T12:42:49Z")

</div>

Hey, any luck integrating that AjaxIM thing? Looks like the perfect solution I’ve been looking for, but my php skills are quite lacking \>\_\<

---

<div class="post-metadata">

**Author:** ![flyalaska](https://forum.phpvms.net/user_avatar/forum.phpvms.net/flyalaska/32/14_2.png) [@flyalaska](https://forum.phpvms.net/u/flyalaska)\
**Post date:** [July 25, 2011, 5:10am UTC](https://forum.phpvms.net/t/chat-system/4867/7 "2011-07-25T05:10:20Z")

</div>

> Hey, any luck integrating that AjaxIM thing? Looks like the perfect solution I’ve been looking for, but my php skills are quite lacking \>\_\<

That systems requires a VPS server.

---

<div class="post-metadata">

**Author:** ![Paul\_Defaire](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/9fc348/32.png) [@Paul\_Defaire](https://forum.phpvms.net/u/Paul_Defaire)\
**Post date:** [July 26, 2011, 11:47am UTC](https://forum.phpvms.net/t/chat-system/4867/8 "2011-07-26T11:47:46Z")

</div>

A virtual private server? I hardly thing so. It requires a webserver with the correct libraries. I’m on a selfhosted linuxbox, it should have no problem with running AjaxIM, as far as I can see. I just don’t know how to write the implementation code.

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [July 26, 2011, 1:15pm UTC](https://forum.phpvms.net/t/chat-system/4867/9 "2011-07-26T13:15:07Z")

</div>

It looks pretty easy to setup just had a look myself.

Looks like you upload the files to your webserver configure a database and run the install, then check out the getting started guide

---

<div class="post-metadata">

**Author:** ![Paul\_Defaire](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/9fc348/32.png) [@Paul\_Defaire](https://forum.phpvms.net/u/Paul_Defaire)\
**Post date:** [July 26, 2011, 1:16pm UTC](https://forum.phpvms.net/t/chat-system/4867/10 "2011-07-26T13:16:21Z")

</div>

Well.. Yeah. But I want it integrated with the phpVMS users, ie, pilots.. Thats the part I havent figured out.

---

<div class="post-metadata">

**Author:** ![stuartpb](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/ecae2f/32.png) [@stuartpb](https://forum.phpvms.net/u/stuartpb)\
**Post date:** [July 26, 2011, 3:08pm UTC](https://forum.phpvms.net/t/chat-system/4867/11 "2011-07-26T15:08:10Z")

</div>

> Well.. Yeah. But I want it integrated with the phpVMS users, ie, pilots.. Thats the part I havent figured out.

An easy way to ensure that only registered pilots can use the chat system would be to wrap it in an auth::loggedin thingiemajig.

Example:

```
<?php if(Auth::LoggedIn()) {?>

<div>

code for the chatbox

</div>

<?php };?>

```

That way, only regged and logged in pilots could see the chat box.

---

<div class="post-metadata">

**Author:** ![smokey68](https://forum.phpvms.net/user_avatar/forum.phpvms.net/smokey68/32/799_2.png) [@smokey68](https://forum.phpvms.net/u/smokey68)\
**Post date:** [June 29, 2018, 7:23am UTC](https://forum.phpvms.net/t/chat-system/4867/12 "2018-06-29T07:23:58Z")

</div>

I went with a simple chat system simpilot gave links to and installed it on the server setup MySQL database with it and styled it in about 20 mins looks great and is now responsive to wok on any device thanks David !

---

<div class="post-metadata">

**Author:** ![Michael2015](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@Michael2015](https://forum.phpvms.net/u/Michael2015)\
**Post date:** [January 10, 2020, 7:24pm UTC](https://forum.phpvms.net/t/chat-system/4867/13 "2020-01-10T19:24:10Z")

</div>

We have a live chat feature at Virtual Air and we have a full customised Admin and CMS as well we always update and add unqiue features
