

night_fire
Members-
Content count
39 -
Joined
-
Last visited
Profile Information
-
Real Name
R Marius
-
New at this, so maybe someone show me where in that file please Thanks
-
I have looked and didn't see this, so i thought I would ask. This works great but have one question. How can I change it to display the name of the Store after or before the tag. Not sure if I'm wording that right. Example... If I click in product it says at the top. "ice cream maker - Mozilla Firefox" without quotes is there a way to make it say something like ( ice cream maker - my name - Mozilla Firefox) or (my name - ice cream maker - Mozilla Firefox) Thanks
-
Im trying that but it still seems to be sitting on top of each other for the Categories listing :(
-
Ok, Im getting closer. Now I'm a tad stuck at the way you cant read it. Any Idea's. Thanks
-
Ok everyone, Very new and I'm lost. The install went very smooth. My problem is that when the sitemap pulls up it shifts the website over and the map it self is not readable. You can see what I mean by going here Visit My Website. how can I fix this? Or can I make it pop up in its own window? Thanks,
-
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
First off let me say THANKS!!!!!!!!!!!! That seems like it id it. May I ask what you found that was causing me a headache? I can always use winmerge to see but I wount be home untill late. Thanks again for your help. BTW what would be a good book to start learning php? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
Think this is what u wanted. <?php /* $Id: new_products.php,v 1.1.1.1 2006/08/14 09:45:13 User Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <script language="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=290,height=290,screenX=290,screenY=290,top=150,le ft=150'); } //--></script> <!-- new_products //--> <?php $info_box_contents = sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where products_status = '1' order by RAND() limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' order by RAND() limit " . MAX_DISPLAY_NEW_PRODUCTS); } $row = 0; $col = 0; ?> <table border="0" cellspacing="1" cellpadding="0" class="zxc6"> <tr><td width="533"> <table border="0" cellspacing="0" cellpadding="0" width="527" align="center"> <? while ($new_products = tep_db_fetch_array($new_products_query)) { $new_products['products_name'] = tep_get_products_name($new_products['products_id']); $product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$new_products['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); $product = tep_db_fetch_array($product_query); $new_products['products_description'] = $product['products_description']; if ($col==0) echo '<tr>'; if ($col!=0) echo '<td width="2"></td>'; ?> <td width="174" valign="top" class="bd"> <table border="0" cellspacing="0" cellpadding="0" width="167" align="center"> <tr><td height="2"></td></tr> <tr><td width="167" height="89" bgcolor="#FFFFFF" align="center"><a href="<?=tep_href_link('product_info.php?products_id='.$new_products['products_id'])?>"><?=tep_image(DIR_WS_IMAGES.$new_products['products_image'],$new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)?></a></td></tr> <tr><td width="167" height="65" bgcolor="#1A1C1F" class="tx4"><br style="line-height:1px;"><br style="line-height:2px;"><b><a style="color:#C4DBF2;text-decoration:none;" href="<?=tep_href_link('product_info.php?products_id='.$new_products['products_id'])?>"><?=$new_products['products_name']?></a></b><br style="line-height:1px;"><br style="line-height:4px;"></td></tr> <tr><td width="167" style="padding-left:12px;" class="tx6" align="center"> <?=$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))?><br style="line-height:1px;"><br style="line-height:10px;"></td></tr> <tr><td><a href="<?=tep_href_link('product_info.php?products_id='.$new_products['products_id'])?>"><?=tep_image_button("button_more.gif");?></a><a href="<?= tep_href_link("products_new.php","action=buy_now&products_id=".$new_products['products_id'])?>"><?=tep_image_button("button_add_to_cart.gif");?></a></td></tr> <tr><td height="3"></td></tr> </table> </td> <? if ($col==2) { echo '</tr>'; $col=0; } else { $col++; } } if ($col!=0) echo '</tr>'; ?> </table> </td> </tr> </table> -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
Sorry, but new to this. What would you like me to post so you can view? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
That is the way they appear when you first got to site. If you refresh page it changes to the SEO url. Here's my product_listing.php <?php /* $Id: product_listing.php,v 1.44 2003/06/09 22:49:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $new_products=array(); $new_p_id=array(); ?> <script language="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=290,height=290,screenX=290,screenY=290,top=150,le ft=150'); } //--></script> <table border="0" cellspacing="1" cellpadding="0"> <tr><td style="background-image:url(images/m22.gif);" width="531" height="31"> <span class="tx2"><?=$breadcrumb->trail(' » ')?></span></td></tr> <tr><td height="2"></td></tr> <tr><td width="533"> <table border="0" cellspacing="0" cellpadding="0" width="527" align="center"> <? $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id'); if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <tr><td colspan="5"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> </td></tr> <?php } $list_box_contents = array(); for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; case 'PRODUCT_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; $lc_align = ''; break; case 'PRODUCT_LIST_MANUFACTURER': $lc_text = TABLE_HEADING_MANUFACTURER; $lc_align = ''; break; case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right'; break; case 'PRODUCT_LIST_QUANTITY': $lc_text = TABLE_HEADING_QUANTITY; $lc_align = 'right'; break; case 'PRODUCT_LIST_WEIGHT': $lc_text = TABLE_HEADING_WEIGHT; $lc_align = 'right'; break; case 'PRODUCT_LIST_IMAGE': $lc_text = TABLE_HEADING_IMAGE; $lc_align = 'center'; break; case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; } if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) { $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text); } $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); } if ($listing_split->number_of_rows > 0) { $rows = 0; $listing_query = tep_db_query($listing_split->sql_query); while ($listing = tep_db_fetch_array($listing_query)) { $rows++; if (($rows/2) == floor($rows/2)) { $list_box_contents[] = array('params' => 'class="productListing-even"'); } else { $list_box_contents[] = array('params' => 'class="productListing-odd"'); } $cur_row = sizeof($list_box_contents) - 1; for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { $lc_align = ''; switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_align = ''; $lc_text = ' ' . $listing['products_model'] . ' '; break; case 'PRODUCT_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> '; } break; case 'PRODUCT_LIST_MANUFACTURER': $lc_align = ''; $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a> '; break; case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing['specials_new_products_price'])) { $lc_text = '<span>' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> <del style="font-weight:normal;color:#808080;font-size:11px;">' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</del>'; } else { $lc_text = '<span>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>'; } break; case 'PRODUCT_LIST_QUANTITY': $lc_align = 'right'; $lc_text = ' ' . $listing['products_quantity'] . ' '; break; case 'PRODUCT_LIST_WEIGHT': $lc_align = 'right'; $lc_text = ' ' . $listing['products_weight'] . ' '; break; case 'PRODUCT_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } break; case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; break; } $list_box_contents[$cur_row][] = array('align' => $lc_align,'params' => 'class="productListing-data"','text' => $lc_text); $product_contents[] = $lc_text; } $product_query = tep_db_query("select products_description, products_id from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$listing['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); $product = tep_db_fetch_array($product_query); array_push($new_products,$product['products_description']); array_push($new_p_id,$product['products_id']); } ?> <? $col=0; $row=0; for ($i=1;$i<count($list_box_contents);$i++) { $j=$list_box_contents[$i]; if ($col==0) echo '<tr>'; if ($col!=0) echo '<td width="2"></td>'; ?> <td width="174" valign="top" class="bd"> <table border="0" cellspacing="0" cellpadding="0" width="167" align="center"> <tr><td height="2"></td></tr> <tr><td width="167" height="89" bgcolor="#FFFFFF" align="center"><?=$j[0][text]?></td></tr> <tr><td width="167" height="65" bgcolor="#1A1C1F" class="tx4"><br style="line-height:1px;"><br style="line-height:2px;"><b><?=$j[1][text]?></b><br style="line-height:1px;"><br style="line-height:4px;"></td></tr> <tr><td width="167" height="30" style="padding-left:12px;" class="tx6" align="center"> <?=$j[2][text]?><br style="line-height:1px;"><br style="line-height:10px;"></td></tr> <tr><td><a href="<?=tep_href_link('product_info.php?products_id='.$new_p_id[$i-1])?>"><?=tep_image_button("button_more.gif");?></a><a href="<?= tep_href_link("products_new.php","action=buy_now&products_id=".$new_p_id[$i-1])?>"><?=tep_image_button("button_add_to_cart.gif");?></a></td></tr> <tr><td height="3"></td></tr> </table> </td> <? if ($col==2) { echo '</tr>'; $col=0; } else { $col++; } } if ($col!=0) echo '</tr>'; ?></table><? /* new productListingBox($list_box_contents); */ } else { echo '<tr><td></td></tr></table>'; $list_box_contents = array(); $list_box_contents[0] = array('params' => 'class="productListing-odd"'); $list_box_contents[0][] = array('params' => 'class="productListing-data"'); // new productListingBox($list_box_contents); } if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php } ?> </td> </tr> </table> -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
The only contributions I have are easy Meta Tags, lightbox, fck editor. In the admin, I have cache turned off. Any other suggestions? -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
No, I don't have page cache contribution. Its just like when you first got to my site the rewrite is not working and go's to the old link. Any other suggestions??? Here is the link if I first go to site for an Item. http://www.homebrewpconline.com/product_in...123db412c43d87f and after I go back or just refresh page http://www.homebrewpconline.com/evga-evga-geforce-p-223.html -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
night_fire replied to spidometrs's topic in General Add-Ons Support
I posted this back a while ago and really fallowed threw with it. So here is the issue. If you open up the browser and go to the homepage of my site all is good. If you click a product link it will come up page not found. If you back the browser up and then click the same product all is good. This happens every time you open up the browser and go to the site. Any one have any sugestion on what might be causing this to happen? Thanks -
night_fire started following [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
-
Why is it when I add it, It show up on my site but its not clickable? Any help would be great.
-
I saw this somewhere and now can't find it. I have a separate folder that has all my thumbs in it. There was a forum that had 2 lines of code to pull up the thumbnails from one folder and the large images from another. I know there are cont. out there but I rather just add the 2 lines of code. If anyone knows or can point me in the right direction I would be great full. Thanks
-
Need some help here. Im trying to set this up and every time I click on confirm order it brings me to a site that says "Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address." What might I be doing wrong to get this? Thanks in advance.