Jump to content

Problems With Update


flyalaska

Recommended Posts

  • Administrators

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.

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

  • Administrators

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..

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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 />";}
}
?>

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...