Jump to content


  • Content count

  • Joined

  • Last visited

About cbx040

  • Birthday 10/16/1969

Profile Information

  • Real Name
  • Location
    Northamptonshire, UK
  • Website
  1. cbx040

    Cool Flash Carousel Menu

    Search could have been your friend again, also reading the whole thread. But anyway I remember someone else having this problem and they said it was the product name having non alphabet characters in. Looking at your xml file, you have 2 products with <em> and </em> in If you edit the product names and take out the <em> and </em> the I think it should work correctly. Both the products were tracpacs.
  2. cbx040

    Cool Flash Carousel Menu

    Further to to my previous post I have made some progress. There is a conflict with the cool menu contrib I am using. If I switch back to the default osc menu then everything works fine. Is anyone else using cool menu and this contrib?
  3. cbx040

    Cool Flash Carousel Menu

    I tried your site in Firefox 3.0.5 with that latest flash and it works great!
  4. cbx040

    Cool Flash Carousel Menu

    Search is your friend from 2 pages ago
  5. cbx040

    Cool Flash Carousel Menu

    I installed this on my test shop and it works great. I have installed it on a live shop and the following happens. 1. Firefox 3.0.5 The page loads perfectly and at the bottom of the screen on the left hand corner it says "Read www." then the site name. 2. IE 7 The page loads without showing the carousel and then reloads continuously until IE crashes. Sometimes after about 12 reloads the page is displayed correctly. Any ideas?
  6. cbx040

    Enable PayPal Express Checkout, quick question

    This function needs to be added to /includes/classes/payment.php function checkout_initialization_method() { $initialize_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled && method_exists($GLOBALS[$class], 'checkout_initialization_method')) { $initialize_array[] = $GLOBALS[$class]->checkout_initialization_method(); } } } return $initialize_array; }
  7. cbx040

    [contribution] Tracking Module

    Hi Chris, Thank you for a great contribution. I changed my database using mysql, which hopefully will help someone Remember to backup your database first! UPDATE orders_status_history SET `tracking_id`= CONCAT(`pf_tracking_id`, '|pf') where `pf_tracking_id` != ''; UPDATE orders_status_history SET `tracking_id`= CONCAT(`rm_tracking_id`, '|rm') where `rm_tracking_id` != ''; Then I deleted the rm_tracking_id and pf_tracking_id fields. Simon
  8. Hi, I changed mine to be part of the admin page with an iframe. I changed /admin/leapfrog.php <!-- body_text //--> <td> <iframe src="http://www.yourwebsite.com/catalog/admin/includes/leapfrog/leapfrog.html" width="640" height="1450" frameborder="0" scrolling="no" title="<?php echo TEXT_LAUNCH; ?>"> <a href="http://www.yourwebsite.com/catalog/admin/includes/leapfrog/leapfrog.html" target="_blank"><?php echo TEXT_LAUNCH; ?></a> </iframe> </td> <!-- body_text_eof //--> Simon
  9. I added some tabs and newlines so I could view the xml better in /admin/includes/functions/leapfrog.php I rewrote my function lf_getClicks as /** * Get all visitor clicks past the fromTime */ function lf_getClicks($fromTime) { $query = "select customer_id, customer_name, session_id, ip_address, click_time, page_url, page_title, referer_url from leapfrog where click_time > " . $fromTime; $data_str = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<clicks>\n"; $clicks = array(); $result = tep_db_query($query); while ($row = tep_db_fetch_array($result)) { $data_str .= "\t<click>\n"; $data_str .= "\t\t<pageurl>" . $row['page_url'] . "</pageurl>\n"; $data_str .= "\t\t<pagetitle>" . $row['page_title'] . "</pagetitle>\n"; $data_str .= "\t\t<visitorid>" . $row['customer_id'] . "</visitorid>\n"; $data_str .= "\t\t<visitorname>" . $row['customer_name'] . "</visitorname>\n"; $data_str .= "\t\t<clicktime>" . $row['click_time'] . "</clicktime>\n"; $data_str .= "\t\t<visitorip>" . $row['ip_address'] . "</visitorip>\n"; $data_str .= "\t\t<sessionid>" . $row['session_id'] . "</sessionid>\n"; $data_str .= "\t\t<refererurl>" . $row['referer_url'] . "</refererurl>\n"; // Get the product image if on product item page $pattern = "/p-[0-9]+/"; preg_match($pattern, $row['page_url'], $matches); $productPage = $matches[0]; $productId = substr($productPage, strpos($productPage, "p-")+2); $productId = str_replace (".html", '', $productId); if ($productId == "") { $thumbUrl = ""; } else { $itemQuery = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id='" . $productId . "'"); $item = tep_db_fetch_array($itemQuery); $thumbUrl = DIR_WS_CATALOG . DIR_WS_IMAGES . "" . $item['products_image']; } $data_str .= "\t\t<thumburl>" . $thumbUrl . "</thumburl>\n"; $data_str .= "\t</click>\n"; } $data_str .= '</clicks>'; echo $data_str; } I hope this helps. Simon
  10. Hi, I had this problem, but I was able to view the source alright in firefox. Regards, Simon
  11. With help mine is now working There were two problems 1. Admin access with level contribution I disabled admin access levels for the leapfrog_feed.php by changing the bottom of /admin/includes/application_top if (basename($PHP_SELF) != FILENAME_LOGIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN && basename($PHP_SELF) != FILENAME_CURRENCIES && basename($PHP_SELF) != 'leapfrog_feed.php') { tep_admin_check_login(); } 2. The other problem was to do with my secure SSL The original url was https://server.secure.host.net/~user/admin/...g/leapfrog.html once I changed it to http://www.mysite.com/admin/leapfrog.php it started working. I changed the target url at line 63 of /admin/leapfrog.php <tr><td><a href="http://www.mysite.com/admin/includes/leapfrog/leapfrog.html" target="_blank"><?php echo TEXT_LAUNCH; ?></a></td></tr> Thanks again for this great contribution. Simon
  12. Hi, Thank you for this contribution. I have uploaded the files successfully and the visits are recorded in the leapfrog table. But when I want to display the leapfrog and after few moments I get a popup window which states "Unable to connect to your store database" The store is running on Freebsd with MYSQL and PHP4, any ideas where to start looking ? Thanks, Simon
  13. Hi, Searching the forum http://forums.oscommerce.com/index.php?showtopic=106059 you need this line tep_draw_hidden_field('lastname', $order->billing['lastname']) .
  14. Hi, I have been running this for about a year but I have one small problem. When an order is placed, the customer is taken to the Nochex website, they pay and then they are returned to my site with the checkout success screen. I receive an email from Nochex about funds received, but not about the order from oscommerce. I thought it was people been impatient and not waiting to be returned back to oscommerce, but after doing some tests myself, the order status isn?t updated. If I switch on debugging I get loads of emails which have all the details except the status is declined, looking at nochex_txn.php I only see declined transactions. I went to https://www.nochex.com/nochex.dll/apc/testapc and received a correct response and also in nochex_txn.php I see that transaction as authorised. Looking at the nochexapc_transactions database table, I see that for every order I get 10 identical declined entries except the first one has the status field set as live, all the others have an empty status field. nochexapc_trans_id transaction_id to_email from_email transaction_date record_updated order_id amount security_key nochex_response status 312 627246 nochex_account@mysite.com customer@hotmail.com 24/05/2006 18:12:29 0 332 6.42 L39493945633596095421293485 DECLINED Any ideas, Thanks, Simon