-
Posts
1824 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Strider
-
-
Parse error: syntax error, unexpected '<' in /home/globalai/public_html/lib/skins/global/pilots_list.tpl on line 57
Am getting that error now.
http://globalaircargovirtual.org/download/pilots_list.zip
Cheers
Dan C
-
Parse error: syntax error, unexpected '<' in /home/globalai/public_html/lib/skins/global/pilots_list.tpl on line 57
I get that error with your code. I know the piece of code causing it, but there is no way of stopping it from occuring.
Cheers
Dan C
-
<?php $fieldvalue = "PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { echo '<a href="http://www.vataware.com/pilot.cfm?cid='.$fieldvalue.' target="_blank"<img src="'.SITE_URL.'/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>'"; }
Still not working.
Cheers
Dan C
-
<?php $fieldvalue = $pilot; if($fieldvalue != 'VATSIM_ID') // <a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>
there you go nabeel.
Cheers
Dan C
-
I think this error is just localized to a few people, as i get no error from your site or mine, in both IE and firefox.
Cheers
Dan C
-
Works fine for me.
Cheers
Dan C
-
I have equaled the fliedvalue to the getfieldvalue and it still doesn't want to be a good little boy.
Cheers
Dan C
-
flyzen it said to comment it out.
Cheers
Dan C
-
<?php $fieldvalue = 0; if($fieldvalue != '') //<a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>
That is the code.
Cheers
Dan C
-
Try resetting the hours in the admin panel, it should work, and when they submit a pirep it should correct itself.
Cheers
Dan C
-
Then you did it wrong, if you need to edit a template, create a new skin folder for it, that wont get updated or overwritten, if you need to edit any of the core/template files, save them into the custom skin folder, phpvms will go to them for the updated ones, and they wont be overwritten.
Cheers
Dan C
-
It still doesn't work. I have tried different combos, and it still doesn't want to work, it now shows the gif, but it doesn't link to vataware.
Cheers
Dan C
-
It still not working, it shows the gif now, but it has "> what else should i do to get it working?
Cheers
Dan C
-
AJM101 it already is in the pilot center.
Cheers
Dan C
-
It is still not working, where do i put the code i am using?
Cheers
Dan C
-
How should i assign getfieldvalue() to a variable? I only know very very basic php.
Cheers
Dan C
-
no what is happening it shows the button even if it is empty and when it isn't empty. I need it to show nothing when it is empty and the button when it isn't empty.
Cheers
Dan C
-
By the looks of it you have directly edited one of the default skins, which is going to cause you trouble in the future.
Cheers
Dan C
-
I have some code to get the vataware gif onto the roster, but it shows for every pilot even if they dont have a vatsim id, what code do i need to put in to stop that from happening?
Cheers
Dan C
-
Yea it is just a permission problem, It will be fine once you give them the proper permissions.
Cheers
Dan C
-
What code would i need to put the vataware link and graphic onto the roster?
Cheers
Dan C
-
He means to show on the roster, and not have people go into the public profiles.
Cheers
Dan C
-
Is there a way of getting the schedules and roster to when they get to a certain number go to a new page? So you don't have a real long list on one page? I think this would benefit a lot of VA owners too.
Cheers
Dan C
-
vatware button on roster question
in Support Forum
Posted
YAY got it working, If anyone wants it pm me, will send you the file.
Cheers
Dan C