Jump to content

GniDhal

Members
  • Content count

    32
  • Joined

  • Last visited

Posts posted by GniDhal


  1. Hi zaenal!

    Nice job, your mod is very effective thanks a lot.

    I use it on my store and it works very fine..

    But... ;)

    I have a very large catalog and a lot of images.

    Browsing all the image directory is very long time and find the good picture is a challenge.

    However I solve this problem by create automaticly subdir in the 'products' directory named like the products_model.

    It Works.

    But now I need to reduce the start directory browsing in the right directory : images/products/products_model/

    I tried to push the new 'relative_dir' to the class but whithout effect.

    How could I define the relative_dir different in each page edit product ?

     

    I would to get the 'products/products_model/' folder as the base directory to browse and target to uoload new file different for each product.

     

    If you could help me You save me :)

     

    Thanks again


  2. In the last version of this contribution, all tables are moved when you click on "move button" : holding_orders, holding_orders_products, holding_orders_products_attributes, holding_orders_products_download, holding_orders_status_history, holding_orders_total are duplicated into orders, orders_products, orders_products_attributes, orders_products_download, orders_status_history, orders_total.

    It seems to persist a problem with download and sending downloadd code to customer, but others features are ok.

    What's wrong ?


  3. Thanks for your feedback, Laserfox.

    Yes, all your installation seems to be correct.

    And i forgot to test and fix somes problems about download

    This contribution was made to prevent orders not registred into DB because the customer not return to the store after payment in Paypal page (or other external page).

    It seems to be a frequent problem.

    However I thought "a customer does not back to store for download his product after payment is an idiot" ( sorry) But I am a suck! ;) I have to fix this problem too ! :D

     

    Well, I project to fix this bug ASAP.


  4. This contribution make a dual saving of an order in distincts tables.

    Just before paying the order is saved in holding-tables (mirror of orders tables).

    If an order is correctly terminated (customer comes back to store after payement) the icon is green in control panel. This means the order is correctly saved in both tables (holding_orders and orders)

    If not, the icon is red. Then, You can transfer the order to regulars tables (order) after verification whith curtomer about payment.

    During this transfer, The order's history of customer is correctly updated but the customer's basket is not dropped (cleared) and the customer would not receive a mail confirmation of his order.

     

    Actualy this version (1.6b) not running perfectly because the products attributes are not transfered correctly. But this problem is fixed and I'll send a new version soon (very quickly).

     

    Regards


  5. 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customers_id != '0'' at line 1

     

    select count(*) as total from visitors AND customers_id != '0'

    FIXED ! :)

    (in admin/visitors.php rows # 677 - 678)

    replace :

    	  default: 
    	$order = str_replace('AND', 'WHERE', $robot) . $guest_only ." order by ";

    by :

    	  default: 
    	$order = ($robot!='') ? str_replace('AND', 'WHERE', $robot) . $guest_only ." order by " : str_replace('AND', 'WHERE', $guest_only)   ." order by ";

     

    Regards ;)


  6. Hello

    I got the same problem or looks like :

    Fatal error: Cannot redeclare _setup_segments() (previously declared in C:\wamp\www\osc_test\admin\includes\geoip.inc:94) in C:\wamp\www\osc_test\admin\includes\geoip.inc on line 125

    it's happend when clicking 'Sum all-time by IP Country' like golfman2006 but the line number is different.

     

    Line 94 is the start function :

    function _setup_segments($gi){

    line 125 is the end function

    }

     

    What's wrong ? the GeoIP.dat is in place... just downloaded from http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz like specified in the IMPORTANT - GEOIP DOWNLOAD.txt

     

    Regards...


  7. Your contribution is great! I like it very much!

    I am now seeking a quick updated for the special price.

    Could you add this feature in your contribution.

    Thank you!

    :D

    No, Sorry. :oops:

    I don't think this contribution is a good place to make this kind of update.

    The special price need a new price and a date of validity. It seems to be very hard to include in this space. Actually a link switch to the special update panel.

    Now a new version (released by Mathieu) is raising whith a lot of others options which you can desactive in the head of the script code (with true/false option). the next part will probably include a control panel in the configuration group admin options for this options.

    a minor bug will be fixed so, about the name of the DB tables which are hard coded in the script where the variable names are needed.

    However, we appreciate your comments about this contribution.

    Thanks :wink:


  8. Excellent update! With the exception of a few spelling mistakes in the english file, very very nice update.

     

    Thanks! :D

    :oops: Sorry, it's not my mother's language :wink:

     

    If the mistake have no sens could you make an update of the contribution with the good translation?

    so i'll learning more about :wink: :D

    thanks for yours congratulations..


  9. I am working on the quick updates contributions. I am having problems with updating a field in by database that uses both numbers and characters. The field is products_years. We sell parts for cars online and we need this field to let customers know if the part they are about to purchase is for their vehicle. Below is the code that I am using. The problem is that when I change the products_years field, it thinks it?s a number field. For instance, if I put 1995-1998, it puts in -3 after the update is done. Or if I put "All", it keeps is the original field. Does anyone have a clue on how I can make this work or what I am doing wrong?

     

    Scott

           foreach($HTTP_POST_VARS['product_new_years'] as $id => $new_years) {
    
            mysql_query("UPDATE products SET products_years=$new_years WHERE products_id=$id");
    
          }

     

    try whith another separator than - or you have to format your data in string format. if you put 12-15 the result will be 3 too !

    your imput is interpreted like integer.

    for best result use 2 fields : year1 and year2 and make a controle of the imputs by a date format :wink:


  10. Hi Everybody,

    Very good contribution !

    I just updated this for my own needs.

    Take care, it was designed for MS1 "Creload5" which include a lot of addon contributions.

    But U can easyly modify the file if you use a basic MS1.

    I hope you enjoy this new version :D :wink:

×