Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rusky

Pioneers
  • Posts

    30
  • Joined

  • Last visited

Posts posted by rusky

  1. Do this work in 3.0 Alpha?

    where to put the catalog folder?

     

    ...hi, yes it works in 3.0 and 2.2 (NEW !!!):

     

    3.0 Demo New Site: www.arena-line.de

    2.2 Demo New Site: www.arenaline.de

     

     

    I don`t know what you mean with "where to put..."

    ...

  2. Cheers for the sensible reply diy. [not everyone is out to exploit free answers out of an os community lol]

     

    No dramas. That was basically all I was looking for info wise. As mentioned I installed oscommerce and installed the template via ftp and the site still looks like the basic install so I guess it doesn't work/not compatible. I will look at buying one for the current release.

     

     

    re: turn wha on... I thought there might be a section in the backend where you can switch between templates i.e. like joomla

     

    Am I right here? You mean osc 3.0 ?

     

    Then you have to enable the template:

    setupcmb.jpg

  3. Which file will have the path info? product_info?

     

    ...no, I think we`re in the admin (backend) and not frontend.

     

    1. admin / includes / configure.php

     

    2. admin / categories.php

     

    e.g.

    <td class="dataTableRow" colspan="2" valign="top"><?php if (tep_not_null($pInfo->products_image_sm_3)) { ?><span class="smallText"><?php echo $pInfo->products_image_sm_3 . '<br>' . tep_image(DIR_WS_CATALOG_IMAGES_3D . $pInfo->products_image_sm_3, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="left" hspace="0" vspace="5"') . '<br>'. tep_draw_separator('pixel_trans.gif', '5', '15') . ' <input type="checkbox" name="unlink_image_sm_3" value="yes">' . TEXT_PRODUCTS_IMAGE_REMOVE_SHORT . '<br>' . tep_draw_separator('pixel_trans.gif', '5', '15') . ' <input type="checkbox" name="delete_image_sm_3" value="yes">' . TEXT_PRODUCTS_IMAGE_DELETE_SHORT . '<br>' . tep_draw_separator('pixel_trans.gif', '1', '42'); ?></span><?php } ?></td>

     

    3. Maybe the PHP.INI

  4. ...hi, in the sourcecode look for:

    SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

    . These sizes you can change in the admin ->configuration -> images.

     

    If you want to output the large image in the product_info, you have to change:

     

    document.write('<?php //echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

     

    into

     

    document.write('<?php //echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_lrg'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

     

    or without java script:

     

    <?php echo  tep_options_images(DIR_WS_IMAGES . $product_info['products_image_lrg'], addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"'); ?>

     

    ...

  5. ...hi, if i understad you correctly you can use this:

     

    $products_query = tep_db_query("select pd.products_name, p.products_image, p.products_image_sm_3, p.products_image_lrg, p.products_image_xl_1, p.products_image_xl_2, p.products_image_xl_3, p.products_image_xl_4, p.products_image_xl_5, p.products_image_xl_6 from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'");
    
    
    DIR_WS_IMAGES . $products['products_name'] . '/' . $products['products_image_sm_3']

     

    Now you have to put the images (e.g. ..sm_3) in the folder named like your product.

     

    If you want it automatically with upload in the admin you have to set the folder in the admin too...

  6. ...hi: missing java script:

     

    <script type="text/javascript">
    function popupWindow(url) {
     window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
    izable=yes,copyhistory=no,width=350,height=500,screenX=150,screenY=150,top=150,le
    ft=150')
    }
    </script>

     

    You only have the function "wopen"...

  7. Is there any native support for .swf or .flv files in osCommerce v3.x? I did not see any obvious support for Flash images in the documentation or file structure.

     

    hi, just take the function of 2.2. No problem.

     

    Regards

     

    akeem

  8. Hello!!!

     

    First of all thanks a lot for this geat contrib.

     

    But there is one problem: I`ve installed the contrib "Great Categories" too. When I leave the Startpage to a category, the boxes have no more a border.

     

    When I go to e.g. service.php all the boxes are getting the boarder back. Only the categories are wrong.

     

     

    I`ve changed all the stylesheet.css in includes\classes\thema\1 (2,3,4..)\*.css too.

     

    Can anyone help?

     

    Thanks a lot from germany...

     

    Rgds.

     

    rusky

  9. Can you please reply with your version of php & apache as well (or even you version of Xampp -- I think I can lookup the versions they use on their site).

     

    Again, _everytime_ I have seen the reloading of the admin page after entering the correct admin user/password and it doesn't let you in, it was a configuration issue (or someone that had updated and included another contribution and had messed something up). Double check your cookie & session paths as well. You have also verified that the password in the db is the same as the original in the update.sql? You could possibly try and change the password manually in mySQL for that specific field. Make sure you tell it to use MD5 as the function.

     

    Hello & thanks a lot for answering every question!!!

     

    My System:

     

    XAMPP for Windows Version 1.5.3

     

    MySQL - 5.0.21-community-nt

     

    [php: 5.1.4]

     

    Because of the problem (login) I took a new version without any contribs and tried it: Same error.

     

    I`ve deleted the password with phpmyadmin: Same error

     

     

    Let me tell you, what I did exactly:

     

    1. Installation oscommerce + Sql

     

    2. Copy / overwrite the Contrib + Sql (When I start with the Contrib-Sql the 16,1 error (-> 99,1) disappears.)

     

    Adress of index.php: localhost/new_shop/index.php (without /catalog)

     

    Adress of admin_index.php: localhost/new_shop/admin/index.php (without /catalog)

     

     

    I installed many contribs, but this will let me going crazy.

     

    But one question to understand it correctly: Do i have to install shop1, shop2... before the first login? I don`t think so.

     

    Best regards

     

    rusky

  10. Rusky,

    What you did should have worked fine, however for all of the configuration values that were loaded for multi-stores under that heading will be loaded under some other modules configuration section unless you changed all of their 16 mappings to 99 as well...

     

    Did you populate the MS configuration section and comment out the cooresponding entries in the admin configure.php??

     

    Hello & thank you for answer,

     

    yes I have commented out the entries in the configure.php. But what do you mean with "did you populate...?"

     

    Sorry, my english ist not very well.

     

    Best regards

     

    rusky

  11. For those of you who are having issues accessing the administration after entering the admin/admin username & password, does the page just immediately reload itself? Did you ever get in? or does it do it straight out after an over-write-and-run?

     

    For those of you upgrading from previous versions... the EASIEST way to incorporate my changes is to perform two diffs. One diff with the version of M-S you used (i.e 1.7) and the latest version.. and then perform a second concurrent diff of your shop's osCommerce code with the latest M-S version. It should be easy to see which files have been updated from the stock version of M-S you used and the latest and just use the diff program (you have one right?? WinMerge/Beyond Compare -- you really need a good diff program!!) to do the updates.

     

    As far as the banners... I hardly touched any of the banners code. It was mainly just adding the additional check for which banner the store is assigned.

     

    Hello hobbzilla!!!

     

    To test this contrib I have installed completely new. I had one error installing the update.sql:

    ERROR

    OOOH

    SQL-Befehl:

     

    INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible )

    VALUES (

    '16', 'Multi-Stores', 'Multi-Stores Options', '16', '1'

    );

    #1062 - Duplicate entry '16' for key 1

     

    an changed it to:

    INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('99', 'Multi-Stores', 'Multi-Stores Options', '16', '1');

     

    I don´t think, that this is the source for the error "no login".

     

    OOOHH NOOOO, PLEASE HELP ME, I WANT TO LOGIN.

     

    Thanks a lot

     

    rusky

×
×
  • Create New...