Jump to content

Staff Module


TAV1702

Recommended Posts

Hi Dave.

I got the staff module off of you some time back and now I got a quick question.

Is it possible to fetch the staff position, if exists, and place it on the pilots public profile? I jacked some code from the staff_index.tpl file but I could not get it to print the information I was trying to call.

Then I guess if that pilot held no position then it would jsut carry on as the code was made default in the public profile.

So what I am after is this for example:

  • Pilot ID: SRT004
  • Position: CEO
  • Rank: Sr. Captain
  • Total Flights: 4
  • Total Hours: 678.30
  • Location: us.png United States

Then if I was not assigned a staff position it would be just deafult:

  • Pilot ID: SRT004
  • Rank: Sr. Captain
  • Total Flights: 4
  • Total Hours: 678.30
  • Location: us.png United States

I have saw this done on a couple other sites but was not sure if they used your staff module to ull this off or not. I was thinking one could kick some code up for it, but if they already own your staff module, then why try and reinvent the wheel?

Thanks for your time today.

Ray

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

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