Jump to content

BBuchanan

Members
  • Posts

    96
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Arizona

Recent Profile Visitors

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

BBuchanan's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I'm running a combination of things. Not to bad mouth Dafsim, but... He used the same software base as vatsim and ivao. Developed a poor gui for it and pushed it out the door. Once people realized how bad it was, they dropped it faster than Vabase (joking of course). But it was bad. If you look at the forums for dafsim, no one knows how to use it, and the poor soul that does, get bombed with emails and questions. I'm just like SimPilot. I've had better luck running a setup from Apollo III. But I've had luck with Dafsim as well. I prefer the stuff from Apollo III because its more of a community of people asking and getting help. Those of us that have had success are sharing what we know.
  2. This post wasn't meant as a start to an argument. If you wish to speak to me in regards to how I treat software, then pm or email me. By replying to my post, you have since flamed me over a choice. I expected professionals on these forums.
  3. Hey guys, I'm not a big skinner, nor a coder. I needed something basic for my website, however, I felt that someone else out there might want to have some fun with it. Screen shots will follow. Most of the style editing had to be done in the layout file (told you I'm not a coder). When you unzip it, there's an added folder called extras. You'll find a blank logo png and psd. Also, please edit the layout at the very bottom (this way the footer is correct for your site). Edit: Thanks to Roger over at FSPaintShop, I was able to put in the pilot center from his ObsessBlue skin. Thanks Roger. Edit the Edit: Corrected to FSPaintShop. Sorry about the typo. Pre-Login Previous-Login New Post-Login: Gotta add a link to get it: bigredone v1.2
  4. Guess the next thing to ask is, what is: <?php echo $page_content; ?> How does that differ from running the news? (by the way, I don't even know the code to pull the news)
  5. Haha, found that this works (yes, I stripped it) removed: <li></li> this way I could see only the php coding, then my outcome to get it arranged: <a href="<?php echo url('/'); ?>">home</a> <a href="<?php echo url('/acars') ?>">Live Map</a> <?php echo $MODULE_NAV_INC;?> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <a href="<?php echo url('/login'); ?>">Login</a> <a href="<?php echo url('/registration'); ?>">Register</a> <?php } else { // Show these items only if they are logged in ?> <a href="<?php echo url('/profile'); ?>">Pilot Center</a> <?php } ?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<a href="'.fileurl('/admin').'">Admin Center</a>'; } ?> <a href="<?php echo url('/logout'); ?>">Log Out</a> <?php } ?>
  6. Would someone be kind enough, to help me out. All my tries to move: <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <a href="<?php echo url('/login'); ?>">Login</a> <a href="<?php echo url('/registration'); ?>">Register</a> has all ended up the same way. I even checked the documents and started with a blank layout.tpl file (the example listed there). This way I'd know that it wasn't another file that might have been causing it. Well, at least not from the layout. What I'm looking to do, is have the navigation as: Home Pilots Live Map (space for skin) Login (or if already logged in, the other stuff) Register
  7. Dropping kAcars due to the failure rate with Windows 7.
  8. Everytime I try to move the <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>">Login</a></li> <li><a href="<?php echo url('/registration'); ?>">Register</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li> <?php } ?> I get: Parse error: parse error in .....\core_navigation.tpl on line 113 which is <?php } ?> Which, if I remove said line, I get it at line 111, which of course is the end of the file. I want to move it below the main navigation, ie. Home, Pilots, Live Map, etc
  9. The original site isn't, however, the skin is still here ( removed from the forums).
  10. Ok, I see why you had me look at that. And I appreciate the help that I'm getting :-) That sql code, can it be put into a class file? Or should it just be labeled whatever.class.php or .tpl?
  11. Ok, is the .tpl files the seperation? Edit: Is there a class or function that's cleaner than pulling direct sql?
  12. I'm not one to do scripting, so if I could get some help, would be great. I'll ask questions regarding what I'm doing in this post. First off, how is a module created that shows up in the admin area as well as frontpage? Next, how can I show only 1 of each of the aicraft in the fleet on a page? edit: All this is going to be in the same module
  13. I suggested this post be removed because the code itself was never released. So, as far as phpvms forums goes, since there's nothing here other than talk about it, this post is just empty space. I don't mean to be rude about it, but why have a post in releases if nothing was released. I'm saying delete, so that no one else stumbles along and thinks that someone other than the dev might have it, get their hopes up and waste their time searching for, in all truth, nothing.
  14. If you have access to phpmyadmin, do this -> Ensure you have at least 1 of each of the aircraft you want Goto the phpvms_aircraft table Select export it should download a file called phpvms_aircraft.sql Open it with Notepad (I prefer Notepad++) Should look similar to: CREATE TABLE IF NOT EXISTS `phpvms_aircraft` ( `id` int(11) NOT NULL auto_increment, `icao` varchar(4) NOT NULL default '', `name` varchar(12) NOT NULL default '', `fullname` varchar(50) NOT NULL default '', `registration` varchar(30) NOT NULL, `downloadlink` text NOT NULL, `imagelink` text NOT NULL, `range` varchar(15) NOT NULL default '0', `weight` varchar(15) NOT NULL default '0', `cruise` varchar(15) NOT NULL default '0', `maxpax` float NOT NULL default '0', `maxcargo` float NOT NULL default '0', `minrank` int(11) NOT NULL default '0', `ranklevel` int(11) NOT NULL default '0', `enabled` smallint(6) NOT NULL default '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=75 ; -- -- Dumping data for table `phpvms_aircraft` -- INSERT INTO `phpvms_aircraft` (`id`, `icao`, `name`, `fullname`, `registration`, `downloadlink`, `imagelink`, `range`, `weight`, `cruise`, `maxpax`, `maxcargo`, `minrank`, `ranklevel`, `enabled`) VALUES (1, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (2, 'B06', 'KIOWA OH-58', 'Bell Kiowa OH-58', '31010', '', '', '481 km', '1583', '102', 2, 1500, 9, 4, 1); Mind you I've edited some of the code for sanity reasons... Copy the first line, paste it below the second line. Make sure you paste it enough times to ensure you have enough of that aircraft So, if I wanted 3 H500's INSERT INTO `phpvms_aircraft` (`id`, `icao`, `name`, `fullname`, `registration`, `downloadlink`, `imagelink`, `range`, `weight`, `cruise`, `maxpax`, `maxcargo`, `minrank`, `ranklevel`, `enabled`) VALUES (1, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (2, 'B06', 'KIOWA OH-58', 'Bell Kiowa OH-58', '31010', '', '', '481 km', '1583', '102', 2, 1500, 9, 4, 1); (1, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (1, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), Make sure to change the extra 1's or you'll get an error. Also, change the registration (in my case 444) INSERT INTO `phpvms_aircraft` (`id`, `icao`, `name`, `fullname`, `registration`, `downloadlink`, `imagelink`, `range`, `weight`, `cruise`, `maxpax`, `maxcargo`, `minrank`, `ranklevel`, `enabled`) VALUES (1, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (2, 'B06', 'KIOWA OH-58', 'Bell Kiowa OH-58', '31010', '', '', '481 km', '1583', '102', 2, 1500, 9, 4, 1); (3, 'H500', 'AH-6F', 'MD Little Bird', '434', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (4, 'H500', 'AH-6F', 'MD Little Bird', '424', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), Now, do the same with the second aircraft. lastly, make sure the last line has ; after the ) otherwise it could cause problems. Also make sure to start where your database leaves off, so if the last aircraft in the database is 70, then INSERT INTO `phpvms_aircraft` (`id`, `icao`, `name`, `fullname`, `registration`, `downloadlink`, `imagelink`, `range`, `weight`, `cruise`, `maxpax`, `maxcargo`, `minrank`, `ranklevel`, `enabled`) VALUES (71, 'H500', 'AH-6F', 'MD Little Bird', '444', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (72, 'B06', 'KIOWA OH-58', 'Bell Kiowa OH-58', '31010', '', '', '481 km', '1583', '102', 2, 1500, 9, 4, 1), (73, 'H500', 'AH-6F', 'MD Little Bird', '434', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1), (74, 'H500', 'AH-6F', 'MD Little Bird', '424', '', '', '232 nm', '1591 lbs', '135 kn', 6, 1509, 9, 4, 1); Go back to phpmyadmin, select the phpvms_aircraft table, then the SQL tab, copy from INSERT all the way to ; Click go, and it'll tell you either error or success. Good luck, hope it helps.
×
×
  • Create New...