flyalaska Posted January 20, 2010 Report Share Posted January 20, 2010 Besides the map not showing, I have a few other problems since the new update. Flight Bids not working on IE, now not on Fire Fox Pop Up login not working Users Online only shows on the users when on the index page. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 Try the "add to bids" funtion fix I posted here -> http://forum.phpvms.net/index.php?topic=1994.0 Users online is only standard on the index page. If you are using the listing on other pages you must include -> <?php $usersonline = StatsData::UsersOnline(); ?> prior to using the listing. Sorry, not sure what you mean by the popup login, if you can link me or point me in th right direction I will try to take a look. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 I tried the above for the bid, didn't work. When I mean pop up login, when you click the loging link you get a pop up box with the login form. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 In your core_htmlhead.tpl file, replace this line:; <!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>--> <script type="text/javascript" src="http://www.flyaka.com/lib/js/jquery-front.js"></script> <script type="text/javascript" src="http://www.flyaka.com/lib/js/phpvms.js"></script> (The jquery-front.js file will be something like "echo $cachefile": With: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery-ui.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> That's from the next beta, let see if that helps Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 hmmm, the add to bid is working with that code in both IE8 and FF for me without any issues, it even brings up the "already in bids" if you hit it more than once. I am guessing that the popup login is something using javascript that was added after the original install, almost sounds like it may be suffering the from the same issue as the javascript for the map and add to bids...... maybe it is the cause of the issue and is conflict with the newer phpvms coding.. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 no it didn't Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 no it didnt what? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 No it didn't work from Nabeels code above. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 Have you tried moving the schedule_results.tpl file from the core/templates folder to your skin folder temporarily to see if the add to bid function works. I think it is something in the javascript on your site, I have it working on a number of sites without any issues. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 That's how I have the code for the users. With the <?php $usersonline = StatsData::UsersOnline(); ?> in there already. <?php /* $usersonline also has the list of users - really simple example Or if you're not on the frontpage: [b] $usersonline = StatsData::UsersOnline();[/b] foreach($usersonline as $pilot) { echo "{$pilot->firstname} {$pilot->lastname}<br />"; } */ ?> <?php /* $usersonline also has the list of users - really simple example Or if you're not on the frontpage: $usersonline = StatsData::UsersOnline(); */ if (!$usersonline) { } else { foreach($usersonline as $pilot) {echo "{$pilot->firstname} {$pilot->lastname}<br />";} } ?> Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 Have you tried moving the schedule_results.tpl file from the core/templates folder to your skin folder temporarily to see if the add to bid function works. I think it is something in the javascript on your site, I have it working on a number of sites without any issues. It was already on my skin. I use buttons for the "BID" so I have the tpl already moved to the skins Quote Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 20, 2010 Report Share Posted January 20, 2010 do you mean http auth for the pop up login? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 I had something similar to this http://jlvirtual.x10hosting.com//index.php click on the login button on the top. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 I have found the problem. I did new install on my other domain. I used the default skin. That map worked fine. Once I uploaded my currant skin, It went back to the same problem. So the problem is somewhere in my skin. I am guessing the skin and the new update are not compatible. Thanks for the help. Sorry to cause such a pain. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 Yes, and always use the default core_htmlhead.tpl file, I made a new in that for the next udpate Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 Yes, and always use the default core_htmlhead.tpl file, I made a new in that for the next udpate I am using the default core_htmlhead.tpl file Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 Then there's something else going on. Switch to crystal, if it works there, then you have to revert every template in your skin one by one until you find out which one it is which is breaking things Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 20, 2010 Author Report Share Posted January 20, 2010 The map and bids work in Crystal. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 Then you have to revert each template one-by-one until you know which one is causing trouble, and then rebuild that template Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.