tjzones

Members
  • Content count

    62
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About tjzones

Profile Information

  • Real Name
    tj
  • Gender
    Male
  1. Thought I'd share the solution to the issue I had. Its because register globals is turned off. If you turn it on, it works like a charm but, to avoid the security risk of register globals on, add this code if (isset($_REQUEST) ) { foreach($_REQUEST as $key => $val) { $$key = $val; } } to the beginning of pdf_catalogue_info.php, pdf_download_katalog.php and pdf_catalogue_info2.php. Hope it helps. Tj
  2. Hi Steve, did you find a solution this problem? I'm having the same too
  3. did you find a solution to this problem?
  4. Thanks Mark, Well done.
  5. Hi Jack, You mean the command in the Cronjob will still work regardless of the protected folder its pointing to. I just wanted to clarify. Thnx
  6. Hi guys, just wanted to know something about the Cronjob. The googlefeeder.php is in the admin folder which is protected by .htaccess. Will it still work if the Cronjob is setup, if not, what is the work around. Any help is appreciated. Thx, TJ
  7. This is my poor man's solution to this problem I had. (usps.php) class usps { var $code, $title, $description, $icon, $enabled, $countries; // class constructor function usps($method = '') { global $order, $shipping_weight; $this->code = 'usps'; $this->weightflat = 13; $this->weightflat5 = 2.1; $this->title = MODULE_SHIPPING_USPS_TEXT_TITLE; $this->description = MODULE_SHIPPING_USPS_TEXT_DESCRIPTION; $this->sort_order = MODULE_SHIPPING_USPS_SORT_ORDER; $this->icon = DIR_WS_ICONS . 'shipping_usps.gif'; $this->tax_class = MODULE_SHIPPING_USPS_TAX_CLASS; $this->enabled = ((MODULE_SHIPPING_USPS_STATUS == 'True') ? true : false); $this->GlobalTest; if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_USPS_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_USPS_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } $this->handling = explode( ", ", MODULE_SHIPPING_USPS_HANDLING_DOMESTIC); //Listed in the order below: $this->types = array('Express Mail' => 'Express Mail', 'Priority Mail' => 'Priority Mail', 'Priority Mail Flat-Rate Envelope' => 'Priority Mail Flat-Rate Envelope', 'Priority Mail Flat-Rate Box' => 'Priority Mail Flat-Rate Box', 'First-Class Mail' => 'First Class Mail', 'Parcel Post' => 'Parcel Post', 'Bound Printed Matter' => 'Bound Printed Matter', 'Media Mail' => 'Media Mail'); /******************************************************************* */ //Added by Greg Deeth on May 12th, 2008 //INTERNATIONAL MAIL OPTIONS //Change the values to the option you would like //FIRST CLASS MAIL INTERNATIONAL OPTION: $this->FirstClassIntType = 'Letters'; //OPTIONS: 'Letters', 'Large Envelope', 'Package' //PRIORITY FLAT-RATE BOX INTERNATIONAL OPTION: $this->countries = $this->country_list(); $this->countryinsure = $this->country_maxinsure(); } // class methods function quote($method = '') { global $order, $shipping_weight, $shipping_num_boxes, $transittime; if ($shipping_weight > $this->weightflat5 && $shipping_weight < $this->weightflat) { $this->PriorityFlatRateBoxType = 'Large Flat-Rate Box'; } else { $this->PriorityFlatRateBoxType = ''; } if ($shipping_weight < $this->weightflat5) { $this->PriorityFlatRateEnv = 'Priority Mail International Flat-Rate Envelope'; } else { $this->PriorityFlatRateEnv = ''; } //OPTIONS: 'Flat-Rate Box', 'Large Flat-Rate Box' /****************************************************************** */ $this->intl_types = array('GLBL EX' => 'Global Express Guaranteed', 'GLBL EX NONDOC RECT' => 'Global Express Guaranteed Non-Document Rectangular', 'GLBL EX NONDOC NON-RECT' => 'Global Express Guaranteed Non-Document Non-Rectangular', 'EXPRESS INT' => 'Express Mail International (EMS)', 'EXPRESS INT FLAT RATE ENV' => 'Express Mail International (EMS) Flat-Rate Envelope', 'PRIORITY INT' => 'Priority Mail International', 'PRIORITY INT FLAT RATE ENV' => $this->PriorityFlatRateEnv, 'PRIORITY INT FLAT RATE BOX' => 'Priority Mail International ' . $this->PriorityFlatRateBoxType, 'FIRST-CLASS INT' => 'First Class Mail International ' . $this->FirstClassIntType); if ( tep_not_null($method) && (isset($this->types[$method]) || in_array($method, $this->intl_types)) ) { $this->_setService($method); }
  8. Hi guys, Is there a way to change the maximum weight on flat-rate box or envelop?
  9. Thanks Jack, they insisted its from my end but, I setup a schedule to read my feeds from google every 30days. This should work similarly.
  10. Thanks Jack, Connected with ftp client fine so, I'm guessing its my host. I use bluehost. what do I tell them or what settings can I change in the cpanel to fix this. Thanks Tj
  11. Hi guys, just installed this add-on but, I'm getting and error File completed: my_feed.txt FTP open connection failed to uploads.google.com Script timer: 90.572534 seconds. I have triple checked the ftp details. any help?
  12. Hello all, Sorry to double post, here is a temporary solution to the above. After: $customer_balance = sprintf(EMAIL_TEXT_BALANCE, number_format($balance,POINTS_DECIMAL_PLACES), $currencies->format($balance * REDEEM_POINT_VALUE)); Add $customers_email_address = $_POST['customers_email_address']; $customer_name = $_POST['customer_name']; Goodluck!
  13. I see a trend here. I'm also having the same issue with confirming points not emailing customers. When i confirm points and check the box to notify customers, the notification is not sent out. I have the latest version of this contrib. The odd thing is when I confirm points for referrals or reviews, a notification is sent out. I know this is not an issue with my code or system b/cos, I tested the test site that deep-silver made available. I put in my email address into one of the customers and tried to add points and checked "notify customer" but, I received no email. Any help is appreciated!
  14. got it, actually, it was a clash of contributions. I had the same array being passed twice. Thanks for your quick response!
  15. Hello all, this code is causing my attributes to be added twice into the database, what can I do to prevent this. If I remove this code, it will not save anything I put into the separate price box. This code is in categories.php. Any help is appreciated // if (!is_array($HTTP_POST_VARS[$key])) { // BOF Separate Pricing per Customer if (is_array($value)) { while (list($k, $v) = each($value)) { echo tep_draw_hidden_field($key . '[' . $k . ']', htmlspecialchars(stripslashes($v))); } } else { // EOF Separate Pricing per Customer