Jump to content

fsxsimulation

Members
  • Posts

    268
  • Joined

  • Last visited

Posts posted by fsxsimulation

  1. <?php
    $usersonline = StatsData::UsersOnline();
    $guestsonline = StatsData::GuestsOnline();
    
    ?>
    <?php
    				$shown = array();
    				foreach($usersonline as $pilot) 
    				{
    
    				if(in_array($pilot->pilotid, $shown))
    				continue;
    				else
    				$shown[] = $pilot->pilotid;
    		echo "<p>";
    echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; ?> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo $pilot->firstname . ' ' . $pilot->lastname;?></a><br /><?php echo "</p>";
    
    				}
    
    
    ?>
    <!--<p class="txt-red10"> Have <?php echo count($usersonline);?> Pilots Online.</p>-->
    <p><span class="txt-red10"> Have <?php echo count($guestsonline);?> Guests Online.</span></p>
    

    There you go, try that, it is edited so that you can click on the name and be taken to their profile.

    Thanks alot it works :) +1 to u.

  2. Waleed, I've just received another PM asking for help from you, I don't know if you missed this part of my post, but I've quoted it here just in case. I come to the forums to enjoy using it as a member, and to help out if I can sometimes. I'm not here to continually hold your hand every single time you are stuck on something. It gets more like coming to work logging in and seeing you asking for help every time. I come here to chill out not be harassed for help.

    ok .

  3. I helped him because he is putting some effort into building his website, and I would be willing to help anyone I could as long as I know they are putting some effort in themselves. I've asked for help myself when I've been stuck on things for my website, and been very grateful that someone took the time to assist.

    I came close to walking away from helping because I don't agree with the fact that he's knocking shoddy website after website out, the same as his VA's, but the very fact that he keeps trying is something that shows he's keen. I remember when I first got into web design a few years ago, and I was knocking sites out 10 a penny because it was the only way I was going to learn. Having said that though, I did keep them offline, and certainly didn't want to be attracting visitors to them.

    If Waleed could just see that by churning out VA after VA, with poor planning and little or no thought gone into the VA's execution, he is hurting his reputation and attracting pilots will always be a struggle for him (if not impossible). If Waleed wants to build site after site as part of a learning curve, then I think he's doing good.

    So Waleed, do yourself a favour, don't go advertising the VA or the site until you can honestly say they are ready for that stage. I mean really ready, and not the standard you have been using up until now. There is no rush to take your ideas online and seeking pilots, and if you do rush it, it will stand out a mile every time and definitely put people off. Rein in the enthusiasm, and put it to good use elsewhere. Planning is the key for any website, including VA websites. Planning is also the key to any successful VA. I suspect this honest advice will fall on deaf ears, as many have already said the same to you. If you don't take onboard all the advice offered to you by many, then you are letting yourself down much more than anyone else.

    Yes staurt you are absolutely right and yes this is true that i am making sites again and again because of a bit learning as I am a student. Opening/Deleting sites make me learn what i did wrong and what i did right.

    Now secondly staurt again you are right i am putting alot of effort on this website which i am making from the past 4-5 months i have not told anyone on this because i dont want to publicaly announce it and you all know the reason why. You must all have noticed i am not making any va because i have set my mind to make a good site and put alot of effort in it.

    Now , Staurt please help me with this problem that i posted earlier regarding my side bar pilots online thing.

    Thanks for your continuous support Staurt.

    Regards

    Waleed

  4. A bit more help please

    in my brilliance skin in my side bar at the pilots online area i am getting this error : Invalid arrgument supplied

    and here is my code;

     <div id="sidearea">
    
                                   <h2>Pilots Online</h2>
    
    <?php
    $shown = array();
    foreach($usersonline as $pilot)
    {
    
    if(in_array($pilot->pilotid, $shown))
    continue;
    else
    $shown[] = $pilot->pilotid;
    
    echo "<p>";
    echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';
    echo " {$pilot->firstname} {$pilot->lastname}<br />";
    echo "</p>";
    
    }
    
    ?>
    

  5. Stuart i am shocked you helped him till the end but this man is not favorable at all in this whole post you asked him to paste his website link but he has not given you the link thats becoz Mr Bird Virtual or Mr Waleed or Mr fsxsimulation is opening one more VA out of his 15 websites and dont wanted to tell anyone the link so his secret will open here that whose website is he copying this time this boy is of no use such a childish behavior and approach you will not succeed at all....... Keep opening the websites is never a solution ehhh cut the crap so many of our forum members given you lectures on this and you are on the same page and always be on the same page best of luck.

    Mr.Watson taking help is NO OFFENCE. This is a support forum! What is your problem?

  6. :lol:

    OK. Here's what I meant:

    </div>
    </div>
    <!-- Sidearea Ends -->
    
           <!-- Container Ends -->
           <!-- Footer Starts -->
    
    <div style="clear:both"></div>  <!-- ADD THIS HERE -->
                   <div id="footer">
                           <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p>
                           <p class="floatright"><a href="#">Utility</a>  |  <a href="#">Links</a>  |  <a href="#top">Back to Top</a></p>
                   </div>
           <!-- Footer Ends -->
           </div>
    <!-- Wrapper Ends -->
    </body>
    </html>

    ok but i dont have this in my stylesheet

    please tell me what to insert in style

  7. No they are not the problem, they are set to 100%, and will use 100% of the width of the container they are held in, that being the mainarea div, which is set to 600px.

    Thanks alot staurt but now my footer is not being displayed i couldnt understand your post after my solved post.

×
×
  • Create New...