Blu-Express VA Posted February 6, 2011 Report Posted February 6, 2011 Hi, How to add IVAO DATA in the pilot Roster? is the column with IVAO image and link for details for here pilots... This is VATSIM Data, but it's simily: http://www.flyoasis.org/index.php/pilots Thanks in Advanced! Quote
fsx Posted June 17, 2011 Report Posted June 17, 2011 your link not responce, you say so? http://qantasvirtual.com/index.php/Listing I'm working on it but are at a standstill: ( Add to Custom Field with name IVAO, mark Sow in User Profile? and Show During Registration? at YES Open the file pilots_list.tpl in the template and write this for add colon <th>IVAO</th> and this for populate the field <?php echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO'); ?> what they are not able to do to allow the connection to the id of IVAO Quote
Blu-Express VA Posted June 17, 2011 Author Report Posted June 17, 2011 your link not responce, you say so? http://qantasvirtual.com/index.php/Listing I'm working on it but are at a standstill: ( Add to Custom Field with name IVAO, mark Sow in User Profile? and Show During Registration? at YES Open the file pilots_list.tpl in the template and write this for add colon <th>IVAO</th> and this for populate the field <?php echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO'); ?> what they are not able to do to allow the connection to the id of IVAO Go in your Admin CP and in the Site & Settings and click to Profile Fields, Add the field IVAO or VATSIM and select: Show During Registration? YES Show in the Profile? YES Now go in you pilots_list.tpl and add: <th>IVAO</th> or <th>VATSIM</th> and in the low of page add: <td><?php $fieldvalue = PilotData::GetFieldValue($pilot->pilotid, 'IVAO ID'); if($fieldvalue != '') { echo '<a href="http://www.ivao.aero/members/person/details.asp?ID='.$fieldvalue.'" target="_blank"><center><center><img src=" -- INSERT THE LINK FOR VIEW THE IMAGE -- YES IVAO --" width="20" height="18" border="0" alt="IVAO ID" /></center></a>'; } else { echo '<center><img src=" -- INSERT THE LINK FOR VIEW IMAGE -- NO IVAO --" width="20" height="18" border="0"/></center></a>'; } ?> </td> <td><?php $fieldvalue = PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { echo '<a href="http://www.vataware.com/pilot.cfm?cid='.$fieldvalue.'" target="_blank"><center><img src="INSERT THE LINK FOR VIEW IMAGE -- YES VATSIM --" width="20" height="18" border="0" alt="Vatsim ID" /></center></a>'; } else { echo '<center><img src="INSERT THE LINK FOR VIEW IMAGE -- NO VATSIM --" width="20" height="18" border="0"/></center></a>'; } ?> <?php ?></td> <?php } ?> Kind Regards Quote
Kieran Jones Posted March 22, 2012 Report Posted March 22, 2012 How do i change mine and the users that have already have registered? Best Regards, Kieran Quote
estebanmejia Posted March 5, 2015 Report Posted March 5, 2015 could you post the pilot_list complete with de adds? htnaks a lot Quote
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.