Jump to content

Recommended Posts

  • Administrators
Posted

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.

post-198-0-91814800-1338821043_thumb.png

Posted

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

Posted

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,

Posted

The first shot shows the form that I filled out. Notice that all fields are filled correctly.

credit_fill.png

The second shot shows after I submit the information. Notice the info is in the wrong places.

credit_done.png

  • Like 1
Posted

The first shot shows the form that I filled out. Notice that all fields are filled correctly.

credit_fill.png

The second shot shows after I submit the information. Notice the info is in the wrong places.

credit_done.png

i have the same problem

  • Administrators
Posted

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.

  • Like 1
  • 2 weeks later...
Posted

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

  • Administrators
Posted

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

  • 2 years later...
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...