# vStaff - v1.0

**URL:** <https://forum.phpvms.net/t/vstaff-v1-0/8020>\
**Category:** KJRDev Addons\
**Created:** [April 20, 2013, 2:17pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020 "2013-04-20T14:17:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 20, 2013, 2:17pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/1 "2013-04-20T14:17:27Z")

</div>

**vStaff - v1.0**

This module will allow you to manage your staff list fully such as categories of your staff levels, manage your staff photo, bio, job title, and their current staff level. I think the picture will speak for it’s self!

**Created Under:** [http://creativecommo…s/by-nc-sa/3.0/](http://creativecommons.org/licenses/by-nc-sa/3.0/)

**Completed By:**

**Screenshot of Module:**

![post-402-0-22783100-1366467412.jpg](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/f/fbf8a22e1a4e3282ca2e6395020faf2dea5d17e2.jpeg)

![post-402-0-43518800-1366467417.jpg](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/6/62af519a32e1cc3d2f44c62d6a276a037a0e929c.jpeg)

![post-402-0-16964600-1366467422.jpg](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/f/fe099a78a562ed3d10e975f33e9450484b8f746b.jpeg)

![post-402-0-62605500-1366467427.jpg](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/c/cbac13a051ab93728c4684b2630b119e320b796d.jpeg)

**TO INSTALL MODULE:**

1. Place the files as structured in the folder into your phpVMS Install location

**2) Please run the sql\_install.sql in your phpVMS as this will insert two tables for functionally of the module.**

1. Enjoy!

**4) BE SURE to set your staff\_photos folder permissions to 777 as it will need access to it.**

MODULE LINKS TO ADD TO YOUR WEBSITE. THE ADMIN LINK IS ALREADY ADDED.

\<?php echo url(‘/vStaff’); ?\>

**Version 1.0 - April 20, 2013**

- First Release

Download From GitHub - [Download](https://github.com/Vansers/phpVMS_vStaff/archive/master.zip)

ENJOY!

---

<div class="post-metadata">

**Author:** ![Fernando](https://forum.phpvms.net/user_avatar/forum.phpvms.net/fernando/32/169_2.png) [@Fernando](https://forum.phpvms.net/u/Fernando)\
**Post date:** [April 20, 2013, 2:54pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/2 "2013-04-20T14:54:48Z")

</div>

Very good!!

My language is Portuguese. most of our texts have accents, carrying upon entering the biographical page of the staff is well written.

**Original text:**

Luiz Fernando Ã© um piloto que tem grandes habilidades dentro da aviaÃ§Ã£o.

**Within the system is.**

Luiz Fernando ? um piloto que tem grandes habilidades dentro da avia??o

Have any way to change it without messing sql tables?

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 20, 2013, 3:00pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/3 "2013-04-20T15:00:12Z")

</div>

Do me a quick favor, run this query in your phpVMS Database.

```
ALTER TABLE staff_members CONVERT TO CHARACTER SET utf8

```

And then clear your bio, save it, then try again and see.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [April 20, 2013, 4:54pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/4 "2013-04-20T16:54:38Z")

</div>

what do you mean with order? and the numbers at this

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [April 20, 2013, 5:32pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/5 "2013-04-20T17:32:38Z")

</div>

I think that is how it ordered on site priority

like it is done when you set manual ranking?

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 20, 2013, 10:51pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/6 "2013-04-20T22:51:32Z")

</div>

> what do you mean with order? and the numbers at this

> I think that is how it ordered on site priority
> 
> like it is done when you set manual ranking?

It’s ordered like the manual ranking.

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [April 21, 2013, 2:36am UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/7 "2013-04-21T02:36:10Z")

</div>

I was going to fork this on github and add it into my extended version of phpvms but am a little confused with the license. In this post you state that it is licensed under the “Attribution-NonCommercial-ShareAlike 3.0 Unported” but in the readme on GitHub and the files posted there there is no mention of this license, and the license is not included with the package. The only mention is that the script is copyrighted by yourself at the top of each file. What are your intentions as far as future use of the module and license requirements?

> Module Created By Vansers-Add-Ons (Vansers)
> 
> This module is only use for phpVMS ([www.phpvms.net](http://www.phpvms.net/)) - (A Virtual Airline Admin Software)
> 
> @Created By Vansers
> 
> @Copyrighted @ 2013
> 
> Version 1.0 (April.20.13) - Module Created
> 
> TO INSTALL MODULE:
> 
> 1. Place the files as structured in the folder into your phpVMS Install location
> 
> 2. Please run the sql\_install.sql in your phpVMS as this will insert two tables for functionally of the module.
> 
> 3. Enjoy!
> 
> 4. BE SURE to set your staff\_photos folder permissions to 777 as it will need access to it.
> 
> MODULE LINKS TO ADD TO YOUR WEBSITE. THE ADMIN LINK IS ALREADY ADDED.
> 
> \<?php echo url(‘/vStaff’); ?\>

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 21, 2013, 2:45am UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/8 "2013-04-21T02:45:51Z")

</div>

> I was going to fork this on github and add it into my extended version of phpvms but am a little confused with the license. In this post you state that it is licensed under the “Attribution-NonCommercial-ShareAlike 3.0 Unported” but in the readme on GitHub and the files posted there there is no mention of this license, and the license is not included with the package. The only mention is that the script is copyrighted by yourself at the top of each file. What are your intentions as far as future use of the module and license requirements?

@simpilot, I have forget to add the license in the ReadMe File and it has been added.

This module licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported. You may feel free to fork it and integrate in your phpVMS Extended as you wish.

---

<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:** [April 23, 2013, 7:15pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/9 "2013-04-23T19:15:38Z")

</div>

Nice!

I think it would be sweet if an admin can create a job and pilots could apply for the job like in a employment center or something of that nature. In the admin center an admin could approve or reject the application for the job.

---

<div class="post-metadata">

**Author:** ![Tato123](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@Tato123](https://forum.phpvms.net/u/Tato123)\
**Post date:** [April 29, 2013, 12:08pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/10 "2013-04-29T12:08:29Z")

</div>

Hi, i need your help for a question.

I need report in my website only one category of staff.

For example, i need to sort my category instructor in a page.

How i do to crate this query?

---

<div class="post-metadata">

**Author:** ![Tato123](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@Tato123](https://forum.phpvms.net/u/Tato123)\
**Post date:** [June 13, 2013, 4:49pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/11 "2013-06-13T16:49:57Z")

</div>

any suggestion?

---

<div class="post-metadata">

**Author:** ![g3r84](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/g/df788c/32.png) [@g3r84](https://forum.phpvms.net/u/g3r84)\
**Post date:** [June 29, 2013, 11:29pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/12 "2013-06-29T23:29:51Z")

</div>

i’m trying to put this vStaff module to show on the same page as pilots\_list but so far i hasn’t been able to do so

i have tried copying the index.tpl content on pilot\_list.tpl but no luck tried

```
<?php Template::Show('vstaff/index.tpl')?>

```

but same result as copying the hole index.tpl of vStaff

```
Venezolana Staff Team
There is no staff!

```

Ps.: i have 1 person added on the Staff on admin panel and when i run the vStaff page alone (not in the pilot\_list) it works with out problems

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [July 14, 2013, 4:45pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/13 "2013-07-14T16:45:06Z")

</div>

> i’m trying to put this vStaff module to show on the same page as pilots\_list but so far i hasn’t been able to do so
> 
> i have tried copying the index.tpl content on pilot\_list.tpl but no luck tried
> 
> \<?php Template::Show('vstaff/index.tpl')?\>
> 
> but same result as copying the hole index.tpl of vStaff
> 
> Venezolana Staff Team  
> There is no staff!
> 
> Ps.: i have 1 person added on the Staff on admin panel and when i run the vStaff page alone (not in the pilot\_list) it works with out problems

Sorry for the late delay. Here’s an way you can do this…

You can add this into vstaff/index.tpl

```
$stafflevels = vStaffListData::GetAllStaffLevels();

```

And you’ll be able to produce a list of your staff members.

---

<div class="post-metadata">

**Author:** ![Toyuko](https://forum.phpvms.net/user_avatar/forum.phpvms.net/toyuko/32/12_2.png) [@Toyuko](https://forum.phpvms.net/u/Toyuko)\
**Post date:** [July 14, 2013, 8:13pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/14 "2013-07-14T20:13:32Z")

</div>

Very good! Thanks

---

<div class="post-metadata">

**Author:** ![simonecatalano](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@simonecatalano](https://forum.phpvms.net/u/simonecatalano)\
**Post date:** [August 22, 2013, 5:11pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/15 "2013-08-22T17:11:00Z")

</div>

It’s possible view the position staff on profile\_main ???

```
www.mysite.com/index.php/profile

```

Thanks

---

<div class="post-metadata">

**Author:** ![simonecatalano](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@simonecatalano](https://forum.phpvms.net/u/simonecatalano)\
**Post date:** [August 22, 2013, 5:45pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/16 "2013-08-22T17:45:36Z")

</div>

It’s possible then view the staff online ??

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [September 19, 2013, 5:30pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/17 "2013-09-19T17:30:28Z")

</div>

> It’s possible then view the staff online ??

I will work this one out. Thank you for your suggestion.

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [October 19, 2013, 11:27pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/18 "2013-10-19T23:27:23Z")

</div>

New Build Released!

Added Online Staff Feature.

[View Changes](https://github.com/Vansers/phpVMS_vStaff/commit/d5197f7a87d12e747ebadf16b7fefe958eb60af6)

[Download](https://github.com/Vansers/phpVMS_vStaff/archive/master.zip)

---

<div class="post-metadata">

**Author:** ![bward624](https://forum.phpvms.net/user_avatar/forum.phpvms.net/bward624/32/333_2.png) [@bward624](https://forum.phpvms.net/u/bward624)\
**Post date:** [April 18, 2014, 1:41am UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/19 "2014-04-18T01:41:00Z")

</div>

Hey it wont let me add positions, and what does order mean?

---

<div class="post-metadata">

**Author:** ![bward624](https://forum.phpvms.net/user_avatar/forum.phpvms.net/bward624/32/333_2.png) [@bward624](https://forum.phpvms.net/u/bward624)\
**Post date:** [May 12, 2014, 4:01pm UTC](https://forum.phpvms.net/t/vstaff-v1-0/8020/20 "2014-05-12T16:01:01Z")

</div>

> I think that is how it ordered on site priority
> 
> like it is done when you set manual ranking?

DO I PUT NUMBERS IN THAT BOX?

[Next page](https://forum.phpvms.net/t/vstaff-v1-0/8020.md?page=2)
