Jump to content

Jason

Members
  • Content Count

    95
  • Joined

  • Last visited

Community Reputation

658 Excellent

About Jason

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

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

    Avatar Error

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

    Php question

    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
×
×
  • Create New...