Jump to content

[SOLVED] Change Signature (Badge) variables


ProSkyDesign

Recommended Posts

  • Administrators

In .../core/common/ PilotData.class.php - look for public static function generate Signature around line 895. A few lines below that you will see the 3 entries you wish to change Total Flights, Total Hours Total Earnings.

Back up your original file first, then change only those 3 items. You can then re-generate signatures in the admin panel.

Link to comment
Share on other sites

  • Moderators
13 minutes ago, ProAvia said:

In .../core/common/ PilotData.class.php - look for public static function generate Signature around line 895. A few lines below that you will see the 3 entries you wish to change Total Flights, Total Hours Total Earnings.

Back up your original file first, then change only those 3 items. You can then re-generate signatures in the admin panel.

Nice, it works like a charm :D

Thanks you so much!

Link to comment
Share on other sites

  • Moderators
16 hours ago, ProAvia said:

In .../core/common/ PilotData.class.php - look for public static function generate Signature around line 895. A few lines below that you will see the 3 entries you wish to change Total Flights, Total Hours Total Earnings.

Back up your original file first, then change only those 3 items. You can then re-generate signatures in the admin panel.

Do you know how to set up a cron job to uptade the hours and last flights on badge?

Link to comment
Share on other sites

10 hours ago, joooseb said:

Do you know how to set up a cron job to uptade the hours and last flights on badge?

It should be the basic all around one already set up in the admin panel. It also does a host of other things. PhpVMS will also give you the command to put into the control panel of your hosting account.

Link to comment
Share on other sites

  • Moderators
2 minutes ago, t_bergman said:

It should be the basic all around one already set up in the admin panel. It also does a host of other things. PhpVMS will also give you the command to put into the control panel of your hosting account.

Don't worry it works fine :)!

Link to comment
Share on other sites

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...