Latest News: (loading..)

chique

Members
  • Content count

    23
  • Joined

  • Last visited

1 Follower

About chique

  • Birthday 06/26/1966

Profile Information

  1. I have installed Master products and it's working great, I have also installed the contribution Sort_order, this is working great for the master products, what can I do to sort_order the slave products. I put in for size S sort_order 1, size M sort_order 2, Size L sort_order 3 etc. Now it's like: I ofcourse would like to have S, M,L,XL Can anybody help me, or tell me where and witch line of code I would have to adjust? With regards, Don
  2. I think you forgot to put the following line in your admin/includes/functions/general.php You may need to add the following code to the bottom (just before the final ?> tag) of admin\includes\functions\general.php: function tep_get_ip_address() { if (isset($_SERVER)) { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } else { $ip = $_SERVER['REMOTE_ADDR']; } } else { if (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('HTTP_CLIENT_IP')) { $ip = getenv('HTTP_CLIENT_IP'); } else { $ip = getenv('REMOTE_ADDR'); } } return $ip; } Good luck Don
  3. I have this contribution installed and it's great! All boxes are done except for one I tried to do the catalog/includes/modules/product_listing.php and I can't get this to work. Because there is no " new contentBoxHeading($info_box_contents); to chanche in new contentBoxHeading($info_box_contents,true); ". Does anybody know how I have to get this to work.
  4. Hello, I instaled the infobox skin manager (great contrib) and also Enhanced BestSeller box with admin when I install them separated everthing is working perfect. But when I install them together Ican't get the bestsellers in a infobox. See my example below. Can anybody tel me, what I have to adjust to get it working properly. Do I have to ad some code (if so whitch code) to the bestseller.php file or is there some missing code in the catalog/includes/classes/boxes file >> see below Any sugestions are welcome With regards, Don Here you can see my catalog/includes/classes/boxes file <?php /* $Id: boxes.php,v 1.33 2003/06/09 22:22:50 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ class tableBox { var $table_border = '0'; var $table_width = '100%'; var $table_cellspacing = '0'; var $table_cellpadding = '2'; var $table_parameters = ''; var $table_row_parameters = ''; var $table_data_parameters = ''; // class constructor function tableBox($contents, $direct_output = false, $skin_this = false, $header_text='', $header_link=false, $slice_set=INFOBOX_HEADERNAV_SLICE_SET) { if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)){ if ($slice_set == 1) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL1); if ($slice_set == 2) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL2); if ($slice_set == 3) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL3); if ($slice_set == 4) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL4); if ($slice_set == 5) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL5); if ($slice_set == 6) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL6); if ($slice_set == 7) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL7); if ($slice_set == 8) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL8); if ($slice_set == 9) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL9); if ($slice_set == 10) $infobox_bg_color = stripslashes(INFOBOX_SKIN_BGCOL10); $tableBox_string = '<table cellspacing="0" cellpadding="0" border="0"><tr><td><img src="images/slice_sets/' . $slice_set . '/top_left.jpg"></td>' . '<td background = "' . DIR_WS_IMAGES . 'slice_sets/' . $slice_set . '/top_background.jpg" class="newinfobox_top' . $slice_set . '" valign="middle" align="center" width="100%">' . $header_text; if ($header_link != false) { $tableBox_string.= ' <a href="' . $header_link . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } $tableBox_string.= '</td>' . '<td><img src="images/slice_sets/' . $slice_set . '/top_right.jpg"></td></tr>' . '<tr><td background = "' . DIR_WS_IMAGES . 'slice_sets/' . $slice_set . '/left_background.jpg"></td><td bgcolor = "#' . $infobox_bg_color . '">' ; } $tableBox_string .= '<table border="' . tep_output_string($this->table_border) . '" width="' . tep_output_string($this->table_width) . '" cellspacing="' . tep_output_string($this->table_cellspacing) . '" cellpadding="' . tep_output_string($this->table_cellpadding) . '"'; if (tep_not_null($this->table_parameters)) $tableBox_string .= ' ' . $this->table_parameters; $tableBox_string .= '>' . "\n"; for ($i=0, $n=sizeof($contents); $i<$n; $i++) { if (isset($contents[$i]['form']) && tep_not_null($contents[$i]['form'])) $tableBox_string .= $contents[$i]['form'] . "\n"; $tableBox_string .= ' <tr'; if (tep_not_null($this->table_row_parameters)) $tableBox_string .= ' ' . $this->table_row_parameters; if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) $tableBox_string .= ' ' . $contents[$i]['params']; $tableBox_string .= '>' . "\n"; if (isset($contents[$i][0]) && is_array($contents[$i][0])) { for ($x=0, $n2=sizeof($contents[$i]); $x<$n2; $x++) { if (isset($contents[$i][$x]['text']) && tep_not_null($contents[$i][$x]['text'])) { $tableBox_string .= ' <td'; if (isset($contents[$i][$x]['align']) && tep_not_null($contents[$i][$x]['align'])) $tableBox_string .= ' align="' . tep_output_string($contents[$i][$x]['align']) . '"'; if (isset($contents[$i][$x]['params']) && tep_not_null($contents[$i][$x]['params'])) { $tableBox_string .= ' ' . $contents[$i][$x]['params']; } elseif (tep_not_null($this->table_data_parameters)) { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>'; if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= $contents[$i][$x]['form']; $tableBox_string .= $contents[$i][$x]['text']; if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= '</form>'; $tableBox_string .= '</td>' . "\n"; } } } else { $tableBox_string .= ' <td'; if (isset($contents[$i]['align']) && tep_not_null($contents[$i]['align'])) $tableBox_string .= ' align="' . tep_output_string($contents[$i]['align']) . '"'; if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) { $tableBox_string .= ' ' . $contents[$i]['params']; } elseif (tep_not_null($this->table_data_parameters)) { $tableBox_string .= ' ' . $this->table_data_parameters; } $tableBox_string .= '>' . $contents[$i]['text'] . '</td>' . "\n"; } $tableBox_string .= ' </tr>' . "\n"; if (isset($contents[$i]['form']) && tep_not_null($contents[$i]['form'])) $tableBox_string .= '</form>' . "\n"; } $tableBox_string .= '</table>' . "\n"; if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)){ $tableBox_string .= '</td><td background = "' . DIR_WS_IMAGES . 'slice_sets/' . $slice_set . '/right_background.jpg"></td></tr>' . '<tr><td><img src="images/slice_sets/' . $slice_set . '/bottom_left.jpg"></td>' . '<td background = "' . DIR_WS_IMAGES . 'slice_sets/' . $slice_set . '/bottom_background.jpg"></td>' . '<td><img src="images/slice_sets/' . $slice_set . '/bottom_right.jpg"></td></tr></table>'; } if ($direct_output == true) echo $tableBox_string; return $tableBox_string; } } class infoBox extends tableBox { function infoBox($contents) { global $infobox_header_text, $infobox_header_link; $info_box_contents = array(); if (SKIN_INFOBOX_ACTIVE == 'true'){ $info_box_contents[] = array('text' => $this->newinfoBoxContents($contents)); //reset globals as these should only be used once! $infobox_header_text = ''; $infobox_header_link = false; } else { $info_box_contents[] = array('text' => $this->infoBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; } $this->tableBox($info_box_contents, true); } function infoBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); } function newinfoboxcontents($contents) { global $infobox_header_text, $infobox_header_link, $skin_slice_set; $this->table_cellpadding = '0'; $this -> align = 'center'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } if ($infobox_header_link != false) { $infobox_link = '<a href="' . $infobox_header_link . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } return $this->tableBox($info_box_contents, false, true, $infobox_header_text, $infobox_header_link, $skin_slice_set); } } //***********start best seller contribution************************// class infoBox5 extends tableBox { function infoBox5($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => '<marquee id="marquee1" onMouseOver="marquee1.stop();" onMouseOut="marquee1.start()" bgcolor="#FFCCCC" direction="up" scrollAmount="2" style="height:150">' . $this->infoBoxContents($contents) . '</marquee>'); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBoxcontents"'; $this->tableBox($info_box_contents, true, $infobox_header_text, $infobox_header_link, $skin_slice_set); } function infoBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0; $i<sizeof($contents); $i++) { $info_box_contents[] = array(array('align' => $contents[$i]['align'], 'form' => $contents[$i]['form'], 'params' => 'class="boxText"', 'text' => $contents[$i]['text'])); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); } } function newinfoboxcontents($contents) { global $infobox_header_text, $infobox_header_link, $skin_slice_set; $this->table_cellpadding = '0'; $this -> align = 'center'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } if ($infobox_header_link != false) { $infobox_link = '<a href="' . $infobox_header_link . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } return $this->tableBox($info_box_contents, false, true, $infobox_header_text, $infobox_header_link, $skin_slice_set); } //**********End of Contribution ********************// class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { global $infobox_header_text, $infobox_header_link; if (SKIN_INFOBOX_ACTIVE == 'true'){ $infobox_header_text = $contents[0]['text']; $infobox_header_link = $right_arrow; } else { $this->table_cellpadding = '0'; if ($left_corner == true) { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); } else { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'); } if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner == true) { $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'); } else { $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14'); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner)); $this->tableBox($info_box_contents, true); } } } class contentBox extends tableBox { function contentBox($contents, $skin_this = false, $slice_set = INFOBOX_HEADERNAV_SLICE_SET) { global $contentbox_header_text; $info_box_contents = array(); $info_box_contents[] = array('text' => $this->contentBoxContents($contents, $skin_this)); $this->table_cellpadding = '1'; if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)){ $this->table_parameters = 'class="newinfoBox"'; $this->tableBox($info_box_contents, true, true, $contentbox_header_text, false, $slice_set); } else{ $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } } function contentBoxContents($contents, $skin_this = false) { $this->table_cellpadding = '4'; if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)) $this->table_parameters = 'class="newinfoBoxContents"'; else $this->table_parameters = 'class="infoBoxContents"'; return $this->tableBox($contents); } } class contentBoxHeading extends tableBox { function contentBoxHeading($contents, $skin_this = false) { global $contentbox_header_text; if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)){ $contentbox_header_text = $contents[0]['text']; } else { $this->table_width = '100%'; $this->table_cellpadding = '0'; $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); $this->tableBox($info_box_contents, true); } } } class errorBox extends tableBox { function errorBox($contents) { $this->table_data_parameters = 'class="errorBox"'; $this->tableBox($contents, true); } } class productListingBox extends tableBox { function productListingBox($contents, $skin_this = false, $slice_set = INFOBOX_HEADERNAV_SLICE_SET) { global $contentbox_header_text; if ((SKIN_INFOBOX_ACTIVE == 'true') && ($skin_this == true)) $this->table_parameters = 'class="newInfoboxContents"'; else $this->table_parameters = 'class="productListing"'; $this->tableBox($contents, true, $skin_this, $contentbox_header_text, false, $slice_set); } } ?>
  5. Here is my sql tekst in the family.php Is there something wrong??? Please let me know i get the following error!
  6. Hello, I get the following error ad info pages witch are without a family. Where can I change this. If anybody please has an answer.
  7. If anybody can make this work, IT would be great!
  8. I have some questions about dis contribution. We sell lingerie and a lot more, we have more than 3000 products. And I would like to assign 1 familie to say 500 products. What I mean is that I would like to show by example 6 different stockings to say to 500 sets of lingerie. Is this possible with this contribution?, I have instaled it. But the way I see it I must make a familie name for each product. Or do I something wrong???
  9. Hello, I also installed this great contribution (WYSIWYG HTMLArea 1.7) It works great I only have 1 problem. I also installed (New Attribute Manager v4) and when I use the html editor for the product discription I can't see the product attributes like size and color on my site anymore. It seems to be that the are underneeth it. Can anybody help me. I don't know witch file or what lines I have to change. Greetings, Don
  10. Hello, i have a question, maby for Vj ? I have a site in 3 languages, Easy populate is working great, except that it only makes new catagories in de default language, and in the other languages it moves the category box or coolmenu box. Please take a look at My Webpage and jou will see what i mean. The default language is dutch, when you look in english you will see that the categorie box has moved, and that not all the categories are there. So what i think there has to be done is to ad a few lines for the catagories from other languages in Easy populate. But i realy don't know how to do that :( Can somebody please help me with regards, Don
  11. Thank you VJ for this great contribution, i have implented your EP file in my own, and it's working !! I only have one great problem. When I Create a Complete tab-delimited .txt file in temp dir, and open it in excel there are 2 problems. 1) The file is to large to import in excel, not all the atributes and catagories are showed. 2)All the atributes are assigned to every single product, so say I have a dress in small, medium and large. Now all the other atributes are there as well in the excel file, so now I have a dress with S,M,L,XL,RED,BLUE,WHITE,34,36,38, S/M,M/L,L/XL ......and it go's on. So now I have reached the maximum imported column in excel. (256 pc). Fore your information: I have EP version '2.62-MS2' on oscommerce 2.2-MS2. I also have installed the contribution new_attributes_v4b (that's the contribution witch I used to add atributes so far. My question: are there some counts or something else witch I should adjust ?? When you want to check my Ep file, I will be glad to send it to you. Thank you fot this great contribution, I can't wait to see this work properly! Greetings Don. My Webpage
  12. Hello, Coolmenu was working perfect, till i was chanching the categorie names and pickturea ! On my site it is still working in English and German, but the default site is Dutch. and there is coolmenu gone ???? :( :( Can anybody help me please. Take a look at my site and you will see what i mean. My Webpage