Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

freckles

Pioneers
  • Posts

    24
  • Joined

  • Last visited

Posts posted by freckles

  1. I just set up poMMo, and was hoping there is a way to have osC integrated.

     

    If you want to be able to send announcements and manage a email list, poMMo is awesome. Its simple, easy to set up, etc. If you want to have a complete posting board/mail list, then something else might be better.

     

    I'm not a developer, but I would really appreciate a way to get these 2 great open source projects to talk to each other.

  2. well after much fussing with additional_images.php, i ended up inserting this...

     

         <td align="right" class="smallText">
              <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td>
         	  <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td>
              <br><br>
    

     

    and that got things aligned vertically. its not perfect, but its gonna have to do for now.

     

    i could still really use someone's opinion who knows PHP better than I do (which is pretty much everyone).

  3. Greetings,

    I have J Query Lightbox with Ultra Pics installed and working fine. Adding one image, no problem. Adding two? Fine. Adding a third or more? All hell breaks loose. The first two images stack vertically just right, but when I add a third image, it comes up next to the second, not below it.

     

    Any idea's how to get the images to list vertically?

     

    here is the link to the problem...here

     

    and here is the code for additional_images.php that I think needs to be edited. somehow.

     

    <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
       <tr>
         <td>
          <table width="100%">
    
          <tr>
    <?php
       if (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] == '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] != '')) {
    ?>
    
        <td align="center" class="smallText">
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_1']) . '" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_1'] == '') && ($product_info['products_image_xl_1'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_1'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
    
    <?php
       if (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] == '')) {
    ?>
        <td align="center" class="smallText">
               <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] != '')) {
    ?>
    <td align="center" class="smallText">
    
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_2']) . '" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_2'] == '') && ($product_info['products_image_xl_2'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_2'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
    
    <?php
       if (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] == '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_3']) . '" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_3'] == '') && ($product_info['products_image_xl_3'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_3'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
          </tr>
          <tr>
    <?php
       if (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] == '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_4']) . '" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_4'] == '') && ($product_info['products_image_xl_4'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_4'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
    
    <?php
       if (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] == '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_5']) . '" target="_blank" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_5'] == '') && ($product_info['products_image_xl_5'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_5'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
    
    <?php
       if (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] == '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } elseif
          (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_6']) . '" target="_blank" rel="prettyOverlay[gallery]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
         </td>
    <?php
       } elseif
         (($products_info['products_image_sm_6'] == '') && ($product_info['products_image_xl_6'] != '')) {
    ?>
        <td align="center" class="smallText">
              <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_6'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?>
         </td>
    <?php
       } else {echo '<td></td>';}
    ?>
          </tr>
          </table>
         </td>
       </tr>
    <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->

     

    thank you for any help you can give.

  4. Hi Jack,

    I haven't been able get Show Sold Out to work correctly, I posted on the forum and emailed the author. So for now I just eliminated the buy now column, because once a user clicks on the product, the buy now button comes up correctly.

     

    anyways...i was wondering if there is a way to configure all-products to display only products from certain categories, and not all of them.

     

    thanks for the help.

  5. hi team,

     

    i'm posting with a request for help to get All-Products (http://addons.oscommerce.com/info/6216)

    working with Sold Out. i posted on the all-products forum, but was

    straight up denied (http://www.oscommerce.com/forums/topic/314262-all-products-seo/page__st__80)

     

    here is the page i need help with...

     

    http://www.nicholasbivins.com/store/all-products.php

     

    for some reason all-products.php displays everything as already sold, when in fact, they are in-stock. all the other pages on the site display things correctly, its just this one page.

     

    i am not a programmer by any stretch of the imagination, but i did notice that many of the $listing_sql commands are changed in the index.php, and the all-products file uses similar commands. i just have no idea where to begin or what to change.

    thanks for any help you can give me, i really appreciate it. :rolleyes:

  6. i'm trying to workout the compatibility of Sold and all products, if i find one i'll post here.

     

    otherwise, i had originally installed 4.7, then found SEO and installed that. i changed all the files to only include the SEO version, but now I have 2 links in my admin. how do i uninstall the leftover All Products link in my admin?

     

    many thanks.

  7. Hi Jack,

    thanks for the great contribution! I've got the latest (SEO 1.1) installed, and everything is good except...

     

    i'm also using Show Sold Out (http://www.oscommerce.com/community/contributions,4884), and all my products appear to be sold on all-products.php

     

    have a look here...

     

    http://www.nicholasb...ll-products.php

     

    any idea what to change?

     

    within the directions to the Sold Out button, many of the $listing_sql commands are changed in the index.php, could that be something?

     

    i've seen a few others have had the same issue with Sold Out and all-products.php, but i haven't been able to find any solution to it.

     

    thanks for any help you can give.

  8. hi team!

    this is more of a request, than a problem. i have an html portfolio site working in conjunction with my store (soon to open), and am running this script

     

    http://www.alistapart.com/articles/randomizer/

     

    its a random image rotation, so each time a user moves pages, or revisits the site, the heading image changes. its a pretty simple PHP script, not too over the top, but subtle and cool.

     

    so how can I incorporate this header rotation into my ocC?

     

    i've got quite a few mods installed already, but i'm by means ready to write something. any help would be greatly appreciated, and i think this would make a nice contribution to the addon's.

     

    thanks all.

  9. Newbie Question

     

     

    installed this addon and followed all the steps to the T... uploaded the files to my site. The PWA Functionality is awesome... but suddenly when i go to my admin panel (admin/login.php)

     

    i get this error:

     

     

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in /home/nicho14/public_html/store/admin/includes/functions/database.php on line 19

    Unable to connect to database server!

     

     

    I did not have this problem before i installed this addon and i didnt modify the database.php... so am at a loss.

     

    please reply with suggestions or if you need more info from me...

×
×
  • Create New...