Jump to content

[SOLVED] Status Badges


OmerAslan

Recommended Posts

  • Moderators

I believe that you would be able to use it. I haven't purchased it but it should be compatible. Bare in mind that making a module compatible with phpvms 5.5.2 is very easy as soon as it is not. You will just have follow a few standard steps.

1) Open the module file in the common folder and check that all of its functions are "public static function" instead of "public function".
2) Change the extensions of the template files from .tpl to .php (just rename it from blahblah.tpl to blahblah.php).

And voilà! :)

  • Like 1
Link to comment
Share on other sites

Hi George,

I purchased this module. I did what you said. tpl to php and i add static to the line. I add corn job. İ even update status manually. I start flight. Offline mode and after Ivao online but status badge says i was offline. On the badge show my last flight date and route. But status not changing. Can i have some help here.. Thanks.

ERA001status.png

Also i want to make qoick link for pilots just like regular pilot badge page. I believe i have to change 2 small code there to show Pilot status badge in pilot badge page. Can you write them to me...

Edited by OmerAslan
Link to comment
Share on other sites

can i change this pilot badge 4 lines for pilot status badge

<img src="<?php echo $badge_url ?>" />
</p>
<p>
	<strong>Direct Link:</strong>
	<input onclick="this.select()" type="text" value="<?php echo $badge_url ?>" style="width: 100%" />
	<br /><br />
	<strong>Image Link:</strong>
	<input onclick="this.select()" type="text" value='<img src="<?php echo $badge_url ?>" />' style="width: 100%" />
	<strong>BBCode:</strong>
	<input onclick="this.select()" type="text" value='[img]<?php echo $badge_url ?>[/img]' style="width: 100%" />

 top 4 lines shows this : http://www.crew.erisair.com/lib/signatures/ERA001.png and has to be this : http://www.crew.erisair.com/lib/signatures/status/ERA001status.png 

Thanks guys. Sorry for many questions...

Link to comment
Share on other sites

  • 4 weeks later...
  • Moderators
On 12/2/2017 at 11:43 AM, OmerAslan said:

Sorry i am late. I got very fast servces. In the future, If anyone have same problem

ACARS table and set the last timestamp ahead of the current time. (I don't know how to do this David did for me) And fixed. Thanks again.

I'm insterested in that add on! Do you know if is possible to change the variables of the Badge? For example: in stead of "Last seen" say: "Última vez" (spanish translate)

Link to comment
Share on other sites

9 minutes ago, joooseb said:

I'm insterested in that add on! Do you know if is possible to change the variables of the Badge? For example: in stead of "Last seen" say: "Última vez" (spanish translate)

I believe you can do that my friend. But better if you ask this to David. I can only say this module works well and i like it. I am using in my forum and some other forums. Looks great.

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