Credits 1.0
phpVMS module to create a credits and partners page for your phpVMS based virtual airline.
Released under the following license:
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
Developed by:
simpilot - David Clark
www.simpilotgroup.com
www.david-clark.net
Developed on:
phpVMS v2.1.934-158
php 5.3.4
mysql 5.0.7
apache 2.2.17
Install Using Simpilotgroup Plugin Manager
-Download the package
-Upload the package to your site using the plugin manager
-Use the auto-install from the plugin manager
Install Manually:
-Download the package.
-Unzip the package and place the files as structured in your root phpVMS install.
-Use the credits.sql file to create the tables needed in your sql database using phpmyadmin or similar.
-Create a link on your site to access the credits page.
<a href="<?php echo url('/credits'); ?>">Credits</a>
You can add anyone you would like to credit for helping or being part of your site in the admin panel under Addons->Credits and also add partners suchs as VATSIM and IVAO. The listings will be in alphabetical order on your credits page on your site.
Code hosted on github - link in signature.

great just what I am looking for
here another module request:
a module for creating a seperate VA rule page
something like that in output
Policy Name field Description field
PIREP Policy Each pilot is required to fly at least x flight per month
best regards,
Thomas
Love this adon. Little issue. When I add a entry, when I save it. Every is messed up. Example. The image is the description, the url is another place. I have to edit to fix it. Happens every time I add a entry,
Are you putting the entries in the correct places in the form and also adding the http:// to the entry?
The first shot shows the form that I filled out. Notice that all fields are filled correctly.
The second shot shows after I submit the information. Notice the info is in the wrong places.
1 Like
I just pushed an update to github. There was an error in the variable order in admin/modules/credits.php when saving a new credit. The only changes to the module were in that file.
1 Like
another idea for an update
what I miss is the possibility to create categories
for example a Sceneries where all credits regarding sceneries can be listed in
otherwise it is great
PS:
small tip for other users
if you add this at this scripts at the top of admin/templates/credits/credit_create.tpl and credit_edit.tpl
<script type="text/javascript" src="<?php echo SITE_URL.'/lib/js/jqModal.js'; ?>"></script>
<script type="text/javascript" src="<?php echo SITE_URL.'/lib/js/ckeditor/ckeditor.js'; ?>"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/admin/lib/phpvmsadmin.js"></script>
and replace the code for the description with that from below for credit_create.tpl
<tr>
<td>Description</td>
<td><textarea id="editor" name="description" rows="4" cols="42" class="tinymce"><?php
if(isset($credit))
{echo $credit['description'];}
?></textarea></td>
</tr>
and following for credit_edit.tpl
<tr>
<td>Description</td>
<td><textarea id="editor" name="description" rows="4" cols="42" class="tinymce" ><?php
echo $credit->description;
?></textarea></td>
</tr>
this way you can easily integrate tinymce editor which makes it easier to edit texts
but always make a backup of the original file!
best regards,
Thomas
what I miss is the possibility to create categories
for example a Sceneries where all credits regarding sceneries can be listed in
I will look at updating the module for that fucntionality
I have uploaded all the files but still keep getting
Notice : The template file “/home/deltaair/public_html//core/templates/credits/index.tpl” doesn’t exist in /home/deltaair/public_html/core/classes/TemplateSet.class.php on line 248
I have looked and and re-uploaded but still same thing over and over even admin center same thing saying can’t find tpl files.