
Aaron
Members-
Posts
184 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Aaron
-
Hi, I made an iframe for my events and forums. Is there a way to get rid of the scroll bar in the iframe and make it so the height of the iframe depends on the height of the page it's displaying. I'm trying to make it so the main theme is there throughout the whole site and am using allot of iframes, but I hate the stupid scroll bars in them. Thanks
-
fixed it added border: "0" to image tag
-
I fixed that and got rid of maps. The blue crap around it is still there tho. I also payed around with it and got the logo's where I want them. Any idea how to get rid of the blue?
-
I made an image map for the vatsim and vatcan logo's to link them to vatsim and vatcan. How do I get rid of the blue boarder around the images? How do I get the VATCAN image to allign on the right? Now that I put up the logo's, the pilot login thing in the banner has moved down under them a bunch, how do I fix it. I think it's all problems in the style.css but I've tryed my best and cant fix it. Heres what I have in the layout.tpl the style.css is mostly the same as it was default except for the navbar. <div id="body"> <div id="innerwrapper"> <div id="topBanner"> <img src="http://www.canforce.org/lib/skins/crystal/images/VATSIM.jpg" width="166" height="63" alt="vatsim" usemap="#vatsim" /> <map name="vatsim"> <area shape="rect" coords="0,0,166,63" href="http://www.vatsim.net" alt="vatsim" /> </map> <img src="http://www.canforce.org/lib/skins/crystal/images/VATCAN.jpg" width="158" height="62" alt="vatcan" usemap="#vatcan" /> <map name="vatcan"> <area shape="rect" coords="0,0,158,62" href="http://www.vatcan.org" alt="vatcan" /> </map> <div id="topLogin"> <?php if(Auth::LoggedIn() == true) { $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <strong>Pilot ID: </strong> <?php echo $pilotid ; ?> <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?> <?php } ?> </div> </div> <div id="topNav"> <ul class="nav">
-
how do I extend my navbar backround so it fills the whole top of the page? http://www.canforce.org/index.php
-
How do I make a menu that not in flash? can u send link to tutorial plz n thanks
-
figured it out. in the foreach ($usersonline as $pilot), the 's' was missing. It works now.
-
This is what I tryed, but it doesn't work properly. <?php if ($usersonline=="0") { ?> echo "There are no users currently online" <?php } else foreach($useronline as $pilot) { ?> <p><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a></p> <?php } ?> <?php echo count($guestsonline);?> guest(s) online in the past <?php echo Config::Get('USERS_ONLINE_TIME')?> minutes.</i></p>
-
also, it seems to disapear longer if you click and move your mouse away before it comes back.
-
my navbar keeps disapeering when I go to another page, then it reapears. Its like it has to reload the navbar at every page and it takes a second. It also does it in the pilot center sidebar. Check ut this link, http://www.canforce.org/index.php and if you navigate to another page, the navbar will disapear for maybe 3-5 seconds and it like reloads. Here's the code from my core_navbar.tpl and it is similar to the code for my pilot center sidebar as well: <html> <body> <?php if(Auth::LoggedIn()) { ?> <object id="fm_menu_navbar" width="969px" height="27px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"> <param name="movie" value="http://www.canforce.org/core/templates/navbar.swf" /><param name="quality" value="high" /> <param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /> <param name="scale" value="exactfit" /><param name="menu" value="false" /> <param name="AllowScriptAccess" value="always" /> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="969px" height="27px" bgcolor="#000000" wmode="transparent" src="navbar.swf" quality="high" scale="exactfit" menu="false" allowscriptaccess="always"/> </object> <?php } ?> <?php if(!Auth::LoggedIn()) { ?> <object id="fm_menu__navbar" width="969px" height="27px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"> <param name="movie" value="http://www.canforce.org/core/templates/!navbar.swf" /><param name="quality" value="high" /> <param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /> <param name="scale" value="exactfit" /><param name="menu" value="false" /> <param name="AllowScriptAccess" value="always" /> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="969px" height="27px" bgcolor="#000000" wmode="transparent" src="!navbar.swf" quality="high" scale="exactfit" menu="false" allowscriptaccess="always"/> </object> <?php } ?> </body> </html> Also, I don't want an admin navbar, I put the admin panel in their pilot center and the if statement seems to be working, just very slow. thanks for any help
-
which link? also I just about to post a topic asking for help because the navbar disapeers and then comes back a couple seconds later when switch page. Also, the pilot center sidebar isn't showing up in my CI's google chrome, but it is when he uses IE.
-
Does someone have the code to display the names and/or callsigns of users logged on the site. Thanks
-
Disable initial auto-generation of pilot IDs?
Aaron replied to citizengodden's topic in Support Forum
It was originally like that for me, nobody got ID's until accepted. I played with some settings but now it gives them out automatically, idk what happened. -
After making an .swf file for unregistered, regular users and admins, go in the core_navigation.tpl and create 3 if..then statements to display each one. Under each if statement, there needs to be an HTML Object. It's hard because you have to play around with the if statements and the <?php ?> things to separate the php and html stuff.
-
Where do I put this code? Now I get how to make a clickspot, but where do I put the code? I looked in the layout.tpl and style.css which one should it go in and where should it go?
-
I want to make a clickspot or whatever on my banner. I have the VATSIM logo on my banner and need to make it so that when clicked it links to vatsim.net
-
How do I make a hotspot on the header that links to somewhere. Specifically, I have the VATSIM logo on my header, and want to make a clickspot so it links to www.vatsim.org when clicked. I know how to do it in dreamweaver, but I'm not able to use dreamweaver. I have no clue what code to put in where, plz help.
-
still goes to "newhire" any ideas?
-
What do I do after I make the .swf file? I uploaded it into the same folder as core_navigation.tpl and deleted the whole thing and pasted the code that it gave me into there, but it didn't work. It didn't give an error when I load the site, just nothing there.
-
Also, I changed a pilots ID to CFC101 but new users still are assigned CFC004, CFC005...
-
If I make the ID Offset 100, CFC001 turns to CFC101, and I tryed puting in -99 to see if that works (100-99=CFC001) but I get an error. If theres a way to change the starting ID that isn't the offset can you please tell me how.
-
I think I know whats wrong now. The rank ID I want to be default is set to "2" and there is no "1". Ill fix it and see if it works.