Jump to content

OmerAslan

Members
  • Posts

    288
  • Joined

  • Last visited

Everything posted by OmerAslan

  1. hi i download this module with plugin manager but on the admin menu i don't see auto pirep like on the screenshot. i have phpvms 5.5.x can i have some help please
  2. When i approved a new pirep i get this error also on the signature, i can't see the rank. gives me the same error Can you help me about this? Warning: imagecreatefromstring(): Empty string or invalid image in /home/pilotomeraslan/public_html/a/core/common/PilotData.class.php on line 1016
  3. we can close the topic. thanks again.
  4. Ok i fixed. i put subdomain and now working. It's awesome. Thank you all for the helps. Summary, change .tpl to .php format and change $this->render('SimBrief/SimBrief.tpl'); to $this->render('SimBrief/SimBrief.php'); in core/modules/SimBrief/SimBrief.php done. please close the topic.
  5. Main page http://www.aalvirtual.com but phpvms works under subdomain http://a.aalvirtual.com
  6. i did it and i see simbrief button on pilot brief page but when i press nothing happens. also when i try to start script with putty (./ name start) i get this ./simbrief.apiv1.js: line 1: /bin: is a directory ./simbrief.apiv1.js: line 2: acarsmap.js: command not found ./simbrief.apiv1.js: line 3: acarsmap.js: command not found ./simbrief.apiv1.js: line 4: acarsmap.js: command not found ./simbrief.apiv1.js: line 5: acarsmap.js: command not found ./simbrief.apiv1.js: line 6: acarsmap.js: command not found ./simbrief.apiv1.js: line 7: acarsmap.js: command not found ./simbrief.apiv1.js: line 7: without: command not found ./simbrief.apiv1.js: line 8: acarsmap.js: command not found ./simbrief.apiv1.js: line 9: acarsmap.js: command not found ./simbrief.apiv1.js: line 10: acarsmap.js: command not found ./simbrief.apiv1.js: line 12: acarsmap.js: command not found ./simbrief.apiv1.js: line 13: acarsmap.js: command not found ./simbrief.apiv1.js: line 14: acarsmap.js: command not found ./simbrief.apiv1.js: line 15: ckeditor/: is a directory ./simbrief.apiv1.js: line 18: /bin: is a directory ./simbrief.apiv1.js: line 19: acarsmap.js: command not found ./simbrief.apiv1.js: line 20: acarsmap.js: command not found ./simbrief.apiv1.js: line 21: ckeditor/: is a directory ./simbrief.apiv1.js: line 23: var: command not found ./simbrief.apiv1.js: line 23: //Ex.: No such file or directory ./simbrief.apiv1.js: line 27: /bin: is a directory ./simbrief.apiv1.js: line 28: acarsmap.js: command not found ./simbrief.apiv1.js: line 29: ckeditor/: is a directory ./simbrief.apiv1.js: line 31: var: command not found ./simbrief.apiv1.js: line 32: var: command not found ./simbrief.apiv1.js: line 33: var: command not found ./simbrief.apiv1.js: line 34: var: command not found ./simbrief.apiv1.js: line 35: var: command not found ./simbrief.apiv1.js: line 36: var: command not found ./simbrief.apiv1.js: line 37: var: command not found ./simbrief.apiv1.js: line 39: var: command not found ./simbrief.apiv1.js: line 41: var: command not found ./simbrief.apiv1.js: line 42: var: command not found ./simbrief.apiv1.js: line 43: var: command not found ./simbrief.apiv1.js: line 45: var: command not found ./simbrief.apiv1.js: line 46: var: command not found ./simbrief.apiv1.js: line 52: /bin: is a directory ./simbrief.apiv1.js: line 53: acarsmap.js: command not found ./simbrief.apiv1.js: line 54: acarsmap.js: command not found ./simbrief.apiv1.js: line 55: acarsmap.js: command not found ./simbrief.apiv1.js: line 56: acarsmap.js: command not found ./simbrief.apiv1.js: line 657: unexpected EOF while looking for matching `'' ./simbrief.apiv1.js: line 681: syntax error: unexpected end of file
  7. Thanks my friend. It worked. Best Regards
  8. Now i get this Warning: imagecreatefromstring(): Empty string or invalid image in /home/pilotomeraslan/public_html/a/core/common/PilotData.class.php on line 1016 and on the signature i can't see the rank. Can you help me about this?
  9. no i did everything it says but didn't worked.
  10. Hello it's me again, index page (homepage) there is a activity feed and i want to erase it or find dthe way to not to show. Is it possible? Thanks
  11. ok my friend, i see the images on the public profile now. This is enough for me. Thanks a lot. I see awards on pilot center but no images there and also no images on download center. This is minor problem for me. Don't bother yourself. If you have quick solution let me know. Thanks again to you all.
  12. Hello, I want to add simbrief module on my phpvms 5_5_x and all my files .php format but their module files .tpl format. So if i add those files to my folders would it work? or i have to make some changes? Thanks
  13. Now i see, i add image link on one of the download and on the pilot center download page, i can't see this image also. Maybe this would give you better idea about the problem.
  14. This is what i get Parse error: syntax error, unexpected '<' in /home/pilotomeraslan/public_html/aal/core/templates/pilot_public_profile.php on line 51 and pilot center still no images... Sorry
  15. Hello, -Download the attached package. But where is the package link?
  16. www.aalvirtual.com

  17. of course i don't mind my frined, pilot_public_profile.php in core/templates <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php if(!$pilot) { echo '<h3>This pilot does not exist!</h3>'; return; } ?> <h3>Profile For <?php echo $pilot->firstname . ' ' . $pilot->lastname?></h3> <table> <tr> <td align="center" valign="top"> <?php if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png')) { echo 'No avatar'; } else { echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> '; } ?> <br /><br /> <img src="<?php echo $pilot->rankimage?>" alt="" /> </td> <td valign="top"> <ul> <li><strong>Pilot ID: </strong><?php echo $pilotcode ?></li> <li><strong>Rank: </strong><?php echo $pilot->rank;?></li> <li><strong>Total Flights: </strong><?php echo $pilot->totalflights?></li> <li><strong>Total Hours: </strong><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></li> <li><strong>Location: </strong> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo Countries::getCountryName($pilot->location);?> </li> <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field->value</li>"; } } ?> </ul> <p> <strong>Awards</strong> <?php if(is_array($allawards)) { ?> <ul> <?php foreach($allawards as $award) { /* To show the image: <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> */ ?> <li><?php echo $award->name ?></li> <?php } ?> </ul> <?php } ?> </p> </td> </tr> </table> <!-- Google Chart Implementation - OFC Replacement - simpilot --> <img src="<?php echo $chart_url ?>" alt="Pirep Chart" />
  18. I found pilot_public_profile.php under core/templates. I add this code. But still i can't see the images. Not only public pilot profile also in pilot center i can't see the images. But i see them in Admin center awards place <img src="'.$award->image.'" alt="'.$award->name.'" border="0" />
  19. Hello Keith, Where i should look for this? Which folder? I am sorry, i a new...
  20. I did almost everything with your help. Hopefully this is the last topic... But i can't promise Please let's fix this also...
  21. No i didn't edit pilot center/profile page. www.aalvirtual.com I see the awards but no pictures. Also http://aal.fltsimworld.org/index.php/profile/view/2
  22. Hello, I am adding awards and i see the pictures on the award page but in the pilot center and profile page i can not see those images. Only says the name of the award. How can i fix this problem? Also is it easy to give awards automatically? Thanks
  23. Hi. It's me again, I create external page for my virtual airline. How can i insert this page as home page in phpvms? And i want to make current homepage to news page. I need to make some changes in pages on the navbar and navbar menu... How can i do this? Thanks.
  24. ok i fixed the problem my friend. thanks a lot.
×
×
  • Create New...