Jump to content

greasemonkey

Members
  • Content count

    1,368
  • Joined

  • Last visited

  • Days Won

    25

Reputation Activity

  1. Like
    greasemonkey got a reaction from burt in SEO Header Tags - RELOADED support?   
    Thank you @@burt. I have have it done and working/testing on a new install with very little mods (other than seo urls and a few changes on my index, product_info and listing) - and have also compared a set of files for a fresh 2.3.4BS install.
     
    @@newburns is also working on this ... I will compare both his file set and my file set and then install on a fresh 2.3.4bs to be sure everything is good to go before I send them your way. I have no issue supporting (but I'm learning at the same time - I've always used Header Tags SEO).
     
     
     
     
    newburns
  2. Like
    greasemonkey got a reaction from Tsimi in PayPal Express cancel and return to - bug?   
    Hi All, I'm using PayPal Express 3.0 on 2.3.4 and have had one small issue brought up by a customers.
     
    When a customer uses the Return to "my store" link from the PayPal payment screen you are returned back to the sites shopping_cart page on SSL (example; https://ssl.oscommerce.com/demo/2/shopping_cart.php). If the customer then try's to update the quantity of products using the update button - in some browsers (firefox for one) - a security warning is received.
     
    I presume this is because the update button refreshes NOSSL - which is fine because shopping_cart is not typically seen on SSL - except when returned by PayPal.
     
    Confirmed this behaviour with Firefox at http://demo.oscommerce.com/index.php
     
     
    I realize this is not a huge issue... but thought it could be easily fixed by editing to?
    <?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product', 'SSL')); ?> Although I'm no coder.... And I'm not clear what other impacts this would/could have?
  3. Like
    greasemonkey got a reaction from kymation in Superfish and jquery 1.11.1   
    Ok, so I found an "ok" solution. Hopefully someone can tell me if there is a better way?
     
    I have use the jquery migrate plugin - https://github.com/jquery/jquery-migrate/
     
    Just downloaded the file and put it into the dir with my others... and then put
    <script type="text/javascript" src="ext/js/jquery-migrate-1.2.1.js"></script> in my template_top.php.
     
    My nivo slider was not working with jquery 1.11.1 either. However, I found a newer version here http://addons.oscommerce.com/info/9096 and it worked out of the box. Even though my older version now works with the migrate plugin.
  4. Like
    greasemonkey got a reaction from Tsimi in KissER Error Handling & Debugging [contribution]   
    @@Snarg I got this working in 2.3.3.4. In includes/functions/database.php around line 51 find
     

    $result = mysqli_query($$link, $query) or tep_db_error($query, mysqli_errno($$link), mysqli_error($$link));
     
    and change to
     

    $start_time = microtime( true ); $result = mysqli_query($$link, $query) or tep_db_error($query, mysqli_errno($$link), mysqli_error($$link)); if ( class_exists( 'KissER' ) ) { KissER::q( round( ( microtime( true ) - $start_time ), 4 ), $query ); }
     
    Again, I have not tested this thoroughly. However tried it and it seems to be working...
     
  5. Like
    greasemonkey got a reaction from raiwa in [Contribution] iOSC - mobile version of OSC on your iPhone   
    @@raiwa I have un-done the update for now. As it did not fix my problem and my problem was much more important;
     
     
    I have however come to a partial solution - although the solution is not very graceful.
     
    The issue above arose every time a 404 page was called from a /mobile/ link - example by a human bookmarking our site from an iphone the addon called mobile/apple_touch_icon.png (which is 404)
     
    OR any deleted/404 product that a bot or human was looking for in the from a "classic" link on a mobile device. Previously I had installed http://addons.oscommerce.com/info/933 for a custom 404 page and http://addons.oscommerce.com/info/8865 and then edited /includes/modules/ultimate_seo_urls5/includes/notfound_404.php to
     

    header( "HTTP/1.0 404 Not Found" ); header('Location: http_error.php?error_id=404&FWR-URL='. $_SERVER['REQUEST_URI']); ?>
     
    This all worked very well... on the classic site but not at all on the mobile site.
     
    Solution;
     
    1) for the apple_touch_icon I just made a copy of the png file in the /mobile/ directory. Fixed... for now. @@Gergely have you experienced any issues with this addon similar to mine? If you wish I can take this to a different thread...
     
    2) for all other 404 issues I re-made the http_error.php (you are welcome to a copy of this for the support addons) for mobile and dropped it in at mobile/http_error.php
     
    So, for now everything seems to look great.
     
    When a know 404 page is checked here http://seo-website-designer.com/404-Error-Handler-Checker#heading-ToolResult in my mobile dir links return a good 404 header
     
    Most importantly.... the server isn't getting slammed anymore...
     
     
  6. Like
    greasemonkey got a reaction from raiwa in [Contribution] iOSC - mobile version of OSC on your iPhone   
    @@MountainMan look here... Lots of great info on CSS and more http://www.w3schools.com
     
  7. Like
    greasemonkey reacted to GLWalker in ULTIMATE Seo Urls 5 - by FWR Media   
    I use ULTIMATE Seo Urls 5 PRO as well as Custom HTTP Error Page
     
    I like the http error page as it logs the http errors so I can correct/manage them, but SEO Urls has it own 404 page so I made a simple change in includes/modules/ultimate_seo_urls5/includes/notfound_404.php
     
    If you use the same set up, just copy the code below and paste over your existing file.
     

    <?php /** * * ULTIMATE Seo Urls 5 PRO ( version 1.1 ) * * * @package USU5_PRO * @[member='licensed2kill'] http://www.opensource.org/licenses/gpl-2.0.php GNU Public License * @[member='Link'] http://www.fwrmedia.co.uk * @[member='copyright'] Copyright 2008-2009 FWR Media * @[member='copyright'] Portions Copyright 2005 ( rewrite uri concept ) Bobby Easland * @[member='author'] Robert Fisher, FWR Media, http://www.fwrmedia.co.uk * @lastdev $Author:: Rob $: Author of last commit * @lastmod $Date:: 2010-12-21 22:45:02 +0000 (Tue, 21 Dec 2010) $: Date of last commit * @version $Rev:: 196 $: Revision of last commit * @Id $Id:: notfound_404.php 196 2010-12-21 22:45:02Z Rob $: Full Details */ /** * Page not found html with 404 header * @package USU5_PRO * * @var array $text - array of text strings to be used in the html */ header( "HTTP/1.0 404 Not Found" ); header('Location: http_error.php?error_id=404&FWR-URL='. $_SERVER['REQUEST_URI']); ?>
     
    It will still log the proper 404 header as well as inform you the requested url in your log/txt file.
     
     
    Also, I found a hidden gem, though I have not tried it yet:
    includes/modules/ultimate_seo_urls5/includes/uri_redirects_array.php
  8. Like
    greasemonkey got a reaction from smellypoopants in No-redirect adding to cart - not sure what to call it   
    My 11 year old would love your username... Lol.
     
    To your question; the answer has 2 parts.
     
    1) the shopping cart redirect is a built in configuration. Look in the admin, configuration, my store. By setting to false the user will remain on the page and not be directed to the cart.
     
    2) there are many shopping cart addons.... Just google, for example; oscommerece shopping cart in header. There's also a shopping cart layer/popup which I used on 2.2 (tooltips... I think it was called) which worked well for what you discribe that I believe has recently been updated to work on 2.3.x - although I haven't tried the update.
     
    Good luck.
  9. Like
    greasemonkey got a reaction from The Lego Man in Quantity box in product listing 1.2 for 2.3   
    Yep, just search the addon area for "Quanity box product info"
  10. Like
    greasemonkey got a reaction from The Lego Man in Quantity box in product listing 1.2 for 2.3   
    I'm not sure what you installed... I would un do it. There should be no new files... Only a couple quick edits to product_info (and product info language file) and application_top.
     
    Don't forget to back up first!!!!!
     
    This is the one I use; http://addons.oscommerce.com/info/7914 @@The Lego Man
  11. Like
    greasemonkey got a reaction from The Lego Man in Quantity box in product listing 1.2 for 2.3   
    Here is a simple (2 file changes) mod to add a quantity box to your Buy Now button on product_listing for 2.3.x.
     
    Located HERE
     
    Works with attributes by directing customer to product_info.
     
    If anyone wishes to contribute further I would love to figure out how to have the qty added to the box, when you are using buy now with a product with attributes, carried forward to the product_info qty box (a separate addon).
  12. Like
    greasemonkey got a reaction from The Lego Man in Quantity box in product listing 1.2 for 2.3   
    Try changing this;
     

    $prod_list_grid .= '<br>' . tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id='. $listing[$x]['products_id']), 'POST') . '<table cellSpacing="0" cellPadding="0" width="100%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '1', 'size=3 maxlength=3') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart') . '<td align="absmiddle">' . '</td></tr></table></form>';
     
    to
     

    $prod_list_grid .= '<br>' . tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id='. $listing['products_id']), 'POST') . '<table cellSpacing="0" cellPadding="0" width="100%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '1', 'size=3 maxlength=3') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart') . '<td align="absmiddle">' . '</td></tr></table></form>';
  13. Like
    greasemonkey got a reaction from imageanative in canada.post.rest.rate.service.oscommerce.V2.3   
    This should probably be moved to the Addons - Shipping forum...
     
    I will try and download in the next couple of weeks to see if I can make it work... I have an Canada Post automatic labels mod based on REST (that is very roughly written... but works). Maybe we can get both refined and working together...
  14. Like
    greasemonkey got a reaction from Pinball in Canada Post Automatic Labels   
    Hey Pinball, no nothing yet... I worked on it yesterday for about an hour and decided it is beyond my very limited experience...
     
    The entire interface has changed... And although the page looks builds there are several problems which I just do not understand...
     
    I called Can Post again to get an update on my support ticket, however, still have not received any info.
     
    As a backup I have one of the sponsor members (not sure if I should be using names...) working on a new 2.3 site - I have asked him if there is interest in building a new webserivces platform module... If he agree's to build the new platform however, it would be up to him to release it publicly...
     
    If he (the sponsor memeber) says no to building a new module, and Can Post does not reply... I will have to look elsewhere (probably an open bid on freelancer or something) to have the module built...
     
    Our business does signigicant volume via Can Post... and doing labels manually just takes too much time and is mistake prone....
×