Jump to content

TENCENTS

Members
  • Content count

    179
  • Joined

  • Last visited

Everything posted by TENCENTS

  1. TENCENTS

    PC Pro Creator

    Stop the press... version 3 has been released, but not as version 3.0.0. It has been released under a new name 'Custom Product Builder' as a brand new version 1.0.0. This is an important correction as this builder never really was strictly for PC's. You can find the download at: http://addons.oscommerce.com/info/6328 The new support forum is at: http://forums.oscommerce.com/index.php?showtopic=319216
  2. TENCENTS

    PC Pro Creator

    Oh wow! :( - we really need those thumbnails to work - I've tried everything I know to get them working - I hope someone with a bit more experience can help us out with this one. Your builder is suffering badly because of the images. I've just tested the cart function on your site now and it seems to be working fine.
  3. TENCENTS

    PC Pro Creator

    Thanks... I've jotted down a few but nothing really strikes me. The most important new feature is that it builds single products. Other than that, I've unleashed a set of controls that are gonna make your eyes water. Here is a list of the features I could say are worth mentioning: - Single and Bundle mode building - Customizable front-end and 'behind the scenes' operation - Independent timed auto disabling & deleting of old builds (after cart/checkout/abandoned builds) - Stock deduction and replenishing of products (as components) - Honouring of Specials, No-Stock and Disabled products (as components) - Prioritize component selections (with optional auto-clearing function) - Single mode build preview (before going to cart) - Builds appear in the cart as a single products with attributes And it's been tested on RC2a
  4. TENCENTS

    PC Pro Creator

    Oh yeah!, I'm finished... just doing some last tests before I let it go. But also, everytime we hit a bump with this one (the old one) I panic.... like RC2a compliancy (a good thing came out of that actually).... and now the pricing issue :huh: . I don't want to release the new one knowing that it's gonna be followed by a stream of patches. On the other hand, I guess I should just bite the bullet and let everyone take a copy, that way we'll nail all the bugs. I finished the install docs day before yesterday and have already plugged it into RCA2 - 20 minutes tops and without any problems. I was gonna release yesterday but the damned power cuts really pissed me off and I just wasn't in the mood. I still want to test on MS2 and then she can go. Maybe tonight. In fact I'll start that now and maybe release in about two hours from now - give it three for good measure. I started doing a manual but I really loath going into all that finicky detail, and I can be really nit-picky about that - my own worst enemy I am. So I hope nobody shoots me down for releasing it without instructions. I'll get 'round to it eventually. The best I could do was to remove some of the crypticism from the options. Heck... there's always the forum, and you can bet I'll be scouring that more than often after I release it - I know some people are gonna have a lot of questions. It's definately releasing as a new contrib - I'll be dropping a post on this forum with the those details. Good call..
  5. TENCENTS

    PC Pro Creator

    Me again... FYI: I found a small problem on my side but totally unrelated to the builder - mine is working perfectly. According to my calculations your Tax rate is 51% :blink: - is this correct? If you edit the product in admin is the price including tax the same as the product info page (front end)? Something about the tax rates is causing this 'miscalculation' you have reported. Please let me know how many tax rates you have defined, and what those rates are. If you want to you can PM me your admin address (incl. un & pw) - trust me - all I want to see is your rates and your currencies so that I can duplicate them on my side. If you are running on a 'localhost' then rather backup your DB, zip it up, and then PM that to me. Anything you send to me will be strictly confidential and I will destroy all traces of it when we have this problem fixed. Oh, and while I'm asking questions... you mention you still have two problems - is the second one still the 'add to cart' problem?
  6. TENCENTS

    PC Pro Creator

    Hi. Ooops!!!! :blush: I can confirm that there is something wrong, not exactly sure but I know I'll find it. Sorry I didn't reply yesterday, we had power cuts the whole frickin day. I'll be back soon with some answers and/or a solution.
  7. TENCENTS

    PC Pro Creator

    Hi David. It's a pleasure!! It sounds like you might have missed something - have you done all three edits I mentioned in posts 586, 589 and 590 - especially 589 which should have fixed the problems you're still having. I can't think of anything else. You might want to download the version 2.5.5. upgrade which includes all these changes, compare it to what you've got and then get back to me if you still have a problem.
  8. TENCENTS

    PC Pro Creator

    While I was compiling version 2.5.5 I saw something that reminded me of the problem you're having. Please make sure that your currencies have the actual currency symbol, i.e. it must not be a currency code like &<something>; Secondly, make sure all your currencies have a thousands point separator defined, i.e. do not leave it blank. I hope this helps - otherwise maybe pull it out and install the new version 2.5.5. (complete package)
  9. TENCENTS

    PC Pro Creator

    Version 2.5.5 is now available in the downloads. Both 2.5.5 upgrade and full install have been posted separately. ;)
  10. TENCENTS

    PC Pro Creator

    Hi, your english is fine. Just a few things I need to know before I can help. 1. Are you using Osc 2.2ms2 ? 2. Did you do a fresh install using Builder version 2.5.1 and then all the patches up to 2.5.4 ? 3. Is your site showing the correct default currency on the 'home page' (on first load) ? 4. In the builder (Showing USD) is your site still showing default currency as YTL (in the currencies info box) ? 5. Did you have any version of the builder installed before version 2.3.5 ? I'm not sure why it isn't adding to cart - do you have any other contribs installed ? As soon as I get your reply I will try to duplicate the problem to see how to fix it. Regards
  11. TENCENTS

    PC Pro Creator

    Here I go again... This will fix problems with the Dependence Matrix Editor and RC2a. ##### Edit /catalog/admin/product_depends.php ## FIND: // GET INCOMING BUILDER CATEGORY IDS AND OSC CATEGORY IDS $cID_osc = $osccat[$_GET['cID']]; $dID = $pcdcat[$_GET['cID']]; $dID_osc = $osccat[$dID]; ## REPLACE WITH: // GET INCOMING BUILDER CATEGORY IDS AND OSC CATEGORY IDS $cID = $_GET['cID']; $cID_osc = $osccat[$cID]; $dID = $pcdcat[$_GET['cID']]; $dID_osc = $osccat[$dID]; $manufacturer = $_GET['manufacturer']; $d_manufacturer = $_GET['d_manufacturer']; ##### Done! I hope I've nailed it now.
  12. TENCENTS

    PC Pro Creator

    Hey.. less serious than I thought. I'm not sure how it ever worked in MS2, some rules were taken for granted. Anyway, here's an additional fix for the Builder Options running on RC2a. I have not tested it on MS2 (or others) yet. ##### Edit /catalog/admin/compbuild.php ## FIND: // update options $cbcomp_query = tep_db_query("select * from " . TABLE_BUILDER_OPTIONS); ## REPLACE WITH: // FIRST GET POSTED VARS - SO THAT WE COMPLY WITH Osc-RC2a $pc_system_assembly = $_POST['pc_system_assembly']; $pc_assembly_osccat = $_POST['pc_assembly_osccat']; $pc_use_dependence = $_POST['pc_use_dependence']; $pc_use_software = $_POST['pc_use_software']; $delrow = $_POST['delrow']; $neworder = $_POST['neworder']; $newrow = $_POST['newrow']; $newimage = $_POST['newimage']; $newoscat = $_POST['newoscat']; $fromrow = $_POST['fromrow']; $torow = $_POST['torow']; // update options $cbcomp_query = tep_db_query("select * from " . TABLE_BUILDER_OPTIONS); ## FIND: <?php echo ' ' . tep_draw_pull_down_menu('pc_assembly_osccat', tep_get_category_tree(0, '', '0', '', false));?> ## REPLACE WITH: <?php echo ' ' . tep_draw_pull_down_menu('pc_assembly_osccat', tep_get_category_tree(0, '', '0', '', false), $pc_assembly_osccat);?> ##### Done!
  13. TENCENTS

    PC Pro Creator

    Hmm, okay, I knew it was too easy. The others are more serious problems, give me a day or two to sort this out. You might also notice that the Matrix Editor doesn't behave properly, but it does its job. I'll be back (soon maybe).
  14. TENCENTS

    PC Pro Creator

    Here's the fix for this problem: ##### Edit /catalog/admin/compbuild.php ## FIND: $temp1 = ${editid.$pcount}; $temp2 = ${editoscat.$pcount}; $temp3 = ${editimage.$pcount}; $temp4 = ${newdepcat.$pcount}; ## REPLACE WITH: $temp1 = $_POST{editid.$pcount}; $temp2 = $_POST{editoscat.$pcount}; $temp3 = $_POST{editimage.$pcount}; $temp4 = $_POST{newdepcat.$pcount}; ##### Done! Thanks David, the new builder will release as RC2a compliant - well at least it looks like it is. I like the way RC2 handles the register globals issue - the builder doesn't work with the register globals patch I'm running for MS2, but perfectly in RC2 without any patches.
  15. TENCENTS

    PC Pro Creator

    Me again... looks like the problem is with RC2a. Seems to be running perfectly on MySql5. I'll be back....
  16. TENCENTS

    PC Pro Creator

    Okay, first big difference is mysql - my local is running 4 and so is my host. :blush: guess I shoulda been keeping with the times. I'll get back to you soon on this problem. And Osc RC2, :huh: , I'll try that too. I know of no other contributions that are incompatible with this one, my development site has over 150 mods and patches from the osC repository plus a bunch of my own, the PC Builder fits in very nicely - no problems. The new builder is almost ready and will definitely be available this week so I'll make sure these findings of yours are no problem with it. FYI: The demo site is running the latest (98% complete) version, just admin to finish now.... Click here to go there now!, or to see the admin Click here (un:admin, pw:admin).
  17. TENCENTS

    PC Pro Creator

    Hi David, This is very strange. Which version of builder have you installed? I will try to duplicate the problem on my side.
  18. TENCENTS

    PC Pro Creator

    There is only one thing I can think of; are you clicking the 'update' button after changing these categories. If you are clicking the update button and the page refreshes with the old values then there is a problem. In fact any changes you make on the builder-categories definitions page must be saved by clicking the update button. You can make multiple changes to the form and save them all one time - so you don't have to save each change at a time. Have you tried it on the demo site? I've posted the links to catalog and to admin in this forum - check back a few pages. You are welcome to test it there.
  19. TENCENTS

    image code translation

    ...and so, what was it? I'm having similar problems with one particular line of code (similar to what you were battling with). I'm bashing my head against this wall and just can't figure it out. Looking at your posts I reckon you and I are in the same boat as this whole osc, php, etc.. development thing. What I'm trying to do is normally a simple edit, I've done hundreds of times, but for some frustrating reason nothing I'm throwing at it is working. The code in your posts looks very similar to mine so I believe I'm on the right path - just happy to have seen your posts and then got to the end, a dead end. Your help will be most appreciated, as I'm sure it will be by future developers. Thanks!! ;)
  20. TENCENTS

    PC Pro Creator

    I've just 'fixed' the session dropping problem. For those of you who want your visitors to stay logged on/in after they've sent their build to cart - here's the fix: .. (while fighting with the tep_href_link I discovered this by accident) .. In /catalog/build/builder2.php FIND: if (sact==2){ urltemp+=urltempammount; form.action=urltemp; REPLACE WITH: if (sact==2){ urltemp+=urltempammount+"<?php echo '&osCsid=' . $_GET['osCsid'];?>"; form.action=urltemp; Done! Dunno how 'legal' that is but it works!
  21. TENCENTS

    PC Pro Creator

    Thank you! 1. Radio buttons - if not now then definitely in the future. Wired2fire builder is offline right now, but I have been looking around. The way I would implement the radio buttons is to leave the popup list out, so as you select a component category the display beneath it expands to reveal the options (radio/checkbox/etc) - I could make all the options for every component appear on the builder but that would nail the server each time you changed one component - aah, that gives me an idea... watch this space. 2. Skinning - I'm not sure really, but I can tell you that at every opportunity I strip and rearrange code so that it conforms to the standard osc method - so whatever template system you may be using the builder could be modded to conform easily (or as per how the other php files do it). If not that then I'm sure we can look at reintroducing the skinnable feature that this contrib had, just in a better way. 3. Options - the list you see on the demo site is just a list of the options I've added as I've been tearing this thing apart. I want to rearrange this into sections (or block processes) like; global, builder, popup, assembly, product, cart. Whatever... maybe even have an advanced settings page - the laymans one will just have four big on/off switches.... I haven't even got there yet but you can be assured that it's gonna be something different :lol: - why be normal. Soon.... this week is quite possible. I'm about 90% there.
  22. TENCENTS

    PC Pro Creator

    This is a call for help. I know there are going to be two issues which will delay the absolute finalization of this contrib, and I would like to release it finalized. 1. tep_image function (functions/html_output.php) - the builder needs this to take advantage of sitewide thumbnailers - I have played around with it a bit and cannot get it to call the tep_image function properly. I am using OTF AutoThumbnailer 2.3 (its GD Lib and the way it must be I think). The builder file calling the images is prduct_list.php (and maybe builder2.php). 2. dropping session ID when clicking 'add to cart / build product' - this will be a major issue in the new release and it too must be working properly. The builder file doing the redirect is builder2.php. While I carry on wrapping the rest of this thing up I hope someone out there (with a bit of java under the belt) can provide the solutions to these two problems, before I do.
  23. TENCENTS

    PC Pro Creator

    Okay, I've updated the demo site with what I am busy doing for version 3. There's a lot going on and I'll get round to everything - especially the admin settings (grouping and ease of use/understanding). COMMENTS AND SUGGESTIONS ARE WELCOME !!! Let's get those bells and whistles in now while the time is right.
  24. TENCENTS

    PC Pro Creator

    Yeah, I know, they just keep adding up. That's why I've turned all my attention to v3 - I don't want to be 'patching' all the way up to where this thing needs to be. Version 2.5.4 is good - almost everything works properly. I will only be fixing serious problems with that while I work on the new one. Version 3 will most likely release as version 1 of a totally new contrib. I have taken this builder into a new dimension, far far away from being just a PC Builder, it is now a customizable custom products builder. And if I were to tell you about all the features I would be here for a long time. The builder configuration settings have gone from a measly 4 to 56 (and I have another 16 at least to add). It is incredibly customizable, giving you absolute control over every step of the building process - without having to dive into the code. It builds single or individual products, deducts stock of components, honors tax, specials, nostocks and disabled products, full control over the component and popup component images (on/off,size), the same for short descriptions (on/off,length), fixed or flexible component pricing. I'll see if I have time to update the demo site so you can see how far I am. Time... well, I cannot believe how much I've done already in the last week, I reckon I've got another week to go before it is squeaky clean.
  25. TENCENTS

    PC Pro Creator

    Create gdtest.php in your htdocs (root) folder, add the contents as follows: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>GD Info</title> <style type="text/css" media="screen"> body { font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; font-size: 12px; } div#centre { position: absolute; top: 50%; left: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; } div#list { width: 340px; border-bottom: 1px solid #ddd; padding: 2px; } p { color: #444; font-size: 130%; } span.success { color: #0a0; } span.fail { color: #e00; } span#labels { float: left; width: 300px; } </style> </head> <body> <div id="centre"> <p>GD is <?php if (function_exists("gd_info")) { ?> <span class="success">supported</span> by your server!</p> <?php $gd = gd_info(); foreach ($gd as $k => $v) { ?> <div id="list"> <span id="labels"><?php echo $k; ?></span> <?php if ($v) { ?> <span class="success">Yes</span> <?php } else { ?> <span class="fail">No</span> <?php } ?> </div> <?php } } else { ?> <span class="fail">not supported</span> by your server!</p> <?php } ?> </div> </body> </html> Now run it in your browser (eg. www.yoursite.com/gdtest.php or localhost/gdtest.php) This will tell you if GD is working. You could also try creating another php file - server_info.php and put this in it: <?php phpinfo(); ?> That'll tell you if GD is actually installed - somewhere in all that info.
×