Jump to content

TheFinnisher

Members
  • Content count

    143
  • Joined

  • Last visited

Everything posted by TheFinnisher

  1. Does anyone have current Japanese language pack for osCommerce MS2? The only thing I found was a very old Japanese lang pack for osC MS1. I'm also wondering if anyone has any good tricks for translating files? I'm specifically interested to learn how people go about having files translated by someone who might not have web development software or understanding. Thanks in advance!
  2. Hello, I am experiencing the same difficulty that Ryan did one the page before this: The Order Process doesn't include Billing and Shipping information. Additionally I'm also having the problem where the e-mail has the heading within the e-mail... Has anyone figured out how to fix this?
  3. I was talking about SSL errors and not SQL. The solution to the SSL error is posted within this forum not too long ago.
  4. I was able to fix the SSL errors many have faced in this forum...I still get a message though such as: Would you like to dissplay some of the unsecure items... I think it is because of the folder images in the lister and viewer file... Has anyone figured this out?
  5. TheFinnisher

    PayPal_Shopping_Cart_IPN

    Why is it so difficult to pass the phone number? I am trying to figure out if it would be possible to create a form that would pass the credit card information as well. I tried to pass the credit car information according to the PayPal parameters but they weren't included either... Any ideas on this? Thanks
  6. Hmmm... It's strange but I did do this to the two files (ot_coupon.php and ot_gv.php) and I managed to get everything to work! It's probably a VERY bad way of doing it but strangely enough it seems to work. I just added: $order->info['total'] = $order->info['total'] - $od_amount; //added hack for putting contingency before sub-total TN [COLOR=red]$order->info['subtotal'] = $order->info['subtotal'] - $od_amount;[/COLOR] //EOF hack into both files and it seems to work. I am running MS1. Now the only problem I have is with the rounding of sums. I ended up using the following fuzz solution to get the sums to round properly. The round() function may indeed work properly with half-values (eg. 1.5), but this little method will give you peace of mind. Add some "fuzz" to your function with a miniscule delta value. $delta = 0.00001; $x = round($x+$delta); Found on: http://www.php.net/round Any thoughs on this?
  7. Hello, I have browsed through most of this forum but have not found any request for the following modification: Basically I need to modify both the discount coupon and credit voucher to subract from the sub-total rather then the total. REASON: When using Linkpoint API the sub-total, shipping, tax, and total must match for the order to be processed. I need some expert help on this to be able to update my Linkpoint Cardservice contribution at: http://www.oscommerce.com/community/contributions,596 There was a member who submitted a hack to me that I included in the contribution. However, now I started using the GV contribution myself and I noticed some flaws in this hack. First of all. This member's hack seems to work fine when using only one of the g.voucher or dicount coupon. But if the customer tries to use both with the same purchase the amounts don't add up properly. This was the solution that the other member sent me and that I included in the Linkpoint contribution: Simple really, just had to figure out the "PHP" way to do it. Just a couple of edits so I won't include full files. In /catalog/includes/modules/order_total/ot_coupon.php: Find lines: if ($od_amount > 0) { $order->info['total'] = $order->info['total'] - $od_amount; Add this line right after: $_SESSION['od_amount'] = $od_amount; In /catalog/includes/modules/ot_subtotal.php: Find lines: function process() { global $order, $currencies; Add right after: $od_amount = $_SESSION['od_amount']; $subtotal = $order->info['subtotal'] - $od_amount; $order->info['subtotal'] = $order->info['subtotal'] - $od_amount; Then, make sure the sort order of the payment lines (via OSCommerce admin site) puts discount before subtotal. Essentially, I just used the global PHP session to make the discount amount available in the standard subtotal routine. There may be more correct ways to do it but it works. The reason why this doesn't work is that when you add the same session function: $_SESSION['od_amount'] = $od_amount; to the ot_gv.php only the first is beeing picked up for use. I have now tried various ways, but nothing seems to work. This was one thing I tried: //ONE WAY TO DO IT added hack to put cv and discount before sub-total TN //$od_amount_coupon = $_SESSION['od_amount_coupon']; //$od_amount_gv = $_SESSION['od_amount_gv']; //$subtotal = $order->info['subtotal'] - $od_amount_coupon - $od_amount_gv; //$order->info['subtotal'] = $order->info['subtotal'] - $od_amount_coupon - $od_amount_gv; //EOF hack and the codes I added to the ot_gv.php and ot_discount.php were: $_SESSION['od_amount_coupon'] = $od_amount; and $_SESSION['od_amount_gv'] = $od_amount; Now this actually worked but then I realized that for some reason when dealing with the session function. The discounts would try to register when I came back (without me even choosing the (ticking the box)). Another thing I tried was to change where the GV's were subtracting from the total: from: $order->info['total'] = $order->info['total'] - $od_amount; to $order->info['subtotal'] = $order->info['subtotal'] - $od_amount; and this put the proper sun in the subtotal each time. However now the total didn't add up right. So what to do? How is the total added up? Could I not change the total to calculate itself according to the discounted sub-total? I would GREATLY appreciate any advice! Thanks, Thomas
  8. TheFinnisher

    NewsDesk -- future releases + information

    Hi Carsten & Emiliano, I've got too many projects going on. If I could only get some of them fiNNished. Hey I was wondering if you could send me some of the MS2 compatible files you've been working on? I would love to get started on making it work with the non-profit bicycling organization I volunteer with. I think your design will work great for it. Basically I am planning to use the same design like I do now but with the newsdesk implementation for every page and every article. It will be more like a Pagedesk if you will. I would appreciate any help... My e-mail address is: thomas (at) thefinnisher.com and the biking site is: www.flagstaffbiking.org I will have to get moving on this project. We are supposed to start processing memberships online in just 8 days from now... Thanks, Thomas
  9. Gabriel, Go into your admin panel and under the modules box. Find the discount coupon and gift voucher. activate them and sort them as you wish. I have them set-up like this: 1 Subtotal 2 Shipping 3 Tax 4. Discount Coupons 5. Gift Vouchers The numbers represent the sort order number. Hope that helps!
  10. I fear that maybe my question was shadowed by Gabriel's post abou the mystical missing redeem button. Jason, would you possibly have an answer for me if it is possible to make changes so that the GV can be applied towards shipping costs as well? Thanks a bunch! Gabriel, How is your problem going? Are you having any luck?
  11. Gabriel, That's the strangest. I created a Test Person as a customer on your site and I didn't see the button_redeem.gif either. I am on Internet Expolorer 6.0. When I tried to check out an item I saw the button in the source code: <input type="image" name="submit_redeem" onClick="submitFunction()" src="includes/languages/english/images/buttons/button_redeem.gif" border="0" alt="IMAGE_REDEEM_VOUCHER" title = "IMAGE_REDEEM_VOUCHER"> It seems like you have forgotten to define the button in your language file...but that shouldn't prevent us from seeing the image. I think! On my page the same source code is: <input type="image" name="submit_redeem" onClick="submitFunction()" src="includes/languages/english/images/buttons/button_redeem.gif" border="0" alt="Redeem your voucher by clicking here. Then check the checkbox above, choose payment and continue" title = "Redeem your voucher by clicking here. Then check the checkbox above, choose payment and continue"> Sorry, I can't give you a deffinite answer right now. Keep working on it! Maybe Strider will have an answer for ya! Please let me know how it goes.
  12. Gabriel, I looked into your /catalog/includes/languages/english/images/buttons/ and you seem to have forgotten to upload the button_redeem.gif into the English folder. The image does rightfully exist in the german language folder. Is that screenshot of yours taken when trying to check-out in English language mode? What about when you try to check-out in german language mode? Does your image show up then? If so then just upload the button_redeem.gif to your English language folder and you should be good to go. If it's a PHP related problem I'm afraid I'm not much of help...
  13. Gabriel, What buttons are you missing? PM me with your e-mail address and I should be able to send them to you...
  14. I've installed the contribution successfully. Works like a treat! Thanks to all who contributed!!! I'm just wondering. I would like to change it so that the gift voucher actually apply towards the shipping cost as well. How would I make it do this? Thanks for any advice, Thomas
  15. Look in includes/add_ccgvdc_application_top.php Find these and change accordingly: // Set the amount of a Gift Voucher that the new signup will receive, set to 0 for none define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '0'); // // Set the coupon ID that will be sent by email to a new signup, if no id is set then no email :) define('NEW_SIGNUP_DISCOUNT_COUPON', '');
  16. TheFinnisher

    NewsDesk -- future releases + information

    Hello Carsten! I am currently trying to implement your newsdesk into a content management system. It's for a long time volunteer project. The site has grown tremendously and it's too time consuming for myself and another member to update things manually. I've looked into using some CMS like Nukes but they just have waaay to many feautures and it all is kind of confusing. Instead, and since i am learning more and more about osC i'm thinking of using osC as a base for the site. Plus we'll have the possibility to get online contribtions and sell support memberships. I would really like to see a MS2 version. I have used MS1 in my first two projects but now I would like to update to MS2. maybe I modify the code to MS2. (but it won't be fast because I'm very slow with PHP) One of the things I would like to implement into this Newsdesk...is have a way for many contributing writers to supply their own columns. Maybe just something simple non-related to the osc admin panel... I would like to make it so that users can update their articles depending of their "sub-category". I suppose when building the news-update for contributers i could have a separate sql command depending on what "news group" they are updating the article... Just some thoughts. I am not jumping into this. just trying to do a little bit every day... by the way...Your newsdesk has worked wonderfully for me! :) The two sites I have "almost' got done that use your contribution are: http://www.crstires.com and http://www.mtnchristmas.com Thanks a lot :!:
  17. TheFinnisher

    User Tracking with Admin 1.31 Released

    Howdy! I was having that "tep_parse_category_path" problem as well when I had the config in admin panel to record Administrator clicks. As soon as I set this to false i didn't get the error. Not a big deal, because why would I want to track my own path? But it bugged me that there was this error when Admin set to True... I tried the 110 % solution Mr. Druide Patience is a Virtue presented on an earlier page: http://forums.oscommerce.com/viewtopic.php...ypath&start=170 but it didn't solve my problem. By adding a similar user_tracking.php to admin/includes/functions you only solve one problem. There is no "tep_parse_category_path" function in the admin files: application_top.php or general.php which is what the error is referring to. I don't know how to add those functions or change things around. I did something though which seems to take the error away...and i am getting Admin user tracking (but that is only because I have not included my own IP number). This is what I did: I checked up how the admin filed were handling the cPath's. Then I changed the uploaded from the catalog directory to admin directory admin/includes/functions/user_tracking.php as follows: $cPath_array = tep_parse_category_path($cPath); $cPath = implode('_', $cPath_array); to: $cPath_array = explode('_', $cPath); Opinions from people who -> know <- php would be appreciated! :P
  18. TheFinnisher

    [Contribution] Family Products-MS2

    Antonio, You need to specify the: FILENAME_FAMILY_PRODUCTS in your. includes/filenames.php This is what you should add (or upload the file Matti supplied HOWEVER ONLY IN A FRESH INSTALL!) // Family Products define('FILENAME_FAMILY_LISTING', 'family_listing.php'); define('FILENAME_FAMILY_PRODUCTS', 'family_products.php'); // Family Products EOF You can see the relation...PHP doesn't know what file to open unless you specify the definiton.
  19. TheFinnisher

    Linkpoint integration problem

    Eli, I have a working module. I am going to write the installation advice for it and then shortly post it as a contribution. If you want I can e-mail the module (containing everything except the .pem file) to you. Please PM me your e-mail or post it here. Don't worry, it is extremely easy to get to work. Thomas
  20. TheFinnisher

    [Contribution] Family Products-MS2

    Hey Matti, That looks like a great contribution. Just what I was looking to do a coupple of months ago but didn't have enough knowledge yet. I was actually trying to work on this again a few nights ago. I always wanted an optional way to display different sizes rather than using "attributes". Attributes can get messy sometimes if you have waaay to many of them! and then of course you don't have the ability to put one of those sizes on special... I was wondering. Have you ever used or seen the "Add multiple products" contribution? http://www.oscommerce.com/community/contributions,1129 I think this contribution would be beyond great if it was possible to add quantity boxes in a column and a add to cart at once. It seems like it wouldn't be that difficult. The "add multiple products" uses a form and just some additions to the application_top.php page... I'll have to look into it more tomorrow... Just wanted to stop by and say how wonderful I think it is that someone finally did add feautures to the otherwise to well functioning family contribution! by the way, in my case i would rather go without filtering the showing product... Thanks Matti! You'r great! :P Thomas
  21. Has anyone here stumbled upon this?? The separate/individual prices show up fine everywhere and are processed properly. Only in the shopping cart the sub-total is calculated by the "real" prices... or is it only me?
  22. TheFinnisher

    Seperate Pricing Per Customer v3.5

    POSSIBLE BUG! Does anyone else recognize this problem? The shopping cart recognizes an individual price purchase right. BUT the calculation of the sub-total seems to be according to the "retail" or normal price... The checkout proceeds as it is supposed to. but it would still be nice to get the item prices agree with the sub-total in the shopping_cart.php page. Am I the only one who has this problem? If not, could someone have a look at it? I think this is the area to change. but unfortunately my php is still on the learning stage... function show_total() { $this->calculate();
  23. TheFinnisher

    version 1.4 -- NewsDesk released!

    Dan, http://www.oscommerce.com/community/contributions,934
  24. TheFinnisher

    version 1.4 -- NewsDesk released!

    Hello Carsten and Newsdesk fans, This contribution is great! Just wanted to say it once again. I have customized the looks of each news article a little and now I'm thinking of utilizing the contribution (and osCommerce) in one of my first web projects. It's a volunteer web site I created for a organization that promotes bicycling in Flagstaff, AZ. The problem with this site is that it is growing so fast, and everything is in plain HTML. It takes forever to create new pages and I'm mostly the only person who can do updates. :( I have been looking into the CMS programs such as Nukephp etc. but I think they are too complicated. They have a ton of feautures that I don't really want to have. And I find them hard to customize. Whereas I have learned to customize osCommerce quite a bit. Plus, in the future we may want to do fundraisers etc. online and then it wouldn't hurt to have the shopping feautures of osCommerce. :) Now this is what I am planning and thinking of. Let me know what you think. But basically I think Carsten's newsdesk contribution would work great for managing the content of pages around the site. For instance we have column writers that then could write and post their own articles. (and even include 3 images of their own!). My only question is: Would it be possible to make "just a user panel for each columnist writer"? I wouldn't want them to have access to any of the other store features as you can understand. And could I use just one newsdesk module and then have column writers etc. upload their stories into thei own subcategory? I was thinking I could use the Administrator access contribution and make separate newsdesk modules and tables. For example: Newsdesk1, Newsdesk2, Newsdesk3, and on. for each writer. What do you think about this? I love the way this contribution works! If you want to have a look at the current FlagstaffBiking.org page you can. It's not an osCommerce store yet. But I'm plannning to re-do it very soon. http://www.flagstaffbiking.org Thanks in advance for any opinions! Thomas
  25. TheFinnisher

    version 1.4 -- NewsDesk released!

    Adam, You could do this in includes/classes/boxes.php. Specify a new box or a new css class. Then add another css box style in your stylesheet. i.e infoBoxYOURCOLOR and infoBoxContentsYOURCOLOR Hope that helps!
×