Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Jack_mcs

Members
  • Posts

    31,133
  • Joined

  • Last visited

  • Days Won

    194

Reputation Activity

  1. Like
    Jack_mcs got a reaction from kgtee in Easier Attributes   
    It should accept an entry without a price but be sure to select the blank prefix.
  2. Like
    Jack_mcs got a reaction from altoid in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    A new version has been uploaded with these changes:
    Fixed mistake in the manufacturers code that wasn't allowing the name to show in the url Changed code for Page Manager so the rewrite code is found. Still doesn't work due to no ID present for that addon but it's better. Changed all of the defined names to make it compatible with the latest BS Edge version. Corrected mysql code error (noticed by member mommaroodles). I didn't change the defined names for addons due to time limitations. But I doubt those have been converted yet so it shouldn't matter for now. I tested these changes here and it worked fine but be sure to keep the old seo.class.php file so it can be restored if there are problems.
  3. Like
    Jack_mcs got a reaction from bibleman in Easier Attributes   
    @@bibleman I'm sorry but I don't understand what you are saying about the  "No Thank You". There isn't a requirement for that in the basic attributes, that I can think of. Since I don't understand it, I can't really help with it with this addon. Although, it may help to know, if you have not noticed it, that the attribute selector is a multi-select list. So you can select all products in a category and add an attribute to all of them in one go. If you can provide more details on this, I will try again.
     
    Regarding the options list, my test shop here has 40 options. They all show in the list and the list scrolls so I can see them all. So all I can think is it is a php issue. What version of php are you using (you can see it in admin->Tools->Server Info)?
     
    Thanks for mentioning the broken link. It is a long-standing problem with addons. You have to create the support thread before the addon is uploaded or you won't have a link to the support thread. I did that for the instructions but forgot that language change. it will be in the next version but if you want it fixed now, change topic/ -easier_attributes to topic/410091-easier_attributes.
  4. Like
    Jack_mcs got a reaction from valquiria23 in Nivo Slider Content Module (Bootstrap)   
    I haven't tried that addon but it does say it requires a second addon. Did you install the second one?
     
    You may want to take a look at this thread. It's not coded as an addon but the changes are easy to follow, I think.
  5. Like
    Jack_mcs got a reaction from radhavallabh in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    You will probably need to add the urlencode to the returned url in the html_output file. Fixing code to work for a specific host is usually not a good idea since you may install some addon next weeks that also has to be changed. It's time to look for a new host, in my opinion.
  6. Like
    Jack_mcs got a reaction from radhavallabh in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    If you turn off this addon do the urls work correctly?
  7. Like
    Jack_mcs got a reaction from munchkinz in Header Tags SEO   
    @@munchkinz There are three kinds of warnings in those messages. The last one about the permissions is because the settings for the includes/header_tags.php file are not the same as on the images directory. For modern servers, this probably doesn't matter but the easy fix is change the permissions on that file. It is required for some servers.
     
    One of the others says there is missing tag data. You have to run fill tags for those. If you did and still get them, then there is something wrong with that item, like a missing name, and you have to look at those individually.
     
    The first warnings are for files that are not compatible with this addon. That is not a problem since not all files will be compatible. If you know the file is not compatible, you can click on the exclude link to hide that message. It looks like all of the ones listed can be excluded. Be very not to click on the delete link for those unless you know the file should not be there because the code will delete the file and could break your shop if you are mistaken.
  8. Like
    Jack_mcs got a reaction from munchkinz in Header Tags SEO   
    Be sure the file changes you made were files located in the backoffice directory. Other than that, all I can think of is that you may have used the wrong directory in the package to make the changes. And if you just overwrote all of the original files, which I think you said you did, then that is probably the problem. The files in the included catalog directory are just for comparison. In times past, the files rarely changed so the ones from the package could be safely uploaded in newish shops. But there are now so many versions you can't really do that. So I suggest replacing all of your admin files with the original and make sure the admin displays and works correctly. Then apply the changes again.
  9. Like
    Jack_mcs got a reaction from TITO4 in Article Manager v1.0   
    Thanks for letting me know. But the Illegal string offset warnings are fairly common in the newer php versions since they have strict error reporting set. It means, the majority of the time, that something is used before it is declared. While that is the correct way to do it, it involves a lot of extra work to do that, especially on an old addon like this one. So it is unlikely they will be fixed. You can lower the error reporting level use the following right after that statement in application_top to prevent them from showing. You should do this anyway for a live shop, whether this addon is installed or not.
    ini_set('display_errors','0');
  10. Like
    Jack_mcs got a reaction from raiwa in [Contribution] Recently Viewed Products(sales optimized)   
    @@raiwa Good job on this. Saved me a lot of bother. :)
     
    I installed this in a non-BS shop because the shop owner wanted a continue shopping button with options on the shopping cart page and this was the best way to do that. The changes below should work as is but should be turned into a module to be more inline with this addon and the BS code. I thought someone might like it, though.
     
    In includes/languages/english.php (any language file), add
    define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping'); In the shopping_cart.php file, find
    <div class="buttonSet"> Replace it with
    <?php $back = sizeof($navigation->path)-2; $fromHome = false; $fromProduct = false; $count = count($products); if( isset($products[$count-1]['id']) ) { if (isset($_SERVER['HTTP_REFERER'])) { if (strpos($_SERVER['HTTP_REFERER'], 'cPath') === FALSE) { $pathparts = pathinfo($_SERVER['HTTP_REFERER']); $parts = explode('?', $pathparts['basename']); $ids = explode(',', $parts[1]); $fromProduct = true; foreach ($ids as $id) { if (tep_not_null($recently_viewed_string) && strpos($recently_viewed_string, $id) !== FALSE) { $fromProduct = false; //disable adding this product since it was recently viewed } } } else if (strpos($_SERVER['HTTP_REFERER'], 'index.php') !== FALSE) { $fromHome = true; } } $indexPage = ''; if (! $fromProduct) { if (strpos($_SERVER['HTTP_REFERER'], 'cPath') !== FALSE) { $indexPage = 'cPath=' . tep_get_product_path(str_replace(strstr($products[$count-1]['id'], '{'), '', $products[$count-1]['id'])); } } } $linkArray = array(); if (! tep_not_null($recently_viewed_string)) { if ($fromProduct) { if (isset($parts[1])) { $id = explode('=', $parts[1]); } $linkArray[] = '<li><a href="' . tep_href_link($parts[0], $parts[1]) . '"><span class="hover-link">' . tep_get_products_name($id[1], $languages_id ) . '</span></a></li>'; } else if ($fromHome) { $linkArray[] = '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $continueButtonId) . '"><span class="hover-link">' . $indexPage . '</span></a></li>'; } elseif (isset($navigation->path[$back])) { $linkArray[] = '<li><a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action'))) . '"><span class="hover-link">Back</span></a></li>'; } } if (tep_not_null($recently_viewed_string)) {// && ! $fromProduct) { $db_query = tep_db_query("select pd.products_id, pd.products_name from products p left join products_description pd on pd.products_id = p.products_id left join specials s on s.products_id = p.products_id where p.products_id in (" . $recently_viewed_string . ") and p.products_status = '1' and pd.language_id = '" . (int)$languages_id . "' limit " . MODULE_CONTENT_PRODUCT_INFO_RECENTLY_VIEWED_CONTENT_LIMIT); while ($db = tep_db_fetch_array($db_query)) { $linkArray[] = '<li><a href="' . tep_href_link('product_info.php', 'products_id=' . $db['products_id']) .'"><span class="hover-link">' . $db['products_name'] . '</span></a></li>'; } } ?> <div class="buttonSet"> <?php echo '<div style="float:left; width:70%">'; if (count($linkArray) < 2) { echo '<span class="link_button">' . tep_draw_button(IMAGE_BUTTON_CONTINUE_SHOPPING, 'glyphicon-chevron-left', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']), 'primary', NULL, 'btn-success') . '</span>'; } else { echo '<span class="link_button" >' . tep_draw_button(IMAGE_BUTTON_CONTINUE_SHOPPING, 'glyphicon-chevron-left', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']), 'primary', NULL, 'btn-success') . '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">' . '<span class="caret"></span></button> <ul class="dropdown-menu" role="menu">'; foreach ($linkArray as $link) { echo $link; } echo '</ul></span></span>'; } ?> <span class="text-left"> <?php $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { reset($initialize_checkout_methods); while (list(, $value) = each($initialize_checkout_methods)) { ?> <span class="other_options"> <?php echo $value; ?></span> <span class="alternate_text"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?> </span> <?php } } ?> </span> </div> Then click around to a few products and add one to your cart. You should see the continue shopping button there.
  11. Like
    Jack_mcs got a reaction from drferrari in Automatically send data feed to Froogle   
    In the googlefeeder.php file, find
    products_description.products_name AS name, and change it to
    substr(products_description.products_name, 0, XX) AS name, where XX is the length you want.
  12. Like
    Guest
    Jack_mcs got a reaction from Guest in View Counter   
    For the database, please be sure you are downloading the IPV4 BIN version.
     
    I download the IP2Location package from here and it is quite different than the one included in the addon. You may want to try downloading a database from that page instead of the one you mentioned. Once you have that database file uploaded, test it with both of the IP2Location files to see if either works.
     
    For what it's worth, I just install this the other day and it worked fine with the files from the addon and a database from the site you mention. So it seems like it is something with your installation but that new file on their site confuses things.
  13. Like
    Jack_mcs got a reaction from yahalimu in Automatically send data feed to Froogle   
    @@yahalimu The code may not be getting to your database. Try changing this line
    $myfetch_mysql = ($use_mysqli ? mysqli_fetch_object : mysql_fetch_object); to this
    $myfetch_mysql = mysqli_fetch_object; or this
    $myfetch_mysql = mysql_fetch_object;
  14. Like
    Jack_mcs got a reaction from valquiria23 in Sitemap SEO   
    You shouldn't run it twice. Try running it this way to try to clear that:
    http:// YOUR DOMAIN NAME /sitemap_seo_install.php?reset
  15. Like
    Jack_mcs got a reaction from Bob Stein, VisiBone in modification paypal SHA 256   
    The paypal upgrade involves two things: Your ssl certificate has to use the SHA 2 algorithm (for any certificate) and if it is a VeriSign cert, it must use the G5 CA bundle. You can test you certificate here. 
  16. Like
    Jack_mcs got a reaction from sunshynecraftsbeads in View Counter   
    @@Mikepo That's due to an undeclared array member. The following should work, though it may not be the final fix. I'll wait and see how you make out. :)  In that file, find:
    foreach ($cmpArry as $test) { if (preg_match('/' . $test . '/', $view['file_name']) || preg_match('/' . $test . '/', $view['arg'])) { return ' style="background-color:' . $colors[COLOR_IS_HACKER] . '" '; } } and change it to
    foreach ($cmpArry as $test) { if (isset($view['file_name'])) { if (preg_match('/' . $test . '/', $view['file_name'])) { return ' style="background-color:' . $colors[COLOR_IS_HACKER] . '" '; } } if (isset($view['arg'])) { if (preg_match('/' . $test . '/', $view['arg'])) { return ' style="background-color:' . $colors[COLOR_IS_HACKER] . '" '; } } }
  17. Like
    Jack_mcs got a reaction from TITO4 in Automatically send data feed to Froogle   
    My previous answer wasn't correct for the problem mentioned since @@TITO4 said the problem was the name and I focused on the brand. The following should work for fixing the name when used in the brand column.
    $output .= "\t" . (isset($row->brand) ? strip_tags($row->brand) : (strlen(OPTIONS_BRAND) ? htmlentities(strip_tags($row->name), ENT_COMPAT, 'UTF-8') : "Not Supported"));
  18. Like
    Jack_mcs got a reaction from TITO4 in Automatically send data feed to Froogle   
    For any part that would have accented characters, you would have to apply the change. For brand, find in the code where it shows $row->brand and change it to
    htmlentities($row->brand, ENT_COMPAT, 'UTF-8')
  19. Like
    Jack_mcs got a reaction from TITO4 in Automatically send data feed to Froogle   
    I haven't tested the following but it may help. In the googlefeeder.php file, find
    preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ) . "\t" . and replace that with
    htmlentities(preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ), ENT_COMPAT, 'UTF-8') . "\t" . htmlentities(preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ), ENT_COMPAT, 'UTF-8') . "\t" .
  20. Like
    Jack_mcs got a reaction from jamo32 in Automatically send data feed to Froogle   
    No, the weight field won't work due to how it is declared in the database. You could change that and then it would work as you want, though you would need to edit the googlefeeder.php file to use it. But that is not a good way to do it since the weight field is a standard field and should you ever have need of it, your shop will not work correctly.
     
    The latest version of Bootstrap has the gtin code already added. All you would need to do is add it as a database field and add the changes to the admin/categories.php file by using a compare program. It is not a big change but that depends on your level of experience with making such changes.
  21. Like
    Jack_mcs got a reaction from radhavallabh in All Products SEO   
    It purpose is provide quick access to the products. This is useful for your customers since it allows them to save a lot of clicks to find products of interest. For search engines, before they will list a page on your site, they have to visit that page. If you don't provide a quick way for them to get to the pages it can take a long time for them to get all of your links listed. An addon like this one, Sitemap SEO and the Google Sitemap provide a way for the search engines to get to all pages of a shop quickly, which means the number of your listings increase and, if they rank well, your traffic will increase.
  22. Like
    Jack_mcs got a reaction from radhavallabh in All Products SEO   
    A new version has been uploaded with these changes:
     
    Added a Bootstrap version. Some core code changes are needed. A future version will change this. Added the price_list.php in the languages directory to allow other contributions to see this page. Changed hardcoded reference to FILENAME_PRODUCT_LISTING. Changed code in the all products search box for 2.3 to display the heading correctly. Corrected database changes in 1.3 update file. Corrected coding mistake for manufacturers link on the all products page. Corrected coding mistake for the specials and what's new boxes for 2.3 shops. Corrected type in breadcrumb for price list page (found by Mention). Corrected code in price list to display taxes correctly (found by Mention). Corrected draw form command in all-products.php. Replaced the price list file for 2.3
     
  23. Like
    Jack_mcs got a reaction from Dennisra in [CONTRIBUTION] Google XML Sitemap Feed - by Chemo   
    Hmm, I don't know how I got that confused. For this contribution you need to use the alternate setting.
  24. Like
    Jack_mcs got a reaction from vampirehunter in Header Tags SEO   
    @@vampirehunter You can't use two meta tag sections of code at the same time, regardless of if they are installed as addons or not, since they will use the some of the same code on the shop side. You will need to use one or the other and make the changes as needed.
  25. Like
    Jack_mcs got a reaction from vampirehunter in Paypal App (OSC 2.3.4)   
    @@vampirehunter There are file changes to be made so just uploading won't be enough. Also, you have to be watchful of which files are uploaded since it varies with the version of your shop. The instructions covers everything you will need to do.
×
×
  • Create New...