Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. You could even use Sim Pilots add on for the Exam Center and modify that for your needs
  2. HI, You can use windows 7 to repartition your existing drive, install windows XP to that new partition and you have a dual boot system keeping your existing os intact.
  3. Thats just plain and clear disrespect for Nabeel and all his hard work. Im sure it would be raised in the forums here as it has been in the past and any help that person thought they could get were given the cold shoulder. Its just disrespectful seeing as this has all been developed and offered free by Nabeel, all he asks is the powered by phpvms and a back link to his site. Ill get off my soap box now.
  4. Failing that you can always use the forgot password and the system will set a new one and send it out to your email.
  5. Its OK on my server, are you on a free host?
  6. Just seen your site David, unbelievable like the virtual airline is a threat. Sorry mate.

  7. @ Wallace, you do have schedules in your system?
  8. Nabeel, Is there an easy way i can send to twitter the recent pireps feed as it does in VA central?
  9. Do you remember your login details? Go here, http://52387118.de.strato-hosting.eu/fsxva/index.php/login try to get in with your registered details Its not reading your style sheet for some reason, what i would suggest is to re upload your files. You can also do a http://52387118.de.strato-hosting.eu/fsxva/install/checkinstall.php and http://52387118.de.strato-hosting.eu/fsxva/install/checkdb.php Something clearly isnt right run this and put in your details again, http://52387118.de.strato-hosting.eu/fsxva/install/install.php
  10. OK so i have something very crude working here, just got to figure out how to put the pilot details next to the images. For anyone who has a bit more experience here is the code below, <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ ?> <table width="100%"> <tr> <td width="50%"><h3>Screenshot Gallery</h3></td> <td width="50%" align="right"> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<form method="link" action="'.SITE_URL.'/index.php/screenshots/approval_list"> <input class="mail" type="submit" value="Screenshot Approval List"></form><br />'; } echo '<form method="link" action="'.SITE_URL.'/index.php/screenshots/upload"> <input class="mail" type="submit" value="Upload A New Screenshot"></form></td>'; } else { echo 'Login to rate or upload screenshots.'; } ?> </tr> </table> <hr /> <?php //max displayed per page $per_page = 12; //get start variable $start = $_GET['start']; //count records $record_count = mysql_num_rows(mysql_query("SELECT * FROM screenshots")); //count max pages $max_pages = $record_count / $per_page; //may come out as decimal if (!$start) $start = 0; //display data $get = mysql_query("SELECT * FROM screenshots LIMIT $start, $per_page"); while ($row = mysql_fetch_assoc($get)) { // get data $image = $row['id']; $pilot = $row['pilot_id']; echo "<table width 400px>"; echo "<tr>"; echo "<td><img src =\"../pics/" . $row['file_name']."\" width=\"400px\"></td>"; echo "<td>This is where the pilot info will go</td>"; echo "</tr>"; echo "</table>"; } //setup prev and next variables $prev = $start - $per_page; $next = $start + $per_page; //show prev button if (!($start<=0)) echo "<a href='?start=$prev'>Prev</a> "; //show page numbers //set variable for first page $i=1; for ($x=0;$x<$record_count;$x=$x+$per_page) { if ($start!=$x) echo " <a href='?start=$x'>$i</a> "; else echo " <a href='?start=$x'><b>$i</b></a> "; $i++; } //show next button if (!($start>=$record_count-$per_page)) echo " <a href='?start=$next'>Next</a>"; ?> <center> <br /><br />
  11. Dave, I have been messing about with this but i just cant seem to get anything to work, this is what i have so far. Pastbin. I would be greatful if you have the time to have a look, Thanks OK so now i have a bit more progress. new pasetbin code updated
  12. Hi if i remember right you can define it within the ini that the pilot is downloaded, there is a file you can modify in vms. Im not at my PC now cant remember off the top of my head which one it is.
  13. Have you tried to include the codon config with the actual path not a url. Example my test server the include path is, <?php include_once'/srv/www/directory_name/public_html/core/codon.config.php';?> Just a thought.
  14. Have you tried putting in the full url? I know its a pain but that may sort your problem out, or you can always use <a href="<?php echo SITE_URL ?>/index.php/profile">Pilot Center</a>
  15. Try now lol, I changed the multiplayer host port number and forgot to open up on the server
  16. Thanks Jeff Nice work around, thats one more thing added to the list to update once an update has been done Too many updates in that sentence there...
  17. Well its up to you guys, I have the server running it. It is on a dynamic ipaddress the ip can change every now and again, thats why i have an i frame in the pilots profile page with the details which immediately updates of the address changes.. The offer is there if anyone wants to use it.
  18. Like an fshost server, our VA currently does run one but its never used. Good idea though.
  19. Yeh thats what we use to display from Vatsim, we have used it on another server and embedded it in to the tpl either as embed object or iframe cant remember off the top of my head now. But yeh its real easy to get what you want to display.
  20. HI guys, I know it is in here somewhere bit i cant find it, i want to prevent non approved pireps and pilots appearing in the recent pireps and pilots listings until they are approved, can some one point me in the right direction of the post, Cheers.
  21. Hi Dave, sorry to pester but did you have chance to look?
  22. Thanks got it, The problem was capitalisation Example Scotland needed to be SCOTLAND. All sorted now.
  23. HI Nabeel, I have the location and flags displayed on a page, i have a member from Wales registered, the flag is displayed but the name is blank, where is the file or table i need to update please? screen shot attached,
×
×
  • Create New...