Jump to content

TENCENTS

Members
  • Content count

    179
  • Joined

  • Last visited

Everything posted by TENCENTS

  1. TENCENTS

    PC Pro Creator

    Thanks Ema. I'm not sure why you cannot select a product from the popup-list, and I don't think it's a java problem because you are seeing the products in the list. Have you done any of your own modifications to the builder, like adding an extra field, or removing any? And if possible, do you have a URL so I can see? PM me if you need to keep it private. Secondly, the dimension and position of the builder/configurator (and popup list). You will need to experiment with the widths and heights in compbuild.php, also play with builder2.php. For the popup you would need to check prduct_list.php and also builder2.php...this code affects the popup: if (document.getElementById("oFrame").style.display=="none") { var categoryid=-1; var aTag; tab=e.parentNode; //TR var aTag=tab; var leftpos=0; // var offsetHeight=10; var leftpos=0; var toppos=0; do { aTag = aTag.offsetParent; leftpos += aTag.offsetLeft; toppos += aTag.offsetTop; } while(aTag.tagName!="BODY"); var PopupHeight=254; var TotTop=tab.offsetTop+tab.offsetHeight+toppos; I haven't played much with this. Most of the code in the builder is very.... untidy!!.. and disorganised... You really will need to experiment a bit to get it looking perfect for your site.
  2. TENCENTS

    PC Pro Creator

    Cool, thanks!. I see it is working... nice job!
  3. TENCENTS

    PC Pro Creator

    MORE FIXES Assembly fee problem fixed and is now also show on the print-preview. These patches have been released as version 2.5.2 and is available in the downloads. The demo site is completely up to date.
  4. TENCENTS

    PC Pro Creator

    KNOWN ISSUES AFTER V2.5.1 - Things that still need to be sorted out. If assembly fees is switched off then the builder wont ‘add to cart’ – this seems to be an old problem as I have gone back to previous versions and found the same problem. How to speed up the products list popup – this is a separate file (prduct_list.php) and is called each time a component is selected. It seems that reducing the number of lines from 27 to 10, in compbuild and builder2, speeds up the popup list. But this setting should not be hardcoded, but rather set at the maximum number of builder categories. It is also not the root cause of the sluggishness. Dropping session id when adding to cart. (old problem) This is a good thing actually as two builds in a cart would be most confusing. This will be fixed in a major rewrite to make builds appear as products with attributes. Adding a lot more to settings in admin for all sorts of control over the builder frontend. Line prices in printout seem to differ from the currency used, eg. Set currency to euro, build an order and then print-preview it – you’ll see the total in euros but the line prices are in dollars. Builder total is not showing the currency symbol correctly, specifically, it does not convert € (for example) to the euro symbol, instead it just shows €, even though the rest of the builder shows the proper currency. I think this has something to do with the java side – the currency symbol needs to be determined before diving into java. Right now the quick fix is to insert the actual currency symbol into the currencies definitions – this can also be done by opening one of the currencies for editing and then just saving it straight away – the actual symbol will then be written to the file. We could alter the way osc admin saves the symbol but I’d rather not touch core files to fix a builder problem. Builder total does not seem to work if the line price goes into a second thousands separator – eg. 3446,455.88 will not be accepted – whereas 223,565.99 will. This was tested using the IDR (Indonesian) currency. :blink:
  5. TENCENTS

    PC Pro Creator

    Last minute patches - picked up (and corrected!) during the compilation of the 2.5.1 full installation package - and is now available in the downloads. These last minute changes fix problems with new installations and the recreation of the tables (if you ever delete them). Apply these changes for the sake of being fully up to date, other than that your existing builder installation will not benefit from it. NB: THESE CHANGES SHOULD ONLY BE APPLIED IF YOU HAVE PC BUILDER INSTALLED INCLUDING ALL UPGRADES AND PATCHES PRIOR TO THE RELEASE OF THE 2.5.1 FULL INSTALL PACK. #### STEP 1: Edit /catalog/includes/column_left.php ## FIND: if (substr(basename($PHP_SELF), 0, 9) != 'compbuild') { $builder_query_raw="select pc_use_software FROM " . TABLE_BUILDER_OPTIONS; $builder_query = tep_db_query($builder_query_raw); $builder = tep_db_fetch_array($builder_query); if (tep_db_num_rows($builder_query) > 0 && $builder['pc_use_software'] > 0) { include(DIR_WS_BOXES . 'compbuild.php'); } } ## REPLACE WITH: if (substr(basename($PHP_SELF), 0, 9) != 'compbuild') { include(DIR_WS_BOXES . 'compbuild.php'); } #### STEP 2. Edit /catalog/includes/boxes/compbuild.php ## FIND: ?> <!-- manufacturers //--> ## REPLACE WITH: if (mysql_num_rows(mysql_query("SHOW TABLES LIKE 'compbuild_options'"))==1) { $builder_query_raw="select pc_use_software FROM " . TABLE_BUILDER_OPTIONS; $builder_query = tep_db_query($builder_query_raw); $builder = tep_db_fetch_array($builder_query); if (tep_db_num_rows($builder_query) > 0 && $builder['pc_use_software'] > 0) { ?> ## FIND: <!-- manufacturers_eof //--> <?php // } ?> ## REPLACE WITH: <?php } } ?> #### STEP 3: Edit /catalog/admin/compbuild.php ## FIND: $messageStack->add_session("Database Tables not found!! - Click Update to Create the DB Tables", 'error'); ## REPLACE WITH: echo "<table bgcolor=\"red\"><tr><td><font color=\"yellow\"><b>" . TEXT_NO_TABLES . "</b></font></td></tr></table>"; #### STEP 4: Edit /catalog/admin/includes/languages/english/compbuild.php ## FIND: define('GLOBALS',"Global"); ## REPLACE WITH: define('TEXT_NO_TABLES',"Database Tables not found!! - Click Update to Create the DB Tables"); define('GLOBALS',"Global"); #### FINISHED! That's it, you're fully up to date now. :blush:
  6. TENCENTS

    PC Pro Creator

    ANOTHER QUICK PATCH Setting individual builder categories to have no dependence will give an error if the builder category points to a catalog category that only has products in its subcategories (ugh! - I dunno how to say that in english - read it fast you might understand what I'm trying to say). Anyway.. this will fix the problem: Edit /catalog/prduct_list.php FIND: if ($pc_use_dependence==1 && ($pcid[$_GET['row']] != $pcdcat[$_GET['row']])) { REPLACE WITH: if ($pc_use_dependence==1 && ($pcid[$_GET['row']] != $pcdcat[$_GET['row']]) && ($pcdcat[$_GET['row']] != 0)) { That's all... (for now).
  7. TENCENTS

    PC Pro Creator

    HERE ARE SOME QUICK FIXES !!! **** ATTENTION: h3rB and JIPANG **** There is definately an issue with currencies, and until it gets sorted out properly, these minor patches should fix them... FIXING THE CURRENCY SYMBOL My development site uses hard currency symbols, not the &currency; notation - so for pounds I have the pound symbol, and so on. The easiest way to obtain the symbol is to put your catalog into that currency, pull up one of the products and then do the famous cut 'n paste trick. FIXING THE BUILD TOTAL I have just discovered that leaving out the 'thousands separator' in the currency definition stops the builder from totalling up (at all). Not having dug any further I'm sure there are more issues like this. Anyway, to fix this in the meantime simply insert a comma or something into your currency definition's thousands separator. If it still gives trouble then I would suggest looking at my demo site's admin panel and compare it to what you have. The demo site works after I made these changes. POPUP MESSAGE FIX This popup used to work. I think it may have been up until I fixed the .00 problem a while back. Anyway, to get the popup (warning you that your total is zero) to work again, edit the following file: /catalog/build/builder2.php FIND: if (form.sum.value=="0"){ alert ("You must have products in order"); AND REPLACE IT WITH: if (form.sum.value<"0.01"){ alert ("You must have products in order"); That's it - things should start looking better now. B)
  8. TENCENTS

    PC Pro Creator

    Version 2.5.0 is available in the downloads. The matrix editor has been dollied up a bit and is a bit easier to use. Now you can change builder categories without having to leave the page, and you can select 'all builder' categories for the 'big picture'. The assembly fee category is no longer hard-coded, this can be set in the configuration. The builder settings have consolidated on one page - no more tabbing between category and dependency maintenance. The most significant change that you might not see is that the builder categories do not have to be in strict sequential order any more, i.e. 1,2,3,4,5... for the dependencies to work properly (oops, did I never mention this, ever..), now they can be in a loose sequential order, i.e. 3,5,9,13,24... which is quite handy really if you decide to insert a new category between say, 1 and 2, which would cause a bit of upheaval in your dependency settings, not to mention renumbering the remainder of the builder cats. Plenty more to say but it's all said in the 2.5.0 download. The demo site has also been updated - see my previous posts for the catalog and admin-side details.
  9. TENCENTS

    PC Pro Creator

    Hi, and thanks - this thing is going somewhere now. I have not looked into the currencies much but will do so asap - this is not the first time a currency problem has come up. About the problems you seem to be having with your categories - the compbuild_dependences table can get quite cluttered because poor maintenance scripts were in place to remove them if builder categories were deleted, renumbered, etc.. If you say you've reinstalled, does that mean you have cleared the tables too on each attempt... if not then I would suggest clearing the compbuild_dependences table and then redefine your product dependences. Otherwise, I'm not too sure really, I'll try to duplicate the problem and go from there. Oh, are you running your catalog in english ? In the meantime - and I'm not sure if it'll fix any of the problems you're having, but it will make things easier for you. Version 2.5.0 is out - see next post.
  10. TENCENTS

    PC Pro Creator

    I reckon it'll take a bit of optimising on the db-queries, but that's a little way off - there's a lot of 'bad' code. Right now I'm totally focussed on getting this beast to behave. I really like the idea of radio buttons - development will progress that way (if possible). Regards.
  11. TENCENTS

    PC Pro Creator

    That was covered in v2.4.0 - here's the fix: ##### STEP 9. Edit /catalog/compbuild.php ## FIND: (line 88) - THIS WAS MY FAULT - I LEFT A '?>' TAG BY MISTAKE </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> ?> <!-- header //--> ## REPLACE WITH: (if you haven't already) </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> ;) - sorry for the late reply - been bashing version 2.5 into shape - yo'l gonna like it.
  12. TENCENTS

    PC Pro Creator

    The instructions are very straightforward and 100% correct, so if you follow them to the T then I doubt you'll have any trouble. Make sure you download PC Pro Creator V2.3.5 - use this one! and start there. Then you can follow the upgrade path right up to the latest version. What you'll need to do then is make some new images that replace the ones in /catalog/build/img. You will need to change some texts in the language files /catalog/admin/includes/languages/english/compbuild.php and product_depends.php, and also in /catalog/includes/languages/english/compbuild.php. Then you might need to change some texts in the builder program (source) files too - just have a look at what the builder is showing you and then use something like TextPad to search and locate the 'offending' terminology. Just remember to backup - if you crash your system then just go back one step. The builder is transparent to the products and categories you have in your catalog (database) - in the builder settings in admin you simply point the 'builder category' to the 'oscommerce category' - set the dependancy categories for each one and then define your individual products dependencies with the matrix editor (or in the product edit page - if you wish). Remember that this 'PC Builder' is not specifically for PC's - it's just an easy way to 'place' this addon - cakes are no different really - you can't have cherries if you don't have the final layer or the icing for that matter. Same as you cannot have an AGP video card if you don't have a motherboard or a motherboard with an AGP slot. The only thing that makes this contrib specific to computer hardware is the terminology - change that and you have a different 'intelligent' products assembler. Give it a bash, I'm sure you won't have any problems - you're more than welcome to test the theory on the demo site - add some products and play with the builder settings, and the matrix editor too - the matrix editor is what ties everything together at an individual product level, here you tell it that red icing simply isn't a good color match for cherries. A simple important rule to remember is that the products listed down the left side are dependent on those listed across the top (use I.E. and not FF (yet)). By checking any particular box you are telling the builder that the product on the left side will only be made available (shown) when the product on the top has been selected by the visitor. So basically, when you're looking at one of the products on the top, all the checkboxes in that column (looking down) are the products that will be available when it has been selected. It works on multiple category levels too (I haven't tested how many), so if you have a category for toppings (and a bunch of subcats below that) you can point the builder category to it and the rest should fall into place (in the matrix editor and the frontend). If you don't want to charge for assembly then simply remove it using the builder settings in admin - it'll go away. Good luck with that... shout if you need some help.
  13. TENCENTS

    PC Pro Creator

    Version 2.4.1 has been posted in the downloads - and it might resolve this little issue of builder2.php (above). This is another upgrade so make sure you've got 2.4.0 in already. Read the instructions carefully, you can do the quick upgrade or the full upgrade which should take you less than 20 minutes anyway. Various issues have been sorted out; file handling conventions, the way builder2.php is included (man!!, why did we need all that extra code), version number discrepancy in admin, product edit links in the dependency matrix editor, and last but not least... the dropdown list in the builder frontend has been increased in length - and now you won't have any problem increasing it to whatever you want either. It seemed easy enough in the beginning, but now it actually works.
  14. TENCENTS

    PC Pro Creator

    Absolutely!!!
  15. TENCENTS

    PC Pro Creator

    Version 2.4.0 has been posted in the downloads. The dependency matrix editor is now a reality - and will save loads of time editing your individual product dependencies. I have updated the demo site so you can have a look - from the admin side goto the BUILDER SETTINGS, click the DEPENDENCIES tab, and then click one of the green PRODUCTS buttons. NB: Development in progress - more functions and cosmetics on the way - for now it works like a charm. Enjoy!
  16. TENCENTS

    PC Pro Creator

    I have installed a fresh copy of 2.2 MS2, downloaded the most recent builder 2.3.5 and plugged it in as per the instructions - I haven't done much else. The purpose of this site is for you to see the front-end and the back-end of the builder and to play around with it. The address is www.finchtech.co.za/demo The admin side is at www.finchtech.co.za/demo/admin USERNAME admin PASSWORD admin Disclaimer: I accept no responsibility for anything whatsoever. If the S' hits the F' I won't hesitate to shut it down. FYI: If the site gives trouble, etc.. etc.. just send me a personal mail (or something) - check my profile.
  17. TENCENTS

    PC Pro Creator

    Have you defined dependencies for the products as well? Edit (in admin) one of your products and have a look at the end of the page - you'll see something about dependencies. Here you will define which products it (the one you're editing) is dependant on. It eventually grows to a list - it's not pretty, but you'll figure it out. Plans are to dolly this up a bit and make it more user friendly. PLEASE NOTE: If a product is dependant on all the products in a particular category then you will need to define each one in - it's a beech but I've already been working on it - I will post updates soon to make maintenance a breeze.
  18. TENCENTS

    PC Pro Creator

    Update to V2.3.5 uploaded (again!) - this time the installation instructions have been revised - there were some things missing - and there were some bad things that would have p'd some people off. If you have already installed V2.3.5 (and the admin fix in the previous update) and have it running then don't bother with this installation - nothing else has changed.
  19. TENCENTS

    PC Pro Creator

    Update for 2.3.5 is available in the downloads. This will fix the error in admin when adding a new product.
  20. TENCENTS

    PC Pro Creator

    I am using the dependancies and they seem to be working fine. How to set them up properly is a learning curve but once you know how it all fits together it's quite easy.
  21. TENCENTS

    PC Pro Creator

    Version 2.3.5 has been posted in the downloads.
  22. TENCENTS

    PC Pro Creator

    Here is a link to the builder I've been working on. www.finchtech.co.za/catalog/compbuild.php The site is UNDER CONSTRUCTION. It is hosted in S.Africa so international access might be slow.
  23. TENCENTS

    PC Pro Creator

    Seems like a problem with the admin/includes/column_left.php file. Post it up here and I'll take a look.
  24. TENCENTS

    PC Pro Creator

    Sorry folks! I've been away for a while. I'm sure I can be of some help with this contrib..... I have spent a fair amount of time with this little monster and I will be publishing my work-in-progress so you can see it actually working (in english).
  25. TENCENTS

    PC Pro Creator

    Sorry!! - a small error in my previous posting..... ...that's prduct_list.php in the catalog root and not prduct_listing.php
×