chrometweaks.org

How to check if a web iPage hosting service is legitimate?

Click Here To View All Answers...


First off, How to check if a web iPage hosting service is legitimate? Thanks in advance for any answer or 2. Second question of mine... Can anyone confirm that the latest version of oscommerce includes the who's online feautre where by it shows you what products the customer has in their shopping cart?.

Is that a standard feautre or is it an add-on ?

Comments (79)

I'm stumped. I'm not so sure what is the answer to your question. I'll do some investigation and get back to you if I bump into an anything. You should email the people at iPage as they probably could help you..

Comment #1

Some more information..

Please someone help me. it's not a hard question..

My first shop I had last year was the old version of oscommerce. I installed the whos online enhancement, which brings up more in depth info about whos online and shows you the contents of their shopping cart..

However when I installed the newest version of oscommerce a few weeks ago, and then installed the who's online enhancement, the contents of the users shopping cart doesn't appear anymore. I wondered if it was something to do with the fact that the database has been changed since the last release of oscommerce so the who's online add-on doesn't work anymore..

Any help would be appricated...

Comment #2

Here is the bit of code from the whos_online.php page that should make it display the contents of the shopping cart. (but it's not working, any one see a problem in this code for the latest version of oscommerce?).

<?php.

 $heading = array();.

 $contents = array();.

 if (isset($info)) {.

   $heading[] = array('text' => '<b>'TABLE_HEADING_SHOPPING_CART'</b>');.

   if (STORE_SESSIONS == 'mysql') {.

     $session_data = tep_db_query("select value from "TABLE_SESSIONS" WHERE sesskey = '"$info"'");.

     $session_data = tep_db_fetch_array($session_data);.

     $session_data = trim($session_data['value']);.

   } else {.

     if ( (file_exists(tep_session_save_path()'/sess_'$info)) && (filesize(tep_session_save_path()'/sess_'$info) > 0) ) {.

       $session_data = file(tep_session_save_path()'/sess_'$info);.

       $session_data = trim(implode('', $session_data));.

     }.

   }.

   if ($length = strlen($session_data)) {.

     if (PHP_VERSION < 4) {.

       $start_id = strpos($session_data, 'customer_id[==]s');.

       $start_cart = strpos($session_data, 'cart[==]o');.

       $start_currency = strpos($session_data, 'currency[==]s');.

       $start_country = strpos($session_data, 'customer_country_id[==]s');.

       $start_zone = strpos($session_data, 'customer_zone_id[==]s');.

     } else {.

       $start_id = strpos($session_data, 'customer_id|s');.

       $start_cart = strpos($session_data, 'cart|O');.

       $start_currency = strpos($session_data, 'currency|s');.

       $start_country = strpos($session_data, 'customer_country_id|s');.

       $start_zone = strpos($session_data, 'customer_zone_id|s');.

     }.

     for ($i=$start_cart; $i<$length; $i++) {.

       if ($session_data[$i] == '{') {.

         if (isset($tag)) {.

           $tag++;.

         } else {.

           $tag = 1;.

         }.

       } elseif ($session_data[$i] == '}') {.

         $tag;.

       } elseif ( (isset($tag)) && ($tag < 1) ) {.

         break;.

       }.

     }.

     $session_data_id = substr($session_data, $start_id, (strpos($session_data, ';', $start_id) - $start_id + 1));.

     $session_data_cart = substr($session_data, $start_cart, $i);.

     $session_data_currency = substr($session_data, $start_currency, (strpos($session_data, ';', $start_currency) - $start_currency + 1));.

     $session_data_country = substr($session_data, $start_country, (strpos($session_data, ';', $start_country) - $start_country + 1));.

     $session_data_zone = substr($session_data, $start_zone, (strpos($session_data, ';', $start_zone) - $start_zone + 1));.

     session_decode($session_data_id);.

     session_decode($session_data_currency);.

     session_decode($session_data_country);.

     session_decode($session_data_zone);.

     session_decode($session_data_cart);.

     if (PHP_VERSION < 4) {.

       $broken_cart = $cart;.

       $cart = new shoppingCart;.

       $cart->unserialize($broken_cart);.

     }.

     if (is_object($cart)) {.

       $products = $cart->get_products();.

       for ($i = 0, $n = sizeof($products); $i < $n; $i++) {.

         $contents[] = array('text' => $products[$i]['quantity']' x '$products[$i]['name']);.

       }.

       if (sizeof($products) > 0) {.

         $contents[] = array('text' => tep_draw_separator('pixel_black.gif', '100%', '1'));.

         $contents[] = array('align' => 'right', 'text'  => TEXT_SHOPPING_CART_SUBTOTAL' '$currencies->format($cart->show_total(), true, $currency));.

       } else {.

         $contents[] = array('text' => '&nbsp;');.

       }.

     }.

   }.

 }.

 if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {.

   echo '            <td width="25%" valign="top">'"\n";.

   $box = new box;.

   echo $box->infoBox($heading, $contents);.

   echo '            </td>'"\n";.

 }.

?>.

Here is a link to the contribution if anyone feels like helping me.

Http://www.oscommerc...ntributions,824..

Comment #3

Im really shocked no one has replied to my problem?!?.

Ok i'll make it really easy for you..

Can someone go to their latest version of oscommerce and goto their who's online feautre. and then tell me when someone appears in the list does it also show you the contents of their shopping cart ? .

Please, please, please, can someone help me...

Comment #4

I did the some as you did and loos the shoppingcart feature, after put the old version of Who's Online back stil no shoppingcart. So I supose the new database for the new Who's Online did overide the old one..

Question is, how do we get back this nice feature shoppingcart?..

Comment #5

Yes version 2.2MS2 does show what is in the shopping cart when looking at whois online in admin..

Comment #6

Oeps, time out.....

This post has been edited by.

John2b.

: 20 August 2004, 14:08..

Comment #7

When you look at Who's Online in ADMIN > Tools, you'll see the following information on users to your site:.

Who's Online.

Online ID, Full Name, IP Address, Entry Time, Last Click, Last URL.

Currently there are 0 customers online..

Comment #8

Can anyone confirm that the latest version of oscommerce includes the who's online feautre where by it shows you what products the customer has in their shopping cart?.

Is that a standard feautre or is it an add-on ?

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.