Jump to content

mark1million

Moderators
  • Posts

    2284
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Add that closing div to that i posted earlier in the loop
  2. Also, <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> Add a </div>as above in that code
  3. <div class="mc0102"> <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_155.jpg" alt="" /> <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_157.jpg" alt="" /> <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_207.jpg" alt="" /> <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_209.jpg" alt="" /> <div class="mcl"> <div class="mcl01"> Other Content </div> <div class="mcl02"> Put what you want here. </div> </div> </div> </div> <div class="mc02"> <div class="mc0201"> The Crew </div> <div class="mc0202" style="width: 18px; height: 15px"> </div> <div class="mc0203"> <div class="mc020301"> <h3><?php echo $title?></h3> Try removing one or two of those closing divs line 12 13 14 15 in the code above
  4. Just had a look at your site are you including that template? the page seems to be replicated, can you post your code for the pilots_list.tpl
  5. Can you post a pic as an example? I posted up th thread about a closing div in the loop, have you tried that?
  6. Ah got you, just edit the navigation.tpl and add it there. Its teh core_navigation.tpl and the format would be <li><a href="<?php echo url('/Downloads') ?>">Download Center</a></li>
  7. 1st problem add the form in the mcright div so, at the top <div class="mcright"> and close the div at the bottom. Second problem add some more closing divs till its right at the bottom of the tpl.
  8. The easiest way would be to add the link as news from the admin section to where you want it.
  9. This idiot has now resulted in using my contact me form on my VA. What a complete ****. Still the delete button is near by
  10. Im liking the look of that.... a lot!
  11. Mod your /core/cache folder to 777 permissions
  12. How strange is that, i have just done it again and its populated, it could be something to do with the time though, last night it was23:45 when i tried today its 11:04, ill let you know when it get to 13:00 if it still works.
  13. Hi, It looks looke you are adding this via the add page in the admin section, just add the code in to the frontpage_main,tpl, when i tried earlier nothing was displayed in the table ill have another look at it again because like the post says its great eye candy
  14. No not the schedules, that can be limited already but its the pilots pireps, pilot_public_profile.tpl and pireps_viewall.tpl that would be excellent if that could be implemented as some of my pilots have loads of reports and the page is getting longer and longer .
  15. Excellent Nabeel, i have some code i can implement where i want it but on an update it will be messed up, it would be much better if it comes from your end like the admin currently is then its fully supported on future releases.
  16. I use gallery 3 but i suppose you could insert the username and password in to that database just the same as the forum account but it would probably be easier. I have not integrated yet as i use gallery 3 for my personal use, theres a thought though as an image gallery
  17. Excellent, I spent hours of head banging to get mine right
  18. Thank you Dave, thats just what im after. Top man, to the rescue again
  19. OK so at the top of the pilots.tpl you have this, <div class="mcright"> <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> That will sort our your footer when you dont have a pilot listed at a hub
  20. Hang on ill post the code, give me 5 minutes
  21. Nabeel, i have a pilots list currently displayed in the va stats, listed i have all the countries displaying the flag and location in a table (for anyone else this is the code)Page in action <?php echo '<td align="center" width="250px" valign="top">'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<th width="150px"><div align="left">Country Location</div></th>'; echo '<th width="100px"><div align="center">Pilots</div></th>'; $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY LOCATION'); foreach($country_info as $country) { echo '<tr>'; echo '<td align= "left">'; echo '<img src="'.Countries::getCountryImage($country->location).'" /> '; echo Countries::getCountryName($country->location); echo '</td>'; echo '<td align="center">'; echo ' ('.$country->total.')'; echo '</td>'; echo '</tr>'; } echo '</table>'; ?> Now my question is how can i split this display in to four columns as the one long list looks a bit odd, hope you know what i mean Thanks
  22. Once a pirep is filed certain things happen on vms, one of the things is to regenerate the pilots signature, there would be a lot of resources taken up i think to display the phases
  23. About a year back that was capable you could put in a hub and have all flights displayed on the map but the code was edited to show what we now have routemap, im sure its possible but may take some thinking on.
  24. Off the top of my head you can increase the varchar limit in the database and also look in to the tpl see if a limit has been placed in to that field.
  25. Hi everyone, I have been looking about to use Pagination for my pilots pirep pages as some are now getting quite long, i have come across a few but does anyone have experience with integrating in to phpvms, your ideas and thoughts would be welcome Cheers.
×
×
  • Create New...