Jump to content

Jon

Members
  • Posts

    253
  • Joined

  • Last visited

Everything posted by Jon

  1. Would of been good this time yesterday for me, but I worked it out then. Nice Work, Jon
  2. Inside the div tag for that area put the code you want for example: The screenshot centre is installed and i want it to show a random screenshot: <div id="leftcontent"></div> <table width="247" height="61" border="1" bordercolor="#000000"> <tr> <td bordercolor="#000000"><div align="center"><?php Screenshots::show_random_screenshot(); ?></div></td> </tr> </table> </div> That would show: Or if you wanted to just put something like a bit of text: <div id="leftcontent"></div> <table width="247" height="61" border="1" bordercolor="#000000"> <tr> <td bordercolor="#000000"><div align="center">Our Virtual airline is amazing,wait until you join us!</div></td> </tr> </table> </div> Hope this helps: Jon
  3. Jon

    Great Support

    No School For me at the moment but yeah I do agree with you the service is great Jon
  4. Jon

    Great Support

    No Problem mate, I wouldn't of got my skins and coding going well if it wasn't for this great community Jon
  5. I believe it's just change # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 15); To: # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 30);
  6. Change whatever's there for dollars and overwrite it with: Config::Set('MONEY_UNIT', '£'); Jon
  7. In your core/local.config.php edit this line: Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID To however many numbers you want, so in you case it would be: Config::Set('PILOTID_LENGTH', 3); # Length of the Pilot ID Jon P.s. Make a backup og your local.config.php file before editing
  8. Jon

    Pilot Roster

    Oh ok, so you want a tick for poeple who have a vatsim id and a cross or those who don't and then no hubs?
  9. Jon

    Pilot Roster

    This is What I Use. Look Here Just added a few php functions to the orginal code IS that what you want~? If Yes then it's: <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>Active/Inactive</th> <th>VATSIM ID</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <td> <?php if($userinfo->retired == '1') echo "Retired"; else echo "Active";?></td> <td><?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?></td> <?php } ?> </tbody> </table> Remember you need to put this into your chosen skins folder so you don't overwrite the original file. Regards, Jon
  10. Ok, all working thanks for that
  11. So it'd be <?php class East extends CodonModule { public function index() { $this->render('east_region.tpl'); } } ?> ?
  12. Jon

    Site stretching

    I can cofirm It is removed will try it again in a min
  13. I have been making some modules for the site www.usaflightclub.com however, even though my code is in the right place etc.The modules won't show just getting a "Te Module ____ Doesn't exisit@ My modules code for example: <?php class east extends CodonModule { public function index() { Template::Show('east_region.tpl'); } } ?> You Help is most welcome, Thanks, Jon
  14. If you install them into the same MySQL database with the same table prefixes I gues it should work. Jon
  15. Jon

    Site stretching

    Thanks for that, will get it done now, Jon
  16. Jon

    Question About Kacars

    Thanks for that
  17. In the free version there is a "Charter flight"tickbox. Is there one in the basic customised Kacars? Jon
  18. Jon

    Skin

    Check Your PM's mate Jon
  19. Jon

    Skin Needed

    \Check Your E-mail Mate Jonathan
  20. Just create three diferent css rules. or example on my site I have two collums so i have: <div id="banner"></div> <div id="body"> <div id="left"></div> <div id="right"> <? echo $page_content; ?> </div> And then for my css file #wrapper #body #left { width: 200px; height: 500px; float: left; background-color: #888686; background-image: url(http://websiteupgradges.leavirtual.com/lib/skins/LEAV/images/img_240.jpg); background-repeat: no-repeat; } #wrapper #body #right { height: 500px; width: 600px; float: right; } Then put the info you want inside the div tags so on my right i wanted the page content: <div id="right"> <? echo $page_content; ?> </div> Then, say I wanted to have popupnews by simpilot on the left: <div id="left"> <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder PopUpNews::PopUpNewsList(5); ?> </div> Hope This Helps Jon
  21. Jon

    First Skin Work

    Well, after a lot of work with help from Tom, I've got my first skin created and nearly finished. This won't be a release not even a beta but I'll make some skins for the community to return the favour. TO DO: Add a right hand panel Code In Admin Panel Dropdown Modules On Front Page Jon
  22. http://websiteupgradges.leavirtual.com/index.php There you go the Mystic Cloth Lgo IS Where the logo would go I was Follwing A Tutorial. You can look at my layout.tpl HERE Jon
  23. I Just Get: (Attached) Jon
  24. If I Gave You This Then What bits would i need to remove from the HTML? http://pastebin.com/MZPdA9jb Thanks Again Jon
  25. Ok, thanks for that, when my freind gets back to me I can see how it works. (few New Skins In The Making For PHPVMS Community ) Thanks Again Jon
×
×
  • Create New...