greysun

Members
  • Content count

    151
  • Joined

  • Last visited

Community Reputation

0 Neutral

About greysun

Profile Information

  • Real Name
    Grayson Topping

Contact Methods

  1. Ok I got it to work. There were two issues. both of them I have found ways to get around but any idea how I could fix them permanently? First issue: The file is not being split properly. I found that if I split the file manually it uploaded with some errors. the errors are issue 2 but at least I know that if I split the file manually it works Second issue: For some reason I am required to have a product model. Even though my products dont have models. So I just put None in each of the product model fields. Is there a way to keep it from requiring a product model or is there a Null character I could put in there? Thanks for the suggestion on splitting the file manually bmcewan This is version 2.1 that I am using wasson65 any idea why the file isnt being split? Thanks for everyones help so far
  2. Sure what address would you like it sent to? Or can I send an attachment through the board somehow? is there any other info you would need?
  3. For some reason I cant get the easypopulate contrib to work. I am able to download a file and edit it but I cant add the changes to my database. I was working with 1.6 and finally gave up until 2.1 came out I figured I would give it another shot. Like I said I can download the tad del file and open it in excel and save the changes. again saving as tab del. I try to upload it and it looks like it uploads fine but nothing is acctually added to my database. I am working with over 1200 products so I figured maybe the problem was that I needed to split the file. When I try to split the file two files get created The first is EP_Split1.txt the second is EP1038252236.txt Both files are the same size and include the same info. I figured I would try to upload one of these files anyway to see if it worked and still no go It seems like the upload is completing from the progress on the browser but it does seem like maybe it is finishing the last 2 bars kind of quickly I would be more than happy to send this file or other info to someone if they could help me with this Does anyone know what may be happening here or what I may be doing wrong? I am trying to get a database if iver 3000 items up and this contribution seems like it would save me allot of time if I could get this thing working. any help anyone could give would be appreciated
  4. This is one I have been waiting for, for a while :-) Unfortunately I'm not a programmer. This is going to be a big contribution Any idea when it will be contributed? Another idea is to have the list automatically remove the item from the list once it has been purchased by someone. This keeps someone from getting the same gift twice. Maybe also allow the customer setting up the list to choose a quantity they would like and after that quantity has been purchased the item removes itself. Or say if some would like three umm... baby pajamas, when someone purchases 1 of them the quantity updates itself to 2. then when the other two are purchased it removes the item. This would work good for Baby showers, weddings, etc... Also you could have the whole wishlist expire on a certain date. say if a wedding is set for oct 23, the wishlist stays visible until that day then automatically deletes itself on that day. Just a few thoughts. I am so glad to see someone working on thiscontribution and I would be happy to help with testing
  5. I am trying to install the meta Mod. I have one problem. Figuring out which files contain the title tag that needs to be replaced. The usual programs arent working. ie ultraedit etc. I also tried using windows search within file. again its not finding anything Anyone have any ideas on how to figure out which files? Or does anyone know which files to make the changes too?
  6. Ok I didnt have it enabled so that fixes that problem but now I have a new problem. When I log in using the remember me function and then close the brower and come back to the cart it doesnt remember me. I tried setting it to 1 and 2 in admin and neither works. to get to the cart go to www.bullislandmerchandising.com/catalog One thing I want to mention that may or may not make a difference is that when it first started working it displayed the text ENTRY_REMEMBER_ME beside the check box instead of Remember Me! I had to define the Remember Me in Login.php ANy idea what might be happening now?
  7. This works perfectly so far Thank you so much for your help The gift vouchers are going to be a big asset
  8. I had tried that in the past and it just ignores it and loads the page as normal. I am correct in saying that when the script is working it should add a check box or something that says REMEMBER ME or something similar I made the changes you mentioned but for some reason it still just ignores it all together. Below is my entire login files. Can anyone see anything out of place? <?php /* $Id: login.php,v 1.70 2002/08/06 12:11:57 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if ($HTTP_GET_VARS['action'] == 'process') { $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); // Check if email exists $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); if (!tep_db_num_rows($check_customer_query)) { $HTTP_GET_VARS['login'] = 'fail'; } else { $check_customer = tep_db_fetch_array($check_customer_query); // Check that password is good if (!validate_password($password, $check_customer['customers_password'])) { $HTTP_GET_VARS['login'] = 'fail'; } else { $check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $check_customer['customers_id'] . "' and address_book_id = '1'"); $check_country = tep_db_fetch_array($check_country_query); $customer_id = $check_customer['customers_id']; $customer_default_address_id = $check_customer['customers_default_address_id']; $customer_first_name = $check_customer['customers_firstname']; $customer_country_id = $check_country['entry_country_id']; $customer_zone_id = $check_country['entry_zone_id']; tep_session_register('customer_id'); tep_session_register('customer_default_address_id'); tep_session_register('customer_first_name'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); setcookie('email_address', $email_address, time()+2592000, substr(DIR_WS_CATALOG, 0, -1)); setcookie('first_name', $customer_first_name, time()+2592000, substr(DIR_WS_CATALOG, 0, -1)); // HMCS: Begin Autologon ************************** if ($HTTP_POST_VARS['remember_me'] == '') { setcookie("password", "", time() - 3600, substr(DIR_WS_CATALOG, 0, -1)); // Delete password cookie } else { Switch (ALLOW_AUTOLOGON) { case '1': // Secure Link only setcookie('password', $password, time()+ (365 * 24 * 3600), substr(DIR_WS_CATALOG, 0, -1), '', 1); break; case '2': // All links allowed, should not be used in production-environment setcookie('password', $password, time()+ (365 * 24 * 3600), substr(DIR_WS_CATALOG, 0, -1)); break; default: // Autologon disabled setcookie('password', '', time() - 3600, substr(DIR_WS_CATALOG, 0, -1)); break; } } // HMCS: End Autologon ***************************** $date_now = date('Ymd'); tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . $customer_id . "'"); // restore cart contents $cart->restore_contents(); if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL')); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- function session_win() { window.open("<?php echo FILENAME_INFO_SHOPPING_CART; ?>","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus(); } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td rowspan="2" class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_login.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($HTTP_GET_VARS['login'] == 'fail') { $info_message = TEXT_LOGIN_ERROR; } elseif ($cart->count_contents()) { $info_message = TEXT_VISITORS_CART; } if (isset($info_message)) { ?> <tr> <td class="smallText"><?php echo $info_message; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td> <td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td> </tr> <tr> <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2" class="infoBoxContents"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_NEW_CUSTOMER . '<br><br>' . TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table></td> </tr> </table></td> <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2" class="infoBoxContents" <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main" colspan="2"><?php echo TEXT_RETURNING_CUSTOMER; ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td> <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td> </tr> <tr> <td class="main"><b><?php echo ENTRY_PASSWORD; ?></b></td> <td class="main"><?php echo tep_draw_password_field('password'); ?></td> </tr> <?php // HMCS: Begin Autologon ********************************* if(ALLOW_AUTOLOGON != '0') { ?> <tr> <td> </td> <td align="left" class="smalltext"><?php echo tep_draw_checkbox_field('remember_me','on', (($password == '') ? false : true)) . ' ' . ENTRY_REMEMBER_ME; ?></td> </tr> <?php } // HMCS: Begin Autologon ********************************** ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td width="50%" align="right" valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="50%" align="right" valign="top"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td> </tr> </table></form></td> </tr> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  9. Ok I figured it out. I was snoozing when I compared general.php in beyond compare. Everything works ok now This is a beautiful mod.
  10. I tried to install the Description in Product Listing mod and now when I try to veiw a product category I get this error Fatal error: Call to undefined function: osc_trunc_string() in /home/bullisla/bullisla-www/catalog/includes/modules/product_listing.php on line 134 Here is the code that is around that line // Products Description Hack begins case 'PRODUCT_LIST_DESCRIPTION': $lc_text = ' ' . osc_trunc_string(strip_tags($listing_values['products_description'], '<a><b><em><font><i><s><span><strong><sub><sup><u>'), PRODUCT_LIST_DESCRIPTION_LENGTH) . ' '; $col_to_span = sizeof($column_list)-1; if (PRODUCT_LIST_IMAGE > 0) { $col_to_span -= 1; } $lc_params = 'colspan="' . $col_to_span . '" '; break; // Products Description Hack ends Here is line 134 $lc_text = ' ' . osc_trunc_string(strip_tags($listing_values['products_description'], '<a><b><em><font><i><s><span><strong><sub><sup><u>'), PRODUCT_LIST_DESCRIPTION_LENGTH) . ' '; does anyone know whats going on? Any help would be appreciated
  11. The main reason I decided on OSC was because of a string where I saw that you were doing an affiliate mod after that other guy created one and didnt release it as a contribution. I am glad to see this being released soon, and it looks very impressive and I'm really excited to try it out I'm not sure if this is possible but just a thought for a future release. GIving the option in admin to "Hard Wire" so to speak a customer to an affiliate ID that way affiliates keep there customer commissions. Of course not every body would like this so it should be optional, And if possible tracking cutomers beyond the session Thank you for taking the time to put this whole thing together. It's gonna be a huge asset
  12. BTW just wanted to tell you I signed up and everything went smoothly. It looks really nice.
  13. I dont use OSC as my home page I just have a link to it. If people leave the cart to go to my home page and then come back to the cart will the affiliate program still keep track of them? does it use cookies or would I have to pass the info from page to page manually?
  14. Ok, thank you for all your help What I meant was in I went in a bought the first gift voucher after making the changes you suggested it charged $6.50 S&H then I went back in and decided to try it one more time and this time it charged $9 for shipping as if I had purchased over $100 as per my table This is almost the last peice of the puzzle before the sight will be the way I need it. I really do appreciate your help
  15. Ok, I found out that there was already an entry 226 related to autologin so I guess it must have entered correctly the first time. Anyway that fixes that but now I am getting a parse error in my login.php Below is a cut and paste of the area that is causing the erroe. Can anyone tell me why I am getting the error <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td> <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td> </tr> <tr> <td class="main"><b><?php echo ENTRY_PASSWORD; ?></b></td> <td class="main"><?php echo tep_draw_password_field('password'); ?></td> </tr> <?php // HMCS: Begin Autologon*********************************** if(ALLOW_AUTOLOGON != '0') { ?> <tr> <td> </td> <td align="left" class="smalltext"><?php echo tep_draw_checkbox_field('remember_me','on', (($password == '') ? false : true)) . ' ' . ENTRY_REMEMBER_ME; ?></td> </tr> <?php } // HMCS: Begin Autologon*************************************** <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td> </tr>