Jump to content

Jason

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by Jason

  1. Hello all, We are in the works of a live online aviation tv station, that will include a Flight Simulator channel, and a real aviation channel. The channels will consist of user made aviation videos (full credit will be given to the user) to create a 24/7 live stream of videos. Your Virtual Airlines promo videos, or any other aviation video you have created, can be added to the FS/Aviation channels. This can help advertise your virtual airline, or youtube channel. If you are interested please leave your Youtube video URL's, or your channel link below. Again, full credit will be given to your videos. We will notify you if your videos will be in the live streams. If you have any questions, please message me, or ask in the comment section below. Thanks
  2. What's everyones favourite airport to spot at? I am currently situated near Toronto Pearson which has many available spotting locations. Just curious to see where people like spot! My experience at CYYZ: @flightspotphoto www.flightspot.net
  3. Would i place that code in my skins layout.tpl file?
  4. I am getting a 500 Internal Server Error in the Admin Panel only, everything else works fine. I contacted my website host (Arvixe) and they said it would have to do with phpvms. Does anyone know how to fix this? Error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@webmaster.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  5. Make sure this is in the PHP tags, and now that a look at it, you have to add a } at the end. public function get_pilots_screenshots($pilot_id) { $query = "SELECT * FROM screenshots WHERE pilot_id='$pilot_id'"; return DB::get_row($query); } Try that
  6. This Mod Requires Simpilots Screenshot Center - http://forum.phpvms....nshotcenter-20/ This is a small mod that allows you to show a users uploaded photos in a jquery slideshow. It also lists each photo that the user uploaded in a table, including a jquery photo preview (Mouse over the file name) DEMO: http://d12hd.com/ind.../profile/view/1 Installation 1. Download the attached file and upload it to your server 2. Add the code below to core/common/ScreenshotsData.class.php public function get_pilots_screenshots($pilot_id) { $query = "SELECT * FROM screenshots WHERE pilot_id='$pilot_id'"; return DB::get_row($query); } 3. Add the code below in core/modules/Screenshots/Screenshots.php public function get_pilots_screenshots($pilot_id) { $screenshot = ScreenshotsData::getscreenshots(); $this->set('screenshot', $screenshot); $this->show('Screenshots/screenshots_profile.tpl'); } 4. Add the code below in core/modules/profile/profile.php - In the VIEW function $this->set('pilot_id', $pilotid); Screenshots::get_pilots_screenshots($pilot_id); Screenshots_ProfileMod.zip
  7. I have a user select a country out of a select box, and then i want it to sort the airports that are in that country. I have a $country variable, and by $allcountries variable: $country = $_POST['location']; $allairports = OperationsData::GetAllAirports($country); ... then i have a foreach statement Am i doing that right? it does not sort the airports
  8. No one can change their avatar, because this error always shows up. Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/pisocial/public_html/core/common/PilotData.class.php on line 456 Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/tmp/phprlRX5s' is not a valid JPEG file in /home/pisocial/public_html/core/common/PilotData.class.php on line 456 Warning: imagesy(): supplied argument is not a valid Image resource in /home/pisocial/public_html/core/common/PilotData.class.php on line 464 Warning: imagesx(): supplied argument is not a valid Image resource in /home/pisocial/public_html/core/common/PilotData.class.php on line 465 Warning: Division by zero in /home/pisocial/public_html/core/common/PilotData.class.php on line 468 Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/pisocial/public_html/core/common/PilotData.class.php on line 470 Warning: imagecopyresized(): supplied argument is not a valid Image resource in /home/pisocial/public_html/core/common/PilotData.class.php on line 471 Warning: imagepng(): supplied argument is not a valid Image resource in /home/pisocial/public_html/core/common/PilotData.class.php on line 475 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/pisocial/public_html/core/common/PilotData.class.php on line 476
  9. I want to display the pilot id or pilot name in another module on my va, but it doesnt seem to display. What is the code to declare the ID or name in the module. I beieve its something like this: $this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid)); is that correct? Thanks
  10. Everyone who has sent me a PM with their va, has been submitted... As said above, we are building up our database of va's before we release the site. You will be notified when that happens
  11. As of right now, please send me a PM with the info above. Because we are not open yet, our submit for is not fully working. So for the time being, please send me a PM
  12. Tom, Dont worry, i am doing this a hobby, and as a non-profit website.. I wont try and make money in every way possible
  13. You can also send us your logo. It will be resized to 100x25
  14. We have created a one of a kind Virtual Airline Search Engine.. And we are looking for you, the CEO to submit your va to our search engine. This will increase visitors directly to your va. What does the search engine offer? - Direct links to va's - Nothing but virtual airlines - VA voting system And much more If you want your VA to be submitted to our search engine, please PM me the following: 1) VA Name (Manditory) 2) VA URL (Manditory) 3) VA Description (Optional) 4) Webmaster Email (Manditory) We want to build a database of VA's before we release the website Thanks!
  15. Whats the best way of saving a user value, entered into a textbox - to a string. For example, the user of phpvms, enters their va name into a textbox, which then translates into <? php echo SITE_URL ?>. I want to do something like that. Please help! Thanks
  16. Jason

    File PIREP

    Is it possible for the user to create a pirep, with them being able to choose the dep airport and arr airport. I need something like this, so there does not have to be a long list of schedules, they choose the flights themselves.. I would like them to have control over their flight. Thanks
  17. Is there a way to check to see if a user is currently in flight? Like an if statement: if user is in flight do this else error: you are currently not in flight something like that??? Thanks
  18. Hey everyone, I decided to begin creating templates for phpVMS. I am offering this for a VERY low price (eg, like $2, but it can be negotiated later) for a custom template. Live preview of the template can be viewed for your benefit during the creation of the template, and can be changed to your likings. **You do not have to pay until the template is fully complete and you are satisfied with it! If you are interested please contact me through, or if you have any questions PhpVMS SimFlightGen - www.simflightgen.com (I am the CEO at SFG - Look for username Jason Email: Jason9@Live.com
  19. Thank you mark!! that works great
  20. Ok thanks I'll give that a try
  21. Do you meant he <head> section code that they give you?
  22. Im adding to a module that I AM making
  23. I am trying to add this to my admin panel: http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm (The example with dogs, cats and rabbits is the one i want to add) I need some help on where and how i can implement this into my site. I have tried it before, and only the basic html shows up, no effect. (eg where to place the .js files, and how to link the code to the .js ect..) Thanks
  24. doesn't seem to make a difference, it is still giving me a blank site when i add that
  25. I got it working!! All i had to do was define it in the index.php of the admin panel, and it works perfect!
×
×
  • Create New...