-
Posts
87 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by dale0404
-
Irfan, thats cool mate, ty. I still have the repeating info boxes though, anyone any ideas. Btw, sorry for cross posting about this in other threads but things were already split.
-
Ok got it looking alot better without the repeating headers: Here is the new code: <div class="mc02"> <div class="mc0201"> Pilots </div> <div class="mc020203" style="width: 18px; height: 15px"> </div> <div class="mc0203"> <div class="mc0203"> <h3><?php echo $title?></h3> <div class="mcright"> <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</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'); */ ?> <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> <?php } ?> </tbody> </table> </div> You will see 2 areas in Bold and Red. Delete the '03' and the whole line that is in red. This is now the outcome: Now to get rid of the repeating info boxes and change the width of the columns so they align properly!
-
Sorry mate, I have no idea of which lines you are talking about, please point me in the right direction.
-
Have to ask because I am in Europe. Is there an IP I can ping so that I can see the latency times please?
-
And here is the whole code: <div class="mcright"> <div class="mc01"> <div class="mc0101" style="left: 0px; top: 0px"> <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_150.jpg" alt="" /> <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_153.jpg" alt="" /> <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_202.jpg" alt="" /> <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_205.jpg" alt="" /> <div class="mcr"> <div class="mcr01"> Pilot News </div> <div class="mcr02"> <script type="text/javascript"> // Highlighter Scroller II script- By JavaScript Kit (http://www.javascriptkit.com) // For this and over 400+ free scripts, visit http://www.javascriptkit.com/ // This notice must stay intact //CONFIGURE MESSAGES AND VARIABLES var tickercontents=new Array() //tickercontents[0]='Feel free to visit FsPaintShop for more skins <a href="http://www.fspaintshop.com" target="blank">Visit!</a>' //tickercontents[1]='Hop on over to Va Central some time.' //tickercontents[2]='Be sure to visit PHPVMS for support with this system' tickercontents[0]='Hope you are having a fine day!' var tickerwidth="300px" var tickerheight="25px" var fontcss="font: bold 10px Verdana; color:black" var tickdelay=4000 //delay btw messages var highlightspeed=2 //2 pixels at a time. var highlightcolor="white" var backdroptextcolor="#E1E1E1" ////Do not edit pass this line//////////////// document.write('<style>#highlighterbg a{color:'+backdroptextcolor+'}</style>') document.write('<div style="position:relative;left:0px;top:0px; width:'+tickerwidth+'; height:'+tickerheight+';'+fontcss+'">') document.write('<span id="highlighterbg" style="position:absolute;left:0;top:0;color:'+backdroptextcolor+'; width:'+tickerwidth+'; height:'+tickerheight+';padding: 4px"></span><span id="highlighter" style="position:absolute;left:0;top:0;clip:rect(auto auto auto 0px); background-color:'+highlightcolor+'; width:'+tickerwidth+';height:'+tickerheight+';padding: 4px"></span>') document.write('</div>') var currentmessage=0 var clipbottom=1 function changetickercontent(){ msgheight=clipbottom=crosstick.offsetHeight crosstick.style.clip="rect("+msgheight+"px auto auto 0px)" crosstickbg.innerHTML=tickercontents[currentmessage] crosstick.innerHTML=tickercontents[currentmessage] highlightmsg() } function highlightmsg(){ //var msgheight=crosstick.offsetHeight if (clipbottom>0){ clipbottom-=highlightspeed crosstick.style.clip="rect("+clipbottom+"px auto auto 0px)" beginclip=setTimeout("highlightmsg()",20) } else{ clipbottom=msgheight clearTimeout(beginclip) if (currentmessage==tickercontents.length-1) currentmessage=0 else currentmessage++ setTimeout("changetickercontent()",tickdelay) } } function start_ticking(){ crosstickbg=document.getElementById? document.getElementById("highlighterbg") : document.all.highlighterbg crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement if (parseInt(crosstick.offsetHeight)>0) crosstickParent.style.height=crosstick.offsetHeight+'px' else setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake changetickercontent() } if (document.all || document.getElementById) window.onload=start_ticking </script> </div> </div> </div> <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"> Important Information </div> <div class="mcl02"> When I have some it will go here! </div> </div> </div> </div> <div class="mc02"> <div class="mc0201"> Pilots </div> <div class="mc0202" style="width: 18px; height: 15px"> </div> <div class="mc0203"> <div class="mc020301"> <h3><?php echo $title?></h3> <div class="mcright"> <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</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'); */ ?> <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> <?php } ?> </tbody> </table> </div> Thanks for the help (hopefully) in advance.
-
USA001 I used your code above and this is what on my pilots list page now: Any ideas on how to fix it please?
-
I have read the first couple of posts so if I have missed something important after that I apologise but... I have just created Robin Hood Airlines and as I type this there is one member, me!! I am quite happy with that because before I want to get more members I want to make sure its a nice place to fly!
-
"Joey, have you ever been to a Turkish prison?" Funny, Funny, Funny.
-
For users to register to my site I had to update the following file: registration_mainform.tpl. Quote from Nabeel: That skin is not updated to 2.1, so you need to update it using the stock registration_mainform.tpl from /core/templates folder (copy it into your skin's folder). You might want to post in the topic for that skin asking for it to be updated
-
When I use this it always says that the starting airport is Compiègne-Margny (LFAD). I have changed location to EGLL but it still shows the same as above. Am I missing something that I need to do?
-
Cool mate, thanks for the info, I will add more flights!
-
I know mate and it very appreciated!
-
Rather than start a new thread I will put the question in here because I have seen how to fix what I am asking, I just cant remember where! Anyway, if you look at my sig it says I have flown 14 hours or so whereas in fact I have only flown just over 9 hours. How can I change the sig to reflect this please? Cheers Dale
-
Yep, its there mate but then I get this error: Warning: Invalid argument supplied for foreach() in /home/robinhoo/public_html/core/modules/RandomFlights/RandomFlights.php on line 30 Any ideas?
-
mark1million, thanks for the help but I have given Nabeel my login details etc and I have no problem with him going into the back end of my site at any time. In fact I welcome it. I do understand your concerns however. I apologise for all the questions but like I have stated before I really do not have a clue about this phpvms coding, I am learning slowly though!
-
I woke up this morning and I have the same problem. Where do I find this file, what is the path please?
-
OK then this is wierd! I wouldn't have minded if you had gone into my site mate because from what I have seen so far you are one of the most helpful people regarding hosting and fixing stuff I have ever dealt with. Ok, thats enough of that otherwise people will think you have paid me to say that! From when I change stuff to it actually showing up on the website how long does it take?
-
Peeps, I need to ask this. What exactly do bids do? How I approve them and why would I? I am only a 1 man VA so is that something to do with it?
-
Nabeel, I can see that you have altered some stuff on my site but could you see to it that you make things 'central' please?
-
Ok, I have been into the css but I cant quite understand which value I need to change and where!
-
Peeps, if you look at this page: http://www.robinhoodairlines.com/index.php/pages/fleet you will see that the info about the plane is at the bottom of the page. I think this is down to the width of the page. How do I alter it so that the info is shown as it should be?
-
Yep, cheers Nabeel. I looked in there earlier as well!
-
I have just logged into vacentral, no problems that I can see from my untrained eye!
-
Peeps, On my site: Robin Hood Airlines I have a scrolling banner across the page, it is part of the skin that I am using. The question is where do I find the text that it is displaying so that I can change it? Cheers Dale