Jump to content

tagin

Members
  • Content count

    20
  • Joined

  • Last visited

Profile Information

  • Real Name
    Patrick Mayer
  • Website
  1. tagin

    fast easy checkout

    I modified the Ajax load states script to work with FEC but couldnt get it entirely working on the create_account3 page. Did anyone successfully implement it? its a great contribution by the way and worth to check out. i still wonder if FEC is supposed to send out an email when someone creates a new account on the create_account3 page?
  2. Easy Populate doesn't properly create new categories. I have default language German and when uploading a file it doesn't create the necessary entries for the English name. The result is that you can't see the new category in other languages than your default language and you can't edit the names. I saw several people asking, but nobody posted a fix. So here it is: 1) In easypopulate.php find around line 1601 this: $sql = "INSERT INTO ".TABLE_CATEGORIES_DESCRIPTION."( categories_id, language_id, categories_name ) VALUES ( $max_category_id, '$epdlanguage_id', '$thiscategoryname' )"; $result = tep_db_query($sql); 2) Replace it with //begin language fix mod by patrick $tmplanguages = tep_get_languages(); for ($i=0, $n=sizeof($tmplanguages); $i<$n; $i++) { $language_id = $tmplanguages[$i]['id']; $sql = "INSERT INTO ".TABLE_CATEGORIES_DESCRIPTION."( categories_id, language_id, categories_name ) VALUES ( $max_category_id, '$language_id', '$thiscategoryname' )"; $result = tep_db_query($sql); } //end language fix mod thats it. congratulations! you just saved yourself from some hours of headaches! :)
  3. tagin

    fast easy checkout

    hello, thank you for this great contribution. i have a problems with emails. When a customer creates a new account at create_account3 no email is sent out. An account is created though and everything works. I changed account_password_new.php and uncomment the redirect part to get an idea if there is a problem with the email. It still redirects to the next site though. echo "$name, $email_address, ".EMAIL_SUBJECT.", $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS"; $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); /* if (tep_session_is_registered('customer_id')){ if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); }} tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); */
  4. Hello, thank you for this great contribution. I left the "keyw=xxx" in the url of my PPC links out since I thought that it is optional. Is it really optional? At the PPC summary I see no referers, clicks or anything else beside landing pages. Thats the only info I got: Google Adwords(ref=googlead) - Total Referrals 71 Everything else is empty. The data is showing in the other Supertracker reports though. Thanks
  5. Hello, I think that this is a good idea but I can't get it working: http://www.oscommerce.com/community/contributions,4152 After installing it simply does nothing when I change the country. Does it work for anyone? Thank you!
  6. Hello, I installed this fantastic contribution but the cache feature doesn't really work for me. The cache file exists and I verified that the category_cache.php file is using it. The problem is that the css_categories.php file then seems to call: tep_get_parent_categories($c, $tree[$i]['id']); which increases my queries from 28 to 65. I get this kind of queries: [18] => select parent_id from categories where categories_id = '18' Anyone got a solution? Thanks.
  7. I fixed the quotes/escaped string problem finally. It took me a while but the solution is not that complicated: 1) in functions/header_tags.php Replaced in function GetMainArgument this line $line = str_replace($arg, $arg2, $line); with this line $line = ReplaceArg($line, $arg2); 2) in header_tags_english.php After writing the file, I am setting $formActive=false; and I read in everything again. Now it shows up exactly as it is in the file.
  8. Hi, I tried all kind of things but the slashes stayed. I have the register globals patch installed and I think that it is related to this. Strange that nobody else had this problem so far? I am sorry for the confusion. Thanks
  9. Thank you for your replies. I tried the code, but it didnt change anything. I copied the header tags english and controler.php from 2.5.5 into the folder and it didn't change anything too. I'll have a further look when I have time if I can find a solution
  10. thats very odd. I verified again and I am using 2.5.6: Header Tags Controller v2.5.6 Complete. I checked the archive and the files are the same. header_tags_controller.php is dated 25.11.2005 header_tags_english.php is dated 20.12.2005 I reuploaded everything again and the effect is the same. Thank you for your help!
  11. Hello, I couldn't see anyone else with this problem. I have the latest HTC version: I installed it and everything works fine, except header_tags_english.php. Here is what happens: Case A: Escape Character problems 1) Default Keywords: Hardware Software DVD Movies What's New Here? After clicking on update this shows up like this: Hardware Software DVD Movies What\'s New Here? 2) Clicking on update again it shows as: Hardware Software DVD Movies What\\\'s New Here? 3) Clicking on Text Control it becomes: Hardware Software DVD Movies What'''s New Here? Case B: This only applies to Default Keywords: 1) Now I change the Keywords to: this is a test They show up correctly. 2) I click on Text Control and it shows up that they didnt change: Hardware Software DVD Movies What'''s New Here? Case C: This applies to everything, except Default Title, Description and Keywords 1) I change the text, update and it shows up as the old fields 2 I click on Text controls and it shows up that they were updated Am I the only one who got such a problem?
×