vAwards

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/

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

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

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

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

lacks the modules folder, located in the core folder?

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.

no problem

no problem

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

Download

now work many thanks very nice addon :smiley:

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?

thank you very much kyle…it works great

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!

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.

Your welcome Jeff!

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

1 Like

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!

1 Like

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?

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?

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.

Okay roger that!

I’ll look after that soon! Thanks Jeff!

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.