Administrators simpilot Posted June 4, 2012 Administrators Report Share Posted June 4, 2012 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. Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted June 4, 2012 Report Share Posted June 4, 2012 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 Quote Link to comment Share on other sites More sharing options...
mattia Posted June 4, 2012 Report Share Posted June 4, 2012 many thx Dave Quote Link to comment Share on other sites More sharing options...
flyalaska Posted June 11, 2012 Report Share Posted June 11, 2012 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, Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 11, 2012 Author Administrators Report Share Posted June 11, 2012 Are you putting the entries in the correct places in the form and also adding the http:// to the entry? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted June 11, 2012 Report Share Posted June 11, 2012 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 Quote Link to comment Share on other sites More sharing options...
mattia Posted June 11, 2012 Report Share Posted June 11, 2012 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. i have the same problem Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 12, 2012 Author Administrators Report Share Posted June 12, 2012 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 Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted June 20, 2012 Report Share Posted June 20, 2012 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 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 21, 2012 Author Administrators Report Share Posted June 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
jusromaine Posted September 19, 2014 Report Share Posted September 19, 2014 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.