Jump to content

snuff

Members
  • Content count

    74
  • Joined

  • Last visited

Everything posted by snuff

  1. Hello Anybody and Everybody! I am stuck, need a lift. I installed the VVC code mod and it works great in the create_account portion of my site. My problem is that I want to use it also in the email (contact_us) and tell-a-friend sections. I have NO worthwhile knowledge of PHP (except how to spell PHP) but I can follow good directions. To this point I have the VVC "code box" and "code" appearing in my email page, so that far I have reached (pure luck), but it does not work properly. I type the code wrong and the email still goes fine and the "success" page arrives, it does not error out. If someone could advise me of what/where I need to do, I'd appreciate it. Site: t-nuts.com/catalog running MS2 with some CVS 1/15/03 PHP 4.1.2 Zend 1.1.1 Thanks in advance --Jeff
  2. snuff

    Visual Verify Code (VVC)

    I'll run through the latest versions and see if they break my site. If so, maybe installing the older versions would fix some problems?
  3. snuff

    VVC: working, but not properly

    Briana and Steve, Are you still having the problem, if so what version did you install and what server components are you running (ie PHP version, etc)? I have it working fine on my site and might be able to compare your files with mine to see where the problem might be if needed.
  4. Funny. My IPN stopped working too. I know it's not my system, or my modules, or my ISP (I own my own ISP, I am the ISP), nothing has changed on my system in 6 months, and up until this last week, everything was fine. Methinks Paypal did something. (Again. This has happened before.)
  5. snuff

    Visual Verify Code (VVC)

    Henry, I also run Supertracker and update the Spiders.txt, and I have a Price Breaks contrib, but I am not sure what SPPC is (for the 3 you mention). Mine works fine. Can you link me to the SPPC part (or tell me what it is) so I can check into it? Maybe I'll load the same thing up and see if mine breaks.
  6. The instructions still conflict with the catalog/includes/GeoIP.dat and "step 5" admin/includes/GeoIP.dat. Just a little bug note. Guess the "step 5" should match the prior. I like this contrib! Super cool!
  7. snuff

    Automated FedEx Labels

    Yup, Fedex labels image broke here too, no changes to my site in six months, working fine until the past 2 days. IE or Firefox, no matter. Fedex, what did you do? :blink:
  8. snuff

    USPS Priority Mail prices really high!!

    Your price should be 3.85 for Priority. Is it quoting you the Express price? That sounds like Express mail (overnight).
  9. Regarding CCGV and "buy three get one free" method of operation, it doesn't work that way. However, you can easily install the Price Breaks mod which works fine with CCGV (my site has both) and in that PB mod you can establish price breaks for your product at your desired qtys. {example}What you would do is establish your price breaks at qty 1,2,3= $1.00 and your price for 4 = $.75, which would = 4 for $3.00 and only when you buy 4. Quantity Price Breaks per product
  10. snuff

    [Contribution]Paypal IPN - Devosc

    OK, and now it's working. I did nothing, so I am assuming that Paypal had issues that are now resolved, or being resolved, either way it is working fine. Received IPN info into cart admin and the usual Order confirm emails. Who knows? (Betcha Paypal does <_< ).
  11. snuff

    [Contribution]Paypal IPN - Devosc

    Make that Three! I have the same issue, no Paypal IPN info inserted in the order, shows Pending, Paypal account shows the transaction OK. I have made NO site changes in the time frame of this starting to happen, so I'm wondering if Paypal made a code change?
  12. Is the issue of "0-weight product w/ attributes still asking for shipping page" fixed? I thought I saw Strider mention that it was fixed in test code, and I'm wondering if there is some code to put in 510c that would fix it? My CCGV works great in all but the items with 0 weight + attributes.
  13. Quick easy fix. Now, might you know this one? I don't (yet): Main categories (level 0) display fine. Subcategories (level 1) display fine. Sub-subcategories (level 2) display in the same <tr> as level 1 subs. Id there a way to make a new <tr> for level 2, then level 3, etc sub-subcategories? That way each succeeding subcategory level of the prior (sub)category would display another line below. Any ideas?
  14. snuff

    Visual Verify Code (VVC)

    Loaded the full package up to the contribs directory. It includes all original .php files modified for VVC and README for create_account, contact_us, tell_a_friend for 2.2 MS2. I can provide further modified versions of these for people wanting a different layout, different texts, etc. It is pretty easy to modify the layout to have it appear the way you want. Thanks Bill! :thumbsup:
  15. snuff

    Visual Verify Code (VVC)

    Leon, give this a shot: tell-a-friend.php, starting near line 65, with fore and aft code: if (!tep_validate_email($to_email_address)) { $error = true; $messageStack->add('friend', ERROR_TO_ADDRESS); } //VISUAL VERIFY CODE start require(DIR_WS_FUNCTIONS . 'visual_verify_code.php'); $code_query = tep_db_query("select code from visual_verify_code where oscsid = '" . $HTTP_GET_VARS['osCsid'] . "'"); $code_array = tep_db_fetch_array($code_query); $code = $code_array['code']; tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); //remove the visual verify code associated with this session to clean database and ensure new results $user_entered_code = $HTTP_POST_VARS['visual_verify_code']; if (!(strcasecmp($user_entered_code, $code) == 0)) { //make the check case insensitive $error = true; $messageStack->add('friend', VISUAL_VERIFY_CODE_ENTRY_ERROR); } //VISUAL VERIFY CODE stop if ($error == false) { $email_subject = sprintf(TEXT_EMAIL_SUBJECT, $from_name, STORE_NAME); $email_body = sprintf(TEXT_EMAIL_INTRO, $to_name, $from_name, $product_info['products_name'], STORE_NAME) . "\n\n"; if (tep_not_null($message)) { $email_body .= $message . "\n\n"; } near line 199 AFTER adding the above code: <tr> <td class="main"><?php echo FORM_FIELD_FRIEND_EMAIL; ?></td> <td class="main"><?php echo tep_draw_input_field('to_email_address') . ' <span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>'; ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo VISUAL_VERIFY_CODE_CATEGORY; ?></b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="2" cellpadding="2"> <tr> <td class="main"><?php echo VISUAL_VERIFY_CODE_TEXT_INSTRUCTIONS; ?></td> <td class="main"><?php echo tep_draw_input_field('visual_verify_code') . ' ' . '<span class="inputRequirement">' . VISUAL_VERIFY_CODE_ENTRY_TEXT . '</span>'; ?></td> <td class="main"> <?php //can replace the following loop with $visual_verify_code = substr(str_shuffle (VISUAL_VERIFY_CODE_CHARACTER_POOL), 0, rand(3,6)); if you have PHP 4.3 $visual_verify_code = ""; for ($i = 1; $i <= rand(3,6); $i++){ $visual_verify_code = $visual_verify_code . substr(VISUAL_VERIFY_CODE_CHARACTER_POOL, rand(0, strlen(VISUAL_VERIFY_CODE_CHARACTER_POOL)-1), 1); } $vvcode_oscsid = $HTTP_GET_VARS['osCsid']; tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); $sql_data_array = array('oscsid' => $vvcode_oscsid, 'code' => $visual_verify_code); tep_db_perform(TABLE_VISUAL_VERIFY_CODE, $sql_data_array); $visual_verify_code = ""; echo('<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"'); ?> </td> <td class="main"><?php echo VISUAL_VERIFY_CODE_BOX_IDENTIFIER; ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo FORM_TITLE_FRIEND_MESSAGE; ?></b></td> </tr> Hope this helps! I can also provide the original files for contact_us and tell_a_friend or the original code (as mine in previous posts was modified). :thumbsup:
  16. snuff

    Visual Verify Code (VVC)

    I'll check into it, but don't wait on me if you can figure it out yourself. I am pretty busy in that thing they call a day job, so I do need to make them think I actually work. I'll try to hop on it asap though...
  17. edit: (it would help for me to add text before I push "submit" :blush: ) Just wondering how this has worked out for you in the past few days? Have you had a chance to prove your mod? If so I think I may add it also, as I use ECHO and EDIT, but have not had your same issue (I do my stuff through ECHO instead, manually, if I have these come up, which has only been 1 so far!)
  18. I have the same problem too, I just haven't fixed it yet. If/when I do I will post the fix. Unless someone beats me to it!
  19. snuff

    Visual Verify Code (VVC)

    My site code using VVC, I have included some fore code and post code surrounding the actual VVC code so you can see the placement in context. My Contact Us, 2 sections: Section 1, near line 20-30: (!!!notice my /* and */ within the code, take them out if you use it!!!) ? ?if (tep_validate_email($email_address) == false) { ? ? ?$error = true; ? ? ?$messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); ? ?} //VISUAL VERIFY CODE start /* ?require(DIR_WS_FUNCTIONS . 'visual_verify_code.php'); ? ?$code_query = tep_db_query("select code from visual_verify_code where oscsid = '" . $HTTP_GET_VARS['osCsid'] . "'"); ? ?$code_array = tep_db_fetch_array($code_query); ? ?$code = $code_array['code']; ? ?tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); //remove the visual verify code associated with this session to clean database and ensure new results ? ?$user_entered_code = $HTTP_POST_VARS['visual_verify_code']; ? ?if (!(strcasecmp($user_entered_code, $code) == 0)) { ? ?//make the check case insensitive ? ? ? ?$error = true; ? ? ? ?$messageStack->add('contact', VISUAL_VERIFY_CODE_ENTRY_ERROR2); ? ?}*/ //VISUAL VERIFY CODE stop ? ?if ($error == false) { ? ? ? ? tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); ? ? ? ? tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); ? ?} ?} ?$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> Section 2, near line 140-150 (!! again, the /* */): ? ? ? ? ? ? ? ?<td class="mainbold"><?php echo ENTRY_ENQUIRY; ?></td> ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ?<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> ? ? ? ? ? ? ?</tr> ? ? ? ? ? ?</table></td> ? ? ? ? ?</tr> ? ? ? ?</table></td> ? ? ?</tr> ? ? ?<tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ?</tr> <!-------------------------------------------------------------------- --> <!-- ?VISUAL VERIFY CODE start --> ?<?php /* ? ?<tr> ? ? ? ?<td class="mainbold"><?php echo VISUAL_VERIFY_CODE_CATEGORY; ?></td> ? ? ?</tr> ?<tr><td class="smallText"><?php echo VISUAL_VERIFY_CODE_HINT; ?></td> ?</tr> ? ? ?<tr> ? ? ? ?<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxContents"> ? ? ? ? ?<tr> ? ? ? ? ? ?<td><table border="0" cellspacing="2" cellpadding="2"> ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ?<td class="main"> ? ? ? ? ? ? ? ? ?<?php /* ? ? ? ? ? ? ? ? ? ? ?$visual_verify_code = substr(str_shuffle (VISUAL_VERIFY_CODE_CHARACTER_POOL), 0, rand(3,6)); //if you have PHP 4.3 ? ? ? ? ? ? ? ? ? ?//$visual_verify_code = ""; ? ? ? ? ? ? ? ? ? ?//for ($i = 1; $i <= rand(3,6); $i++){ ? ? ? ? ? ? ? ? ? ? ?// ? ?$visual_verify_code = $visual_verify_code . substr(VISUAL_VERIFY_CODE_CHARACTER_POOL, rand(0, strlen(VISUAL_VERIFY_CODE_CHARACTER_POOL)-1), 1); ? ? ? ? ? ? ? ? ? ? //} ? ? ? ? ? ? ? ? ? ? $vvcode_oscsid = $HTTP_GET_VARS['osCsid']; ? ? ? ? ? ? ? ? ? ? tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); ? ? ? ? ? ? ? ? ? ? $sql_data_array = array('oscsid' => $vvcode_oscsid, 'code' => $visual_verify_code); ? ? ? ? ? ? ? ? ? ? tep_db_perform(TABLE_VISUAL_VERIFY_CODE, $sql_data_array); ? ? ? ? ? ? ? ? ? ? $visual_verify_code = ""; ? ? ? ? ? ? ? ? ? ? echo('<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"'); ? ? ? ? ? ? ? ? ??> ? ? ? ? ? ? ? ?</td> ? ?<td class="main"><?php echo VISUAL_VERIFY_CODE_TEXT_INSTRUCTIONS; ?></td> ? ? ? ? ? ? ? ?<td class="main"><?php echo tep_draw_input_field('visual_verify_code') . ' ' . '<span class="inputRequirement">' . VISUAL_VERIFY_CODE_ENTRY_TEXT . '</span>'; ?></td> ? ? ? ? ? ? ? ? ? ?<!-- ? ? ? ? ? ? ? ?<td class="main"><?php //echo VISUAL_VERIFY_CODE_BOX_IDENTIFIER; ?></td> --> ? ? ? ? ? ? ?</tr> ? </table> ? </td> ? </tr> ? <!--<tr> ? ?<td class="main"><table border="0" cellspacing="2" cellpadding="2" class="infoBoxContents"> ? ? ? ?<tr> ? ? <td class="main"><?php echo VISUAL_VERIFY_CODE_REFRESH; ?></td> ? ? ?</tr> ? ?</table> ? ?</td> ? ? ?</tr>--> ? ? ? ?</table></td> ? ? ?</tr> ? ? ?<tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ?</tr> */ ?> <!-- ?VISUAL VERIFY CODE stop ? --> <!-------------------------------------------------------------------- --> ? <tr> ? ? ? ?<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> ? ? ? ? ?<tr class="infoBoxContents"> ? ? ? ? ? ?<td><table border="0" width="100%" cellspacing="0" cellpadding="2"> ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ?<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> ? ? ? ? ? ? ? ?<td align="center"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> ? ? ? ? ? ? ? ?<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> ? ? ? ? ? ? ?</tr> ? ? ? ? ? ?</table></td> ? ? ? ? ?</tr> ? ? ? ?</table></td> ? ? ?</tr> ? <tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> My /includes/languages/english.php defines for VVC (modified from original, notice the character pool): // For the Visual Verify Code define('VISUAL_VERIFY_CODE_CHARACTER_POOL', 'abcdefghijklmnpqrstuvwxyz23456789FJWNVB63HLAJAF'); ?//no zeros or O define('VISUAL_VERIFY_CODE_CATEGORY', 'Verify security code'); define('VISUAL_VERIFY_CODE_ENTRY_ERROR', 'The security code you entered did not match the one displayed. Please re-enter your State/Province, Password, and Security Code. Code does not have spaces or special formatting. Characters only.'); define('VISUAL_VERIFY_CODE_ENTRY_ERROR2', 'The security code you entered did not match the one displayed. Please Re-Enter the Code, enter only characters, do not include spaces or special formatting'); define('VISUAL_VERIFY_CODE_ENTRY_TEXT', '*'); define('VISUAL_VERIFY_CODE_HINT', 'Enter characters only, ignore case and formatting (no spaces, etc). Refresh to change code.'); Now, do remember, this is quite modified from the original. Bill Peer did help me quite a bit on my install (THANKS BILL!!) and I may be able to find his original text code he sent me, so if you need it, let me know. Bill is very busy, at least he was months ago when I contacted him, so don't feel like he doesn't care, he's actually quite an awesome guy and he was very helpful. Hopefully I can help carry some of that load off his schedule and help you out. If you need any other code, or have any Q's, let me know. :thumbsup: edit: I can also turn my site VVC back on so you can see what mine looks like, let me know if you need/want that.
  20. snuff

    Visual Verify Code (VVC)

    Lee, I have it on my site in Contact Us and Accounts....however you can't see it as I have disabled it temporarily. I don't use it in tell-a-friend but I am guessing the implementation would be similar to Contact Us. I also modified my version slightly to account for those who have trouble reading text (go figure, but they are out there). I will post the info here shortly. --Jeff
  21. snuff

    Livehelp - what do numbers mean?

    Not sure why, but if I log onto my own homepage, and see myself in the chat admin, the "number" increments up each time the chat refreshes, if I'm chatting to myself or not, changing pages or not. It just goues up by itself. I don't care if it does or not, I ignore that number anyway, just thought it odd. :)
  22. If my weights are under or over 1 lb (some are 10 oz ranging up to 3 lbs), I still get the same output: 2 oz in the USPS page. Not knowing php enough to fix it, is it pulling individual weights and addidng them or is it taking the "order total" weight and using that?
  23. After installing 1.7, I have found that the shipping weights on the USPS page are not correct. The page is showing 0 lb 2 ounces when the actual weight in my system is near 1.0 lb. Any ideas on where to look? --Jeff
  24. snuff

    PayPal_Shopping_Cart_IPN

    Which CCGV are you using? I have Strider's CCGV 510b on my system with Greg's IPN 2.2 and they both integrate fine and work great.
  25. snuff

    PayPal_Shopping_Cart_IPN

    I am running the latest IPN with CCGV 510b. Works perfectly. No problems using discount coupons, just be sure you set up IPN as aggregate, not itemized.
×