Latest News: (loading..)

CJPLOTTS

Members
  • Content count

    27
  • Joined

  • Last visited

About CJPLOTTS

  • Birthday 10/02/1967

Profile Information

  1. OR you could have said in less characters change $this-> to $ in admin/invoice.php
  2. I will give it a try like that. After the fourth day of plugging in and testing cde changes it came down to a misplaced ?> at the end of the includes/footer.php after my google analytics code, not before it. Old PHP must have let the error slide but the new did not and stopped it. Thanx for the help.
  3. */ // END COMPATIBILITY WITH STS 2 AND 3: $cat_ and $urlcat_ $sts->start_capture(); require(DIR_WS_BOXES . 'dm_categories.php'); $sts->stop_capture('dm_categories'); $sts->start_capture(); require(DIR_WS_BOXES . 'ssl_seal.php'); $sts->stop_capture('ssl_seal'); $sts->start_capture(); require(DIR_WS_BOXES . 'searchtagcloud.php'); $sts->stop_capture('searchtagcloud'); $sts->start_capture(); require(DIR_WS_BOXES . 'links.php'); $sts->stop_capture('links'); $sts->start_capture(); require(DIR_WS_BOXES . 'header_tags.php'); $sts->stop_capture('header_tags'); $sts->start_capture(); require(DIR_WS_BOXES . 'phponline.php'); $sts->stop_capture('phponline'); ?> The rest of it is standard
  4. Yeah, no it didn't.. It is possible, but since I get the same thing with the clean install and only STS, I'm thinking that its got to be one of those two things. BTW php 5.16 if that makes any difference
  5. I have now spent 3 days on this :angry: I have been running RC2a with STS4.5 and to many other contributions for some time now. Thursday my old host upgrades my server and suddenly I have a blank screen where the shop should be. I was going to do it anyway so I move everything over to a new VPS , database, DNS everything and VIOLA same thing, nothing. Took me a while to just turn off STS and I get my page back so at least the public can see it. I have reinstalled, nothing, I have tried a separate clean install and I get as far as putting in my "$sts->start_capture();" in sts_user_code.php and it goes blank again.
  6. look for this code echo $col ++; change to this echo; $col ++;
  7. Here is a working quick hack of the features.php without the STS stuff, it works, see http://paragonparanaormal.com/catalog/" target="_blank"> http://paragonparanaormal.com/catalog/ the CSS is still screwy color wise I'm working on it but the features flow works. <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2002 osCommerce Released under the GNU General Public License Featured Products V1.1 Displays a list of featured products, selected from admin For use as an Infobox instead of the "New Products" Infobox */ ?> <!-- featured_products //--> <?php if(FEATURED_PRODUCTS_DISPLAY == 'true') { $featured_products_category_id = $new_products_category_id; $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1"); $cat_name_fetch = tep_db_fetch_array($cat_name_query); $cat_name = $cat_name_fetch['categories_name']; $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('align' => 'left', 'text' => '<a class="headerNavigation" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a>'); list($usec, $sec) = explode(' ', microtime()); srand( (float) $sec + ((float) $usec * 100000) ); $mtm= rand(); $featured_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand($mtm) DESC limit " . MAX_DISPLAY_FEATURED_PRODUCTS); } else { $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY, $cat_name)); $subcategories_array = array(); tep_get_subcategories($subcategories_array, $featured_products_category_id); $featured_products_category_id_list = tep_array_values_to_string($subcategories_array); if ($featured_products_category_id_list == '') { $featured_products_category_id_list .= $featured_products_category_id; } else { $featured_products_category_id_list .= ',' . $featured_products_category_id; } $featured_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c using(products_id) left join " . TABLE_CATEGORIES . " c using(categories_id) left join " . TABLE_FEATURED . " f on p.products_id = f.products_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where c.parent_id = '" . $featured_products_category_id . "' and p.products_status = '1' and f.status = '1' order by rand() DESC limit " . MAX_DISPLAY_FEATURED_PRODUCTS); } $row = 0; $col = 0; $num = 1; new contentBoxHeading($info_box_contents); echo '<div id="protoflow">'; while ($featured_products = tep_db_fetch_array($featured_products_query)) { $num ++; $featured_products['products_name'] = tep_get_products_name($featured_products['products_id']); if($featured_products['specstat']) { echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'] ." ". $currencies->display_price($featured_products['specials_new_products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } else { echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'] ." ". $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } $col ++; if ($col > 2) { $col = 0; $row ++; } } echo '</div>'; if($num) { new contentBox($info_box_contents); } } else // If it's disabled, then include the original New Products box { include (DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); // disable for dont show if desactive the feature module } ?> <!-- featured_products_eof //-->
  8. I started with the features.php found in the Featured Products 159 to be used with STS 453 download. Then added the <div> statements for the protoFlow.js script and commented out the rest of the 'table' building (the two lines above the echo statement) So where ever the specials code comes from it wasn't in the base I started with. That also means the duplicated $info_box_contents = array(); was there to begin with. it is a live site but you can see it at http://www.fantasyfestival.com/catalog3/
  9. Well I've hacked together a start, but I still have a stray link at the end take a look and see if you can figure it. <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2008 osCommerce Released under the GNU General Public License Featured Products V1.1 Displays a list of featured products, selected from admin For use as an Infobox instead of the "New Products" Infobox */ ?> <!-- featured_products //--> <?php if(FEATURED_PRODUCTS_DISPLAY == 'true') { $featured_products_category_id = $new_products_category_id; $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1"); $cat_name_fetch = tep_db_fetch_array($cat_name_query); $cat_name = $cat_name_fetch['categories_name']; $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('align' => 'left', 'text' => '<a class="headerNavigation" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a>'); list($usec, $sec) = explode(' ', microtime()); srand( (float) $sec + ((float) $usec * 100000) ); $mtm= rand(); $featured_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand($mtm) DESC limit " . MAX_DISPLAY_FEATURED_PRODUCTS); } else { $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY, $cat_name)); $subcategories_array = array(); tep_get_subcategories($subcategories_array, $featured_products_category_id); $featured_products_category_id_list = tep_array_values_to_string($subcategories_array); if ($featured_products_category_id_list == '') { $featured_products_category_id_list .= $featured_products_category_id; } else { $featured_products_category_id_list .= ',' . $featured_products_category_id; } $featured_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c using(products_id) left join " . TABLE_CATEGORIES . " c using(categories_id) left join " . TABLE_FEATURED . " f on p.products_id = f.products_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where c.parent_id = '" . $featured_products_category_id . "' and p.products_status = '1' and f.status = '1' order by rand() DESC limit " . MAX_DISPLAY_FEATURED_PRODUCTS); } $row = 0; $col = 0; $num = 0; while ($featured_products = tep_db_fetch_array($featured_products_query)) { $num ++; if ($num == 1) { new contentBoxHeading($info_box_contents); } $featured_products['products_name'] = tep_get_products_name($featured_products['products_id']); echo '<div id="protoflow">'; if($featured_products['specstat']) { // $info_box_contents[$row][$col] = array('align' => 'center', // 'params' => 'class="smallText" width="33%" valign="top"', echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'] ." ". $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; // $currencies->display_price($featured_products['specials_new_products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</span>'); } else { // $info_box_contents[$row][$col] = array('align' => 'center', // 'params' => 'class="smallText" width="33%" valign="top"', echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'] ." ". $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } $col ++; if ($col > 2) { $col = 0; $row ++; } } echo '</div>'; if($num) { new contentBox($info_box_contents); } } else // If it's disabled, then include the original New Products box { // include (DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); // disable for dont show if desactive the feature module } ?> <!-- featured_products_eof //-->
  10. Love and use the Package tracking BTW thanx 4 that. Anyway um, I don't have a includes/modules/featured.php to check. Was this an add on? Never mind I found it. I'll take a look and see, especially since that might fix an issue I had with new products without pictures showing up in the new_products. Chris www.fantasyfestival.com
  11. Yes it looks like it might be in the protoFlow.js script once the scroll bar is moved however it does 'jump' to the normal look. I have mine set to 5 this puts it right in the middle of the 9 products being shown and by default lets the user know that they can move to either side. You could also set the autoplay to true and that will do it too.
  12. To remove the border open in the js folder reflection.js look for the line: reflection.style.width = reflectionWidth+'px'; add this line after: reflection.style.border = "0px"; That should do it.
  13. I am going in circles both figuratively and literally. I have been trying to install RC1 and Multi store 2.0 for way to long now. I won't bore you all with the issues I've had but the straw that sent me here is this, I tried to follow maskddingo's from scratch instructions. As is I get the Register_global error so I copy the new code from RC1 and now Firefox tells me, "The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies." any help please?
  14. I fixed the search, but I am not sure exactly how. But I think it was when I copied the seo-g .htaccess stuff from the root to the catalog.
  15. Well then be surprised, it works just fine when I turn SEO-G off. If you'd like, e-mail me ( livewire at fantasyfestival dot com) and I'll give you access to anything you'd like to look at. I'll bang my head against it from this side too.