Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TCwho

Archived
  • Posts

    716
  • Joined

  • Last visited

Everything posted by TCwho

  1. Changes were simple to make... and everything working just like it should Thanks again Jack!
  2. check my signature I have updated the contribution with instructions for those that do NOT have a clean install version of osC and the correct mysql is: CREATE TABLE sources ( sources_id int NOT NULL auto_increment, sources_name varchar(64) NOT NULL, PRIMARY KEY (sources_id), KEY IDX_SOURCES_NAME (sources_name) ); INSERT INTO sources VALUES (1, 'Google'); INSERT INTO sources VALUES (2, 'Yahoo!'); INSERT INTO sources VALUES (3, 'AOL'); INSERT INTO sources VALUES (4, 'MSN'); INSERT INTO sources VALUES (5, 'osCommerce'); CREATE TABLE sources_other ( customers_id int NOT NULL, sources_other_name varchar(64) NOT NULL, PRIMARY KEY (customers_id) ); ALTER TABLE customers_info ADD customers_info_source_id int NOT NULL AFTER customers_info_date_account_last_modified; INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display "Other" Referral option', 'DISPLAY_REFERRAL_OTHER', 'true', 'Display "Other - please specify" with text box in referral source in account creation', '1', '22', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display Referral options if "ref=###" is set', 'DISPLAY_REFERRAL_SOURCE', 'true', 'Display referral selection dropdown in referral source in account creation when "ref=###" is set', '1', '23', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()); INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Require Referral', 'REFERRAL_REQUIRED', 'true', 'Require the Referral Source in account creation', '5', '6', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()); You might want to undo everything you have done and start over.....
  3. I have 2.3.9 installed. I noticed for example...In a Category: Lets say Category1. Now without doing anything, the Title of the page is Category1 - 'MyStoreName': -..etc Now after I go to Admin Side and go to that Category...and I go to edit that category (Category1) ...the first box: Header Tags Category Title Lets say I give Header Tags Category Title: Category1 Well I notice, now that the page says Category1 in the TopLeft of the MiddleSection near the Category1 Image....which is fine, however in the Title of the Page(Browser Title), it now says: Category1 Category1 - 'MyStoreName': - ..etc etc... How can I correct this?
  4. Ok, I actually have this contribution working fine. It does what it is supposed to do. It remembers me...unless my IP address change, then I have to log back in. So I tried to do the above, but I got this: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''))= 'd740638457ced3f7f502fb0ec6c618af'' at line 1 select customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id from customers where md5(CONCAT(customers_id,customers_email_address,customers_password'))= 'd740638457ced3f7f502fb0ec6c618af' [TEP STOP] Any help? Oh and here is my revelant code: function tep_autologincookie ($on) { global $customer_id; if ($on) { if (tep_session_is_registered('customer_id')) { $check_customer_query = tep_db_query("select customers_id, customers_password, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); if (tep_db_num_rows($check_customer_query)) { // echo "COOKIE ON"; $check_customer = tep_db_fetch_array($check_customer_query); $ip_address = tep_get_ip_address(); setcookie( "osC_AutoCookieLogin", md5($check_customer['customers_id'].$check_customer['customers_email_address'].$check_customer['customers_password']), time()+60*60*24*14, "/", "", 0 ); } } } else { // echo "COOKIE OFF"; setcookie( "osC_AutoCookieLogin", "", 0, "/", "", 0 ); } } function tep_doautologin () { global $HTTP_COOKIE_VARS, $cart, $customer_id, $customer_default_address_id, $customer_first_name, $customer_country_id, $customer_zone_id; global $navigation; if (isset($HTTP_COOKIE_VARS['osC_AutoCookieLogin'])) { $ip_address = tep_get_ip_address(); $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where md5(CONCAT(customers_id,customers_email_address,customers_password'))= '" . $HTTP_COOKIE_VARS['osC_AutoCookieLogin'] . "'"); if (tep_db_num_rows($check_customer_query)) { $check_customer = tep_db_fetch_array($check_customer_query); if (SESSION_RECREATE == 'True') { tep_session_recreate(); }
  5. Quote from Instructions: Does that mean, that the Gift Vouchers Column will also take into account the Discount Coupons? .....since I just installed and site is not live yet......maybe someone already knows.....
  6. I just installed: 14 Apr 2004 - Monthly Sales & Tax Report v 2.1.1 Great Contribution! This is FANTASTIC!
  7. !!! Still a great easy simple contribution for admin side! The quotation issue is interesting.......
  8. First go to Administration>>Vouchers/Coupons>> then create a discount coupon>> Then go back to Administration>>Configuration>>My Store>> and enter your discount coupon code you create earlier in the section 'Welcome Discount Coupon Code' Then read the ReadMe file or Install file that came with the contribution for all other questions...
  9. wow thanks. Mistake I had made myself, although in my situation I had not encountered any problems, although I am not live yet, and am not forcing cookies... when I was getting my ssl cert, I had the choice of getting domain.com or www.domain.com ... I got it issued to www.domain.com, but would it have been better to get it issued to .domain.com? thanks guys, I appreciate this help
  10. I dont really see the point of what you are trying to do, but: how about calling the 'topic' the 'title of the article' you want it to say...that you want people to then click on to show them more 'articles'
  11. admin1 = yourusername (not email address) Username from .htaccess or from what you setup in your host control panel...
  12. Hey Sarah. What I meant to point out was after you write a article you have to approve it. You will notice the little green and red circles next to the articles....(under status column)
  13. administration>>article manager>>configuration
  14. You can change that by going into administration>>article manager>>configuration
  15. Just installed 21 Jul 2004 - NewsDesk v.1.48.3 First off: Thanks to Steve and Carsten for a great contribution. Easy to install and alot of effort into this contribution. I have installed this contribution locally for testing purposes. I have osC 2.2 Milestone2 installed. I also have Events Calendar Contribution installed. I noticed that after I click on 'Read More' and then go to the newsdesk_info.php?newsdesk...etc page I have the bottom portion where the reviews are, are somehow being titled after my events calendar. It is being referenced from my catalog/includes/languages/english/events_calendar.php define('HEADING_TITLE', 'Somehow calling my HEADING_TITLE: Events Calendar'); Screenshot Provided: How can I fix that? As this is a great contribution I definitely want to upload this to live site.
  16. @RI Downlink: Thank you for the response.
  17. Does this contribution also work with rss newsfeeds?
  18. Solved my problem. I noticed it was not just happening in that scenario. It was also happening if I click on Whats New Arrow to view all new products and then clicked on add to cart for product listed there.... I just recently had modified the code through another thread I saw, where instead of when someone adds something to thier cart and then they hit continue shopping it would normally take them back to last product added, but this modification would take them back 2 screens..which normally would be the main category screen... Needless to say, this was causing my problem. After I reverted the code back to normal, the problem went away. catalog/shopping_cart.php original code: <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> had changed it to this: <td class="main"> <?php $back = sizeof($navigation->path)-3; // Go back 2 screens echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?> </td> So if anyone else had saw this in another thread....this is the reason you will have the error I was having.... Side note: an osC Team Member, if I recall correctly, 241 had posted this code: <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> However those following that thread...learned that this would take a customer back to default page(index.php)
  19. 4:37AM Ok, must be mistake in directions installing cvv in cc.php contrib ... just compared files with files included in contrib... now everything working ok! And just finish replacing again cc_validation ...and everything working ok! Error was due to first contrib not installed properly. Everything so far so good! Gracias Mibble
×
×
  • Create New...