Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

here2learn

Pioneers
  • Posts

    37
  • Joined

  • Last visited

Profile Information

  • Real Name
    Matheus
  • Gender
    Male
  • Location
    Brazil

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

here2learn's Achievements

  1. I installed USU 5 and it works, but regarding multi language support I think you could change this part to look better: Examples: English index.php www.mysite.com/index.php German index.php www.mysite.com/index.php/de English product seo url www.mysite.com/my-great-product-c-22.html German product seo url www.mysite.com/de/my-great-product-c-22.html Why not add the german index to be www.mysite.com/de/index.php instead of www.mysite.com/index.php/de, just like products urls are rewritten?
  2. Nevermind, I have successfully installed it to a heavily modified OsCommerce. It works flawlessly, I am surprised nothing went wrong! But, I have two other folders in my catalog root that I would like Header Tags SEO to be able to read and display the meta tags. I of course added the code to the head tag of those files, but it seems Header Tags SEO is only able to read the catalog root. Is it possible to easily modify this, or no? You can think about adding this functionality in the future. For now, I'll edit these pages outside the root directory and add the meta tags manually.
  3. Does this addon work with ULTIMATE Seo Urls 5 - by FWR Media? If it does, then one compliment eachother, no?
  4. OTF is the Product Attributes Option Type Feature addon ---------------------------------------------------------------- Open catalog/includes/functions/general.php --------------------- FIND: (around line 25) function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } REPLACE with // OTF contrib begins //function tep_redirect($url) { // if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { // tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); // } function tep_redirect($url) { // OTF contrib ends Since I didn't want to erase that part and compromise the OTF I compared what you asked to replace, with your new code, and the only bit that changed is: header('Location: ' . $url); tep_exit(); } To if ( false !== strpos($url, '&') ){ $url = str_replace('&', '&', $url); } session_write_close(); header('Location: ' . $url); exit; } Everything is working fine. No errors so far with your addon, other than not being able to display the path, just the product name. I tried adding a MODEL and a MANUFACTURER to a product, and the path stil didn't appear in the generated SEO URL... only the product name appears. I'll install it from the beginning again, using a backup.
  5. Your contrib asks me to find this in includes/functions/general.php: //// // Redirect to another page or site function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } And replace with this: /** * ULTIMATE Seo Urls 5 PRO by FWR Media * Redirect to another page or site */ function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } if ( false !== strpos($url, '&') ){ $url = str_replace('&', '&', $url); } session_write_close(); header('Location: ' . $url); exit; } However, my file is modified, so I had replaced this (notice the commented out lines): //// // Redirect to another page or site // OTF contrib begins //function tep_redirect($url) { // if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { // tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); // } function tep_redirect($url) { // OTF contrib ends if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } With this: //// // Redirect to another page or site // OTF contrib begins //function tep_redirect($url) { // if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { // tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); // } function tep_redirect($url) { // OTF contrib ends if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } if ( false !== strpos($url, '&') ){ $url = str_replace('&', '&', $url); } session_write_close(); header('Location: ' . $url); exit; } Does the commented out lines - done when I installed the OTF contrib - interfer with your contribution somehow?
  6. Now it works. Being a newbie but having installed more than 10 addons, I don't believe I missed that! If you allow me to make a really stupid question... does SEO URLs 5 help my site being indexed better by Google, i.e. when someone Google for a product name will this addon help they find the product in my site? IF so (and I believe it helps), where are the pages that Google "see"? I think they have to "see" pages with titles/metatags in order to index something. A brief explanation of how SEO Url 5 works would be of great help! Thanks.
  7. I paid attention to RewriteBase during the installation but it didn't work. May you please check my htaccess file? Here it is
  8. QUESTION 1 Hi, I have the "Choose uri format" in admin set to "path_standard", however, only the product name is shown in the seo url. Does "path_standard" stand for OR for As I personally understand it (it is not explained anywhere), "path_standard" stands for category/subcategory + product, but the path to the product isn't being generated in the seo url. HOWEVER, if it stands for "brand + product" then there is nothing wrong, as I don't have set a brand name to my products. QUESTION 2 I also tried setting the "Choose the uri format" to "rewrite", and I made the changes to the .htaccess file. It does redirect properly but don't load and then returns a 404 error. When you pass your mouse over a product link, the address displayed is, for example, www.mysite.com/catalog/computer-p-1.html. This I suppose means the .htaccess was set properly...? When you click, it returns a 404 error. What may be causing this? "edit", well I don't even posted... I just tested the old .htaccess file without the changes, using the "Choose the uri format" to "rewrite" (as above...), and the link is also show as www.mysite.com/catalog/computer-p-1.html so I guess the problem is with my .htaccess file not redirecting properly. My Server API is CGI, not that this makes a difference I guess... Any idea? QUESTION 3 The directories: catalog/includes/modules/ultimate_seo_urls5/cache_system/cache/ catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite/ Are chmod to 755. Only the owner can write. Do I have to chmod them to 777, meaning the users should also be able to write on these folders? Thanks.
  9. I have fixed the above issue, now I have to look on why the Testimonials box doesn't appear when the site is HTTPS.
  10. This is a very useful add-on that I couldn't find anywhere, but from my newbish knowledge on programming it sounds rather easy to accomplish. May someone provide me with a link, or if you have time develop this? What it will do: - When you change the customer's order status to Delivered (status_id of n# 3) the quantity purchased in this order will be automatically subtracted from that product's stock. That's all.
  11. This contrib is superb, but the image upload function does not work. It is so far the only issue I am having. In the page for the customer to write the testimonal, if I activate the upload image function in the admin panel, the following appears for the customer, below the field to type the testimonial text: Only these three words and no place whatsoever to add the image directory, or a button for upload. And the reCaptcha also does not appear.
  12. This contribution looks great, but... I don't see the reason for giving us a product_listing.php file to replace the original, since all the other existing files you explain how to edit them piece by piece, because you acknowledge that most users have most likely modified the stock install ones. I did a mod to product_listing.php some time ago and I don't want to lose it, I'd rather have to manually edit it like I have to edit all the other files. Could you please provide me with a list of what to edit? Thanks.
  13. Hi! Lets say that because of a mod I implemented, I had to add extra columns, or even tables to my database. Would this add-on still work, i.e. would it backup column names or tables that are not originally in the stock install?
  14. Sorry for the stupid question, but what second failure do you mean? I changed what you told, and now Mismatches are no longer found, neither in sitemonitor_log_0.txt nor in sitemonitor_log_016_04_2011.txt.
  15. I know how to exclude directories, but how do I exclude files? The file sitemonitor_log_0.txt is always being detected as modified and I don't consider this to be right. The file created (sitemonitor_log_016_04_2011.txt) is also being detected. I believe these should be excluded anyhow, so when we run the SiteMonitor it will be "clean" in a way no changes will be detected. These two files always appearing bother me. No new files found... No deleted files found... Difference found: New-> imtheown3rx/sitemonitor_log_0.txt 134369 Original-> 132758 Difference found: New-> imtheown3rx/sitemonitor_log_016_04_2011.txt 134369 Original-> 132758 Time Mismatch on imtheown3rx/sitemonitor_log_0.txt Last Changed on Saturday, 16 Apr 2011 00:44:28 GMT Time Mismatch on imtheown3rx/sitemonitor_log_016_04_2011.txt Last Changed on Saturday, 16 Apr 2011 00:44:39 GMT No permissions mismatches found... Other than that, it works extremely well.
×
×
  • Create New...