# vAwards

**URL:** <https://forum.phpvms.net/t/vawards/6660>\
**Category:** KJRDev Addons\
**Created:** [May 23, 2012, 12:09am UTC](https://forum.phpvms.net/t/vawards/6660 "2012-05-23T00:09:54Z")\
**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:** [May 23, 2012, 12:09am UTC](https://forum.phpvms.net/t/vawards/6660/1 "2012-05-23T00:09:54Z")

</div>

**vAwards\_V1.0**

This module allows you to add different types of awards and add award under the type. You can issue awards to pilots aswell, and show them in the profile.

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

**Completed By:**

**Screenshot of Module:**

**How To Install:**

**1)** Download the file that is attached here…

**2)** Unzip the file…

**3)** Upload/Import the SQL file called vAwards\_SQL.sql into the database that your VMS install sits.

**4)****Upload the files same as the structure as your phpvms files.**

1. Go to Admin and Add-Ons, vAwardAdmin link will be added auto, based on EDIT\_AWARDS permission.

Enjoy the Module!

To display the pilot’s earned awards in the profile\_main.tpl..

```
<?php MainController::Run('vAwards', 'showPilotIssuedAwards', $userinfo->pilotid); ?>

```

**Version 1.0 - May 22, 2012**

- First Release

Download From GitHub - [Download](https://github.com/Vansers/phpVMS_vAwards/zipball/master)

If you have any questions, please post in this topic!

---

<div class="post-metadata">

**Author:** ![mattia](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mattia/32/147_2.png) [@mattia](https://forum.phpvms.net/u/mattia)\
**Post date:** [May 23, 2012, 10:39am UTC](https://forum.phpvms.net/t/vawards/6660/2 "2012-05-23T10:39:42Z")

</div>

many thanks kyle

i have add this \<?php MainController::Run(‘vAwards’, ‘showPilotIssuedAwards’, $userinfo-\>pilotid); ?\>

in my profile\_main.tpl, i have added the award, but in pilot center dont’view the award

---

<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:** [May 23, 2012, 11:16am UTC](https://forum.phpvms.net/t/vawards/6660/3 "2012-05-23T11:16:20Z")

</div>

> many thanks kyle
> 
> i have add this \<?php MainController::Run(‘vAwards’, ‘showPilotIssuedAwards’, $userinfo-\>pilotid); ?\>
> 
> in my profile\_main.tpl, i have added the award, but in pilot center dont’view the award

same problem here

best regards,

Thomas

---

<div class="post-metadata">

**Author:** ![mattia](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mattia/32/147_2.png) [@mattia](https://forum.phpvms.net/u/mattia)\
**Post date:** [May 23, 2012, 11:23am UTC](https://forum.phpvms.net/t/vawards/6660/4 "2012-05-23T11:23:05Z")

</div>

lacks the modules folder, located in the core folder?

---

<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:** [May 23, 2012, 11:33am UTC](https://forum.phpvms.net/t/vawards/6660/5 "2012-05-23T11:33:44Z")

</div>

> lacks the modules folder, located in the core folder?

Your right,

damn new Github Program didn’t import the module folder. Give me a quick sec to upload it.

---

<div class="post-metadata">

**Author:** ![mattia](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mattia/32/147_2.png) [@mattia](https://forum.phpvms.net/u/mattia)\
**Post date:** [May 23, 2012, 11:34am UTC](https://forum.phpvms.net/t/vawards/6660/6 "2012-05-23T11:34:55Z")

</div>

no problem

---

<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:** [May 23, 2012, 11:36am UTC](https://forum.phpvms.net/t/vawards/6660/7 "2012-05-23T11:36:48Z")

</div>

> no problem

Alright, here you go! The file will have the module in there.

[Download](https://github.com/Vansers/phpVMS_vAwards/zipball/master)

---

<div class="post-metadata">

**Author:** ![mattia](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mattia/32/147_2.png) [@mattia](https://forum.phpvms.net/u/mattia)\
**Post date:** [May 23, 2012, 11:51am UTC](https://forum.phpvms.net/t/vawards/6660/8 "2012-05-23T11:51:39Z")

</div>

now work many thanks very nice addon 😃

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [May 23, 2012, 1:22pm UTC](https://forum.phpvms.net/t/vawards/6660/9 "2012-05-23T13:22:02Z")

</div>

Are we able to use this module in order to add multiple awards to a pilot? Like IVAO network do? For example, if i finish a va tour, which give me an award, twice…will the award shown twice on my profile?

---

<div class="post-metadata">

**Author:** ![mseiwald](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mseiwald/32/149_2.png) [@mseiwald](https://forum.phpvms.net/u/mseiwald)\
**Post date:** [May 23, 2012, 1:29pm UTC](https://forum.phpvms.net/t/vawards/6660/10 "2012-05-23T13:29:18Z")

</div>

thank you very much kyle…it works great

---

<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:** [May 23, 2012, 2:33pm UTC](https://forum.phpvms.net/t/vawards/6660/11 "2012-05-23T14:33:42Z")

</div>

> Are we able to use this module in order to add multiple awards to a pilot? Like IVAO network do? For example, if i finish a va tour, which give me an award, twice…will the award shown twice on my profile?

you would have to add another award. you can’t grant the same award again.

> thank you very much kyle…it works great

your welcome! glad it works for you!

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [June 20, 2012, 5:28am UTC](https://forum.phpvms.net/t/vawards/6660/12 "2012-06-20T05:28:37Z")

</div>

Ah great. Haven’t been on in a few months (been taking a break from my VA for a while). Glad to see you have it released. I will put it to the test right away. Thanks Kyle.

---

<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:** [June 21, 2012, 3:46pm UTC](https://forum.phpvms.net/t/vawards/6660/13 "2012-06-21T15:46:18Z")

</div>

Your welcome Jeff!

---

<div class="post-metadata">

**Author:** ![Tylor\_Eddy](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tylor_eddy/32/48_2.png) [@Tylor\_Eddy](https://forum.phpvms.net/u/Tylor_Eddy)\
**Post date:** [June 24, 2012, 9:07am UTC](https://forum.phpvms.net/t/vawards/6660/14 "2012-06-24T09:07:41Z")

</div>

This is an amazing module Kyle !!!

Thank you for all your hard work, works wonderfully on my site, just fiddled around with it and its working just fine, now all thats needed are the award images haha

I really love the fact you can categorise awards, great idea ! One thing though, could you add a feature to remove an award type as well as the awards themselves? just i added an extra i didnt need and had to go into the database to remove it

Thanks again mate, your hard work is definitely appreciated

Regards

Tylor

---

<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:** [June 24, 2012, 10:38pm UTC](https://forum.phpvms.net/t/vawards/6660/15 "2012-06-24T22:38:36Z")

</div>

Tylor,

Thanks for your comment on this module. However, I will add the delete functions soon on the next update when I have time.

Cheers!

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [June 29, 2012, 3:14am UTC](https://forum.phpvms.net/t/vawards/6660/16 "2012-06-29T03:14:00Z")

</div>

Can you make it so that you can show them by a single category instead of them grouped together? I want to show them in separate tables. Is it possible?

---

<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:** [June 30, 2012, 4:16am UTC](https://forum.phpvms.net/t/vawards/6660/17 "2012-06-30T04:16:27Z")

</div>

> Can you make it so that you can show them by a single category instead of them grouped together? I want to show them in separate tables. Is it possible?

Jeff, I’m not sure if I’m understanding on what you want. Sorry.

Are you looking for something that has a table for a category, and so on?

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 5, 2012, 3:14am UTC](https://forum.phpvms.net/t/vawards/6660/18 "2012-07-05T03:14:05Z")

</div>

Yeah! As you have them now, it looks like it groups them separately, but in the same table. I would like to have separate tables…each table calling its own award.

---

<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 5, 2012, 2:40pm UTC](https://forum.phpvms.net/t/vawards/6660/19 "2012-07-05T14:40:26Z")

</div>

Okay roger that!

I’ll look after that soon! Thanks Jeff!

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [September 20, 2012, 4:47pm UTC](https://forum.phpvms.net/t/vawards/6660/20 "2012-09-20T16:47:30Z")

</div>

Is there anyhing on the request I made about categorizing separate tasbles with this module?

As an example of what I am needing is as follows:

Table #1

**Category: Type Ratings**

List of all Type Rating Awards for that pilot. (Have them list three or four across then repeat under them as they get more awards for that category).

Table #2

**Category: Frequent Flyer Awards**

Same as above

For each new category you add to the module it creates a new table in the template. If the member has no rewards for a specific category, it will just say “No Rewards At This Time”.

Let me know what you think Kyle. Thanks.

[Next page](https://forum.phpvms.net/t/vawards/6660.md?page=2)
