Jump to content

UK61

Members
  • Content count

    18
  • Joined

  • Last visited

  1. OK, I have fixed some of the problems. Now all additional images are displayed properly. All thumbs are resized to the sizes given in admin. But there is still one problem left: The popup images do not get resized at all. No matter if I put in additional large images or not: popup images always show up in the original image sizes. Anybody had this problem? Any pointers as to where to look at would be greatly appreciated. Thanks!
  2. Hi all, after quite some time I have come back to working on a shop which had mopics installed. I have tried to change to UltraPics, but can get it working only half the way. The lightbox pops up nicely but that's about it... What does not work is additional images. They do not show up in the lightbox and they don't show up under the product desription. In the lightbox no prv or next images/links are showing. Also the lightbox only ever displays the same image as the thumb - only larger. The size of the image in the lightbox is simply the original size of the image, it does not get resized to the values given in the configuration in admin. I am using Ultrapics 2.08. The admin area looks OK as far as I can tell. I have the fields fo additional images in the articles area, and I have the configuration options. So it's probably a problem with the catalog files... Other contribs I'm using are sts and article manager. Here's a link to the store: www.skandica.de/ I would appreciate any pointers. I have been trying hard to find answers in my code as well as here in the forums and I'm running out of ideas... Thanks in advance!
  3. UK61

    Article Manager v1.0

    OK, so I have now upgraded to v1.5, took me a while but managed to not mess up anything :) The bad news however is I still can not show articles without having them put into topics. Now the description of the contribution clearly says: Only it doesn't work for me. I have searched through all 37 pages of this thread and found one other member asking for the same thing but there didn't seem to be an answer. So for now my workaround is to misuse the topic as articles, i.e. I write the article content and titles into the topic content and titles. I would still appreciate very much if anybody could tell me if there is a solution to this.
  4. UK61

    Article Manager v1.0

    Mmmm, the point is that I want to use the contribution without having topics. and I find this to be impossible with my version of articles manager. I just want to display articles. When adding articles in the admin section they only get displayed on the site if I put the articles in topics. Do I miss something? Do I neeed to upgrade to a new version? Thanks!
  5. UK61

    Article Manager v1.0

    Hi, I have been looking for general directions on updating an old install from v1.0 to the current version, 1.5. I only found instructions for updating from 1.4 to 1.5. I wonder if I should go for a complete new install? Thanks for any pointers!
  6. Hi all, it's been a while since I last worked with oscommerce. I'm setting up a site for someone who is not html/php savvy. They need to apply changes to the german language files, which is done with the define languages tool. I have tried searching the forums but couldn't find any answer to my question: Is there plugin /contrib for an easy editor of sorts, which would prevent them to go into the php files and break things? Thanks for any hints!
  7. Well the beauty in an hierarchical approach is it distributes PR like water is distributed in a healthy tree. So that's why it doesn't matter too much if you lose the PR of a single product page. Nonetheless a permanent redirect helps even in those cases. Basically the model to structure perfect SEO urls after is the breadcrumbs. Since your approach goes into this direction I would not change it by keeping product names and urls apart. Product names are like the leaves on the the PR tree.
  8. IMO urls should be lower case by default. I don't see any evidence for Google preferring capitalized urls either. But on some servers only lower case urls are working. So in effect I would appeal to the authors to use lower case urls per default. What I really like about this approach is that urls still reflect the hierarchical folder structure of the site. IMO this is a plus for both usability and SEO as well.
  9. Thanks for the fast reply. I'm just checking, something's happening with the site, and I'm in the process of trying to get to the ground of it. Otherwise HTC as well as the other contribs all work perfectly.
  10. Forgive me if this sounds stupid, but you have that file in includes, sts_product_info.php?
  11. Jack, any chance that this contrib might slow down a site? Of course not under normal circumstance, otherwise this would have been reported here, but perhaps in combination with other contribs? I have the latest Osc version, with sts_templates, Article Manager, Dynamic Mopics3.0, Purchase Without Account. Any known issues in regard to speed/compatability? Thanks!
  12. my store is not in a state that I want to give out the address so here's a screenshot . It needs of course some formatting and styling. The code of the order_info.php: <?php /* ?$Id: Order_Info.php,v 0.52 2002/09/21 hpdl Exp $ ? ? ? ?by Cheng ? ? ? ?OSCommerce v2.2 CVS (09/17/02) ? Modified versions of create_account.php and related ?files. ?Allowing 'purchase without account'. ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 osCommerce ?Released under the GNU General Public License */ ?require('includes/application_top.php'); // Begin added php stuff from original OSC login php ? ? ?// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started) ? ?if ($session_started == false) { ? ? ?tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); ? ?} ? ? ?require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); ? ? ?$error = false; ? ?if (isset($HTTP_GET_VARS['action']) && ($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)) { ? ? ? ?$error = true; ? ? ?} else { ? ? ? ?$check_customer = tep_db_fetch_array($check_customer_query); ?// Check that password is good ? ? ? ?if (!tep_validate_password($password, $check_customer['customers_password'])) { ? ? ? ? ?$error = true; ? ? ? ?} else { ? ? ? ? ?if (SESSION_RECREATE == 'True') { ? ? ? ? ? ?tep_session_recreate(); ? ? ? ? ?} ? ? ? ? ? ?$check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$check_customer['customers_id'] . "' and address_book_id = '" . (int)$check_customer['customers_default_address_id'] . "'"); ? ? ? ? ?$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'); ? ? ? ? ? ?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 = '" . (int)$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)); ? ? ? ? ?} ? ? ? ?} ? ? ?} ? ?} ? ? ?if ($error == true) { ? ? ?$messageStack->add('login', TEXT_LOGIN_ERROR); ? ?} ? ? // End of included php stuff ?require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT); ?$breadcrumb->add(NAV_ORDER_INFO, tep_href_link('Order_Info.php', '', '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"> <?php require('includes/form_check.js.php'); ?> </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"> ? ? <!-- A T T E N T I O N ?Start login form table--> ? ? ? ?<?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <!--Cut out welcome table with little pic--> ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ? ? ?</tr> ? ?<?php ? ? ?if ($messageStack->size('login') > 0) { ? ??> ? ? ? ? ?<tr> ? ? ? ? ? ?<td><?php echo $messageStack->output('login'); ?></td> ? ? ? ? ?</tr> ? ? ? ? ?<tr> ? ? ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ? ? ?</tr> <!--Cut out Visitor Cart Note--> ? ?<?php ? ? ?} ? ??> ? ? ? ? ?<tr> ? ? ? ? ? ?<td><table border="1" bordercolor="red" width="100%" cellspacing="0" cellpadding="2"> ? ? ? ? ? ? ?<tr> <!--cut out new customer 1. cell--> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER_LOGINBOX; ?></b></td> ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ?<tr> ?<!--cut out new customer 2. cell--> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox"> ? ? ? ? ? ? ? ? ?<tr class="infoBoxContents"> ? ? ? ? ? ? ? ? ? ?<td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2"> ? ? ? ? ? ? ? ? ? ? ?<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_LOGINBOX; ?></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> ? ? ? ? ? ? ? ? ? ? ?<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> ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ?<td colspan="2"><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="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> ? ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?</table></td> ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ?</table></td> ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ?</table></td> ? ? ? ? ? ? ?</tr> ? ? ? ? ? ?</table></td> ? ? ? ? ?</tr> ? ?</table></form> <!-- A T T E N T I O N End of Login form table--> ? ?</td> <!-- body_text //--> ? ?<td width="100%" valign="top"><form name="account_edit" method="post" <?php echo 'action="' . tep_href_link('Order_Info_Process.php', '', 'SSL') . '"'; ?> onSubmit="return check_form(this);"><input type="hidden" name="action" value="process"><table border="0" width="75%" cellspacing="0" cellpadding="0" align="center"> ? ? ?<tr> ? ? ? ?<td><table border="0" width="75%" cellspacing="0" cellpadding="0"> ? ? ? ? ?<!--tr> ? ? ? ? ? ?<td class="pageHeading"><?php echo HEADING_TITLE; ?></td> ? ? ? ? ? ?<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> ? ? ? ? ?</tr//--> ? ? ? ?</table></td> ? ? ?</tr> <?php ?if (sizeof($navigation->snapshot) > 0) { ?> ? ? ? <!--Cut out: Text_origin_login message for existing account holders--> ? ? ? ? ? ? <?php ?} ?> ? ? ?<tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ?</tr> ? ? ?<tr> ? ? ? ?<td> <?php ?$email_address = tep_db_prepare_input($HTTP_GET_VARS['email_address']); ?$account['entry_country_id'] = STORE_COUNTRY; ?require(DIR_WS_MODULES . 'Order_Info_Check.php'); ?> ? ? ? ?</td> ? ? ?</tr> ? ? ?<tr> ? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> ? ? ?</tr> ? <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="right"><?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> ? ?</table></form></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'); ?> The TEXT_RETURNING_CUSTOMER_LOGINBOX and the HEADING_RETURNING_CUSTOMER_LOGINBOX need to be defined in the includes/languages/english(or whatever languages)login.php The redirect in checkout_shipping.php must be changed to order_info.php. // A T T E N T I O N Please, be aware that I`m not a coder and don't know jack about php, and I mean it! Use at your own risk! And, btw, it would be most wonderful if some of you php buffs could take a look at the code and see if I really managed NOT to mess up anything.
  13. Hello Amanda, thanks for your reply! I have to admit I'm a bit puzzled by that piece of code. At the site in your profile visitors when hitting Checkout get redirected to order_info if they are not logged in which is fine and just what I do. The code above to this php illiterate seems to say that visitors get redirected to login.php, which is stamdard PWA behaviour? In any case it looks like I have achieved my goal for now. - Visitors who are logged in and hit Checkout: 1. go to checkout-shipment directly - Visitors who are NOT logged in and hit Checkout: 1. get redirected to Order_info.php fill in personal info form OR login on the same page 2. go to checkout-shipment. If anybody is interested I'd share my hacked order_info.php.
  14. Well I have added the functionality of the original osc login.php to the PWA order_info.php and that seems to work. I now have two areas displayed on the order_info page, one a loginbox (minus the welcome message, little pic and visitors cart note), the other the regular table to fill out for new customers. Both upon submit lead to checkout_shipping and transport the cart contents. The redirect in checkout_shipping is changed to order_info.php, so that any click on "checkout" directly brings the customer to the new order_info page. I'm going to have to test this now.
  15. Hi everybody, first post. I am trying to set up my first store and have installed as third contrib this one, PWA. Very good! Thanks to all for sharing that! However I'd like to streamline the whole process of checking out even more, to follow these steps 1. put something in cart 2. Click: Checkout 3. fill in personal info OR login (one page) Click: Proceed ... So what I need is to get a login box on the order_info page. Since I have practically no knowledge of PHP yet I wonder if anybody has done this and could share a little tip to get me started. What I have done is trying to strip the login.php of all html except the actual login box and include the rest into order-info php but without success so far. Am I even on the right track with that approach? Thanks for any help and sorry if this has been dealt with in some thread here, I haven't found anything yet.
×