
natcret
Members-
Posts
63 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by natcret
-
Thanks Keith. I am familiar with the core navigation item and I have set up the site to linit what folks see. What I am trying to do is just have a intro page of sorts that a person would not be able to continue withour registering. I guest the best example I could show would be Parkho's site: http://www.parkho.ir/ or the Virtual Amsterdam VA site http://www.amsterdamva.nl/ I want to clarify that I am not looking to mirror any of these sites in any way. I am just trying using the pages as an example and that the page I am thinking about creating would only have a login link and a register link somewhere on the page, and within the page itself maybe some info items or other things. But the page itself would be very basic. Regards
-
I was wondering if thre are examples out there of sites that use a different log in/registration interface with phpvms so that way guests or other are limited in what they see. I am familiar with re-arranging navigation items based on the vanilla crystal skin. However, what i want to try to do is have a single page that would show for the site, that would have the login just for va members and basic VA joining information. I just want to get some ideas on what is out there or what folks may have done as I am new to phpvms. I also wanted know if others have ever modified their registration_mainform.php file and was it a hard thing to do? Regards, Nat
-
In reference to the fleet list, coming from the default.
-
Using both but the length of the list seems to be coming from the default, or at least I think so. I also ran across this today. Anyway to shorten the number of pireps listed? http://flymirageva.org/phpvms/index.php/profile/view/5
-
Common file....help me to understand... I have done pretty good in trying to learn without asking for too much help but I still am not totally sure where certain files are located. Which common file would you be refering to?
-
Can't seem to find the answer for this one. On the Fleet Page (fleet_list.php) when you select an aircraft it then takes you to the Fleet View page (fleet_view.php). So when I view the particular aircraft, everything is fine, except that the number of rows under Schedule Flights is getting very long for specific aircraft. So, my question is: How do you limit the number of "Scheduled Flights" that are displayed on the Fleet View page? Currently, I have pages that are getting very long, so I have basically commented out the code in fleet_view.php file (about line 73) until I can figure this out. It is probably something easy to fix, but I can't find any reference in the forums. http://flymirageva.org/phpvms/index.php/fleet/view/9 Regards
-
Did a check and it works perfectly. I guess the PilotID item is inheirent to the phpvms programming itself as it is prevalent throughout the different websites I visited that are using phpvms when I was trying to troubleshoot. Thank you so much again!
-
Thank you very much! I will check on my end and let you know.
-
Here you go. Thank you very much <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php if(!$pilot) { echo '<h3>This pilot does not exist!</h3>'; return; } ?> <h3>Profile For <?php echo $pilot->firstname . ' ' . $pilot->lastname?></h3> <table> <tr> <td align="center" valign="top"> <?php if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png')) { echo 'No avatar'; } else { echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> '; } ?> <br /><br /> <img src="<?php echo $pilot->rankimage?>" alt="" /> </td> <td valign="top"> <ul> <li><strong>Pilot ID: </strong><?php echo $pilotcode ?></li> <li><strong>Rank: </strong><?php echo $pilot->rank;?></li> <li><strong>Total Flights: </strong><?php echo $pilot->totalflights?></li> <li><strong>Total Hours: </strong><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></li> <li><strong>Location: </strong> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo Countries::getCountryName($pilot->location);?> </li> <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field->value</li>"; } } ?> </ul> <p> <strong>Awards</strong> <?php if(is_array($allawards)) { ?> <ul> <?php foreach($allawards as $award) { /* To show the image: <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> */ ?> <li><?php echo $award->name ?></li> <?php } ?> </ul> <?php } ?> </p> </td> </tr> </table> <!-- Google Chart Implementation - OFC Replacement - simpilot --> <img src="<?php echo $chart_url ?>" alt="Pirep Chart" />
-
Can anyone please help me in figuring this out. I have gone to other sites and they have the same issue with the web address, however, the chart in the live map does not flatline. i can send my website links via PM. I am trying to figure it out but I am just stuck. Regards, Todd
-
Awards images showing but name & description not
natcret replied to ahughes3's topic in Support Forum
Disregard, figured it out. Profile_main.php -
This was a really great tip. Worked like a charm for me. One key hint for new folks (I am also) that I would to share is where he states above: var style = PASTESTYLEHERE This is where you PASTE the start of Javascript code (the initial LEFT BRACKET), i.e.: var style = [ Again, thanks for the tip!
-
Awards images showing but name & description not
natcret replied to ahughes3's topic in Support Forum
Just a quick question: This was under profile main? -
I am using the TIP version; Version 3.0 as posted via GitHub. I also checked there to validate the PopUpNews.php module was the same as what I had downloaded, as it relates to the public static function statements.
-
Quick question: Can searching the schedule by airline be accomplished with the skin, similar to what you see under the default crystal skin? Regards, Nat
-
I have actually tried both ways and combinations thereof with no luck. When I add static to the Data.class as outlined above, I get the following error: ( ! ) Fatal error: Using $this when not in object context in xxxxx\core\modules\PopUpNews\PopUpNews.php on line 33 Call Stack In the PopUpNews.php it also has two public static function already in place. When I remove "static" from those two lines, and keep static in the dataclass, i get the following error: ( ! ) Strict standards: Non-static method PopUpNews::PopUpNewsList() should not be called statically, assuming $this from incompatible context in xxxxx\lib\skins\crystaltest\frontpage_main.php on line 17
-
Using latest version that includes the "public static function" call in the PopUpNews.php file and still get the following error: ( ! ) Strict standards: Non-static method PopUpNewsData::popupnewsitem() should not be called statically in xxxxxxxx\core\modules\PopUpNews\PopUpNews.php on line 19 ( ! ) Fatal error: Using $this when not in object context in xxxxxxxx\core\modules\PopUpNews\PopUpNews.php on line 20 Could there also be an issue related to the dataclass file? Regards Nat
-
Were you able to take a look at the site?
-
Sent you a PM with the URL.
-
I have searched through the forums and I can't find anything related to Last 30 days pireps, specifically the Pilot Roster page pointing to one profile link and the Live Map pointing to another. Here is the scenario: If I look at the pilot roster and select a pilot, it shows the PIREPS for the past 30 days and the web address points to /phpvms/index.php/profile/view/2 This displays correctly. If I select the Live Map and click on the same pilot, the PIREP chart flatlines and the web address points to /phpvms/index.php/profile/view/CPA0002 I don't know why in the live map that the profile view would point to a different variation of the pilot number. Has anyone else come across this before? Regards
-
Was able to figure it out. Had a corrupted link address in the vstatscenter/index.php module.
-
Just got through installing the module to do some local testing and everything looks good. However, when i go to click on a pirep link or pilot link within the screen, I get the following error: " Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'vStatsCenter' does not have a method '%3c' in C:\wamp\www\core\classes\MainController.class.php on line218" I also get the same error when I install the script to live site: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'vStatsCenter' does not have a method '%3c' in/xxxx/xxxxx/xxxxxxxxx.org/phpvms/core/classes/MainController.class.php on line 218 The x's represent the entire url which seems really go back the initial root. Any ideas? Regards, Nat