Jump to content

DCP

Members
  • Content count

    32
  • Joined

  • Last visited

Profile Information

  • Real Name
    Eduardo
  • Location
    Spain
  • Website
  1. DCP

    PC Pro Creator

    Hi i'm sorry to say that i am not working on this contribution any more because i don't need it anymore. But I can tell you that i tried almost everything to make it work, but no way. My knowledge of PHP is very limited, and of JS almost null, and almost all the code of this contrib is JS. So maybe some1 who knows JS can be able to find a solution, but i couldn't at all. Also another way could be to change the query and get the price apart from the description, but i don't have time enough. Sorry :'(
  2. DCP

    osPlayer v2

    For all those who can play the files correctly on admin but then just get a "-" in the category results, this is the problem i had. I read about the problems with mp3/ or /mp3/ in the includes/configure.php, but the best way to know where the problem is, is to write the following code in catalog/product_info.php. I´ll describe it precisely. The manual says: Well, all you have to do is write this phrase under $product_mp3['folder']= ....... so you have it like this: $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); /// osplayer v2 start $product_mp3['folder'] = tep_get_mp3_folder($product_info['products_id']); echo DIR_FS_CATALOG_MP3 . $product_mp3['folder']; /// osplayer v2 end With this sentence, when you click on a product, before the title of the product you'll see the entire path of the folder where the OscPlayer searches the MP3, so check all the "/" and the root. In my personal case, the problem is that i installed OscPlayer firstly as a localhost, and in includes/configure.php i forgot to change the "define('DIR_FS_CATALOG" so i had the path in my webserver as "C:\appserv\www\web", and not the folder of the webserver. I'm idiot, i know, but i hope this can help anyone :D
  3. DCP

    PC Pro Creator

    The best way to solve it is downloading version 2.3.4. Try it and if you still got errors, write again!
  4. Hi That's really a good idea! Can you recommend me any contribution specifically? Or just modifying the basic Oscommerce atributes? Thank you very much!! :D :D
  5. DCP

    PC Pro Creator

    1st. Don't write pm. Your problem might help other people with same problem, so put it always in the forum. 2nd. You told me your site's address on the pm but as i told you, i cannot access it because you don't have the spanish language installed. So, i do not know what the problem is.
  6. DCP

    PC Pro Creator

    I could make it work... but only on Firefox, and on some categories. Anyway, i invite you and anyone interested on developing PPC, or anyone who just want to give some ideas, to visit the forum http://www.topfreeforum.com/ppc I tried to view your page, but i cannot change the language. And the Spanish gives many errors. Greetings,
  7. Hi all My question is the following: I am making a configurator of laptops, this is, anyone on my page can choose which processor, memory or hard disk he wants. The idea is that all these parts are not on the database, and i want (obviously) to give the customer the option to add his own-configured laptop to the cart. Is there any contribution that can make this? In case there is not, how can i do this? Or does anyone know of a similar contribution I can adapt to do this? Thanks in advance!
  8. Well, I only have the Dynamenu contrib which might be similar tot that one. In any case, as i said before, if i comment the lines where that function is, i get another error from the includes/box/shopping_cart.php Isn't it weird? <_<
  9. Hi all I was wondering if you can help me. I installed SPPC 415, and when accessing the webpage, it shows an error refered to an undefined function in catalog/includes/classes/shopping_cart.php. The function is serialize(). I commented these lines in order to avoid the error, but then i find the follwing: Fatal error: Call to undefined function: get_products() in (..)web/includes/boxes/shopping_cart.php on line 25 This file is not modified by SPPC, so i think the problem is with the first one. I have already revised the file, but it's ok. Any idea? Thanks in advance
  10. DCP

    PC Pro Creator

    Hi all I am busy right now making the PPC compatible with the VAT incl/excl contribution. i've made some improvements, but it's not working totally yet. For all the other questions, i would like to invite to all those who have improved something of the PPC, to go to the forum i created to work on this project. The URL is http://www.topfreeforum.com/ppc
  11. DCP

    PC Pro Creator

    I think i got it To those who got this problem, the first thing to do is what reilagarto said before. Then, you have to go to compbuild.php and replace the function that meisterbartsch put here before. But i think it's exactly the same that is on the version of 2006-08-24. And lastly, go to build/builder2.php and change the folowing: On line 225, you will have this code: sum=sum+parseFloat(price[i].replace(".",",")*(form.elements["qty["+(i-1)+"]"].selectedIndex+1)); So, you have to change the dot and the comma for a comma and a dot. It's easier to see like this: sum=sum+parseFloat(price[i].replace(",",".]")*(form.elements["qty["+(i-1)+"]"].selectedIndex+1)); Now, the main problem is that the prices doesn't have a thousand separator, so the prices in the rest of the catalog shows like this: 4561,12 EUR It's not a big problem i think, although i haven't tried it yet. I'll keep on working with it!
  12. DCP

    PC Pro Creator

    Hi all After a long time, i'm back again. I have installed the latest version, but i have a problem with the comma... it just doesn't appear! So the prices are 1234 Euros instead of 12,34 Euros! Does anyone else have this problem? I tried to solve it, but no way! Edu
  13. DCP

    PC Pro Creator

    Hi guys i am writing just to let you know i am still alive :P i don't have much time to read all the new messages but i am really happy that meisterbartsch has fixed the problem with decimals! Anyway i'll be working with you the next week, thank you to meisterbartsch and all of you for your excellent work! See you real soon! :blink: Edu
  14. DCP

    PC Pro Creator

    The first possible solution i gave is using a couple of functions in JS which detects automatically the type of commas and dots. The "problem" is that i think that it detects the configuration from the client computer, and not from the OSC program, but we would have to test it to be sure! Anyway, this is a bad month for fixing all os these, we are all a bit busy, and in my case i'm leaving on holidays in a couple of days. I hope in september all the developers can start to work more intensively on this project and get results real soon! Best regards!
  15. DCP

    PC Pro Creator

    About the problem with the prices above 1.000, i think the problem is the same that many have here, with the commas and dots. I have tried almost anything, but although the config of my shop is with dots for the thousands and commas for the decimal places, the prices in the PPC are like this: 12.34, and not 12,34. I think this is the main problem. So, about the code, i think the problem is with the parsefloat function, which as i have read, converts an string to a number. The problem is that if this number has decimals, it always puts it with a dot (.) So i see 3 possible solutions: 1. Delete this function and use a sustitutive one. The best way would be using what is explained here , but i have tried it and no way, surely because i have no idea of JS. 2. use a function to convert the dot of the parsefloat function to a comma, where needed. I don't really know if this is possible, and i have no idea how i could do this. 3. Use PHP for converting this numbers from dot decimals to comma, but when i tried to include php code into the function in JS, it gave me a lot of errors. Anyway, i hope this can help :(
×