Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TheExterminator

Pioneers
  • Posts

    125
  • Joined

  • Last visited

Everything posted by TheExterminator

  1. How do i integrete the shop like this ??? http://darel.dk/forum/index.php So it look like the shop
  2. hey there, can someone make it so it work with this 2 contri ?? http://www.oscommerce.com/community/contributions,1511 http://www.oscommerce.com/community/contributions,1349 I have try, but it will not work Thanks
  3. The New update from 1. feb work with validating code, Nice :D
  4. I Have Same Probs. But I Can Not Hide It, Please Help Some One.
  5. I Love You Contri Mate, I Have Over 60 Contri On My DemoShop, So I Love This Contri, And Made The Danish Translate. Thanks
  6. Someone have get this to work ??? I have same probs.
  7. Hey. I get this error when i will upload 'Error: Destination not writeable.' Someone now why ???
  8. Can someone tell me how i make this url http://www.MYDOMAIN/account_history_info.php/order_id/57 The right url should be http://www.MYDOMAIN/account_history_info.php?order_id=57 But all <td><div style="float:left"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a></div><div style=float:right>'; ?><a href="java script:popupPrintReceipt('<?php echo tep_href_link(FILENAME_PRINT_MY_INVOICE, tep_get_all_get_params(array('order_id')) . 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL'); ?>')"><?php echo tep_image_button('button_print_order.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></div></td> Is the same from all version to this modul. I hope someone can help me.
  9. This code will make is to work with MoPics 6 You can download it here : http://www.oscommerce.com/community/contributions,3873 Chance the code in "admin/categories.php" (This work 100% on a Unix-Freebsd)
  10. This code will make is to work with MoPics 6 I will upload a zip fil to the Contributions. Chance the code in "admin/categories.php" (This work 100% on a Unix-Freebsd) // EOF: More Pics 6 // copy image only if modified // ************************* Image path modification starts below ************************* if (USE_REG_GLOBALS_PATCH == 'true') { link_post_variable('image_subdirectory'); // function included in the Register Globals Patch - functions/general.php link_post_variable('new_dir'); // function included in the Register Globals Patch - in functions/general.php } // Here we strip away any extra slashes the user may add to the subdirectory field and make sure there is a final /. $image_subdirectory = preg_replace('/\\\/', '/', $image_subdirectory); // in case someone mistakenly uses backward slashes, flip 'em around if ($image_subdirectory == '/') { ($image_subdirectory = ''); // in case the user mistakenly entered only a single / } if ($image_subdirectory != '') { // we want to add a path $image_subdirectory = preg_replace('/\/\/+/', '/', $image_subdirectory); // change any multiple slashes to a single / if (strpos($image_subdirectory, '/') === 0) { $image_subdirectory = substr($image_subdirectory, 1); // strip any leading slash } if (strrpos($image_subdirectory, '/') != (strlen($image_subdirectory) -1)) { $image_subdirectory = ($image_subdirectory . '/'); // add one slash at the end if there wasn't one. } } // End corrections of any user errors // Create directory if requested (Box Checked, $new_dir == 'on) if ($new_dir == 'on') { if (USE_UNIX_SLASHES == 'true') { $working_directory = DIR_FS_CATALOG_IMAGES . $image_subdirectory; if (USE_PHP5_MKDIR == 'true') { if (!is_dir($working_directory)) { mkdir($working_directory, 0777, 1); // chmod($working_directory, 0777); // Change to suit server needs, depending on directory owner } } else { // php4 mkdir recursion do { $dir = $working_directory; while (!@mkdir($dir,0777)) { $dir = dirname($dir); if ($dir == '/' || is_dir($dir)) break; } // chmod($dir, 0777); // Change to suit server needs, depending on directory owner } while ($dir != $working_directory); } } else { // End unix mkdir routine // Windows mkdir routine start $working_directory = DIR_FS_CATALOG_IMAGES . preg_replace('/\//', '\\', $image_subdirectory); // replaces forward slashes with backwards ones if (USE_PHP5_MKDIR == 'true') { if (!is_dir($working_directory)) { mkdir($working_directory, 0777, 1); // the 0777 chmod arg. has no effect under Windows, left in for consistency } } else { // php4 mkdir recursion do { $dir = $working_directory; while (!@mkdir($dir)) { $dir = dirname($dir); if ($dir == '\\' || is_dir($dir)) break; } } while ($dir != $working_directory); } } // End Windows mkdir routine } $products_image = new upload('products_image'); $products_image->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_image->parse() && $products_image->save()) { $products_image_name = $products_image->filename; $products_image_name = $image_subdirectory . $products_image_name; // ***** Prepend subdirectory to filename } else { $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } // BOF: More Pics 6 // copy subimage1 only if modified $products_subimage1 = new upload('products_subimage1'); $products_subimage1->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage1->parse() && $products_subimage1->save()) { $products_subimage1_name = $products_subimage1->filename; $products_subimage1_name = $image_subdirectory . $products_subimage1_name; // ***** Prepend subdirectory to filename } else { $products_subimage1_name = (isset($HTTP_POST_VARS['products_previous_subimage1']) ? $HTTP_POST_VARS['products_previous_subimage1'] : ''); } // copy subimage2 only if modified $products_subimage2 = new upload('products_subimage2'); $products_subimage2->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage2->parse() && $products_subimage2->save()) { $products_subimage2_name = $products_subimage2->filename; $products_subimage2_name = $image_subdirectory . $products_subimage2_name; // ***** Prepend subdirectory to filename } else { $products_subimage2_name = (isset($HTTP_POST_VARS['products_previous_subimage2']) ? $HTTP_POST_VARS['products_previous_subimage2'] : ''); } // copy subimage3 only if modified $products_subimage3 = new upload('products_subimage3'); $products_subimage3->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage3->parse() && $products_subimage3->save()) { $products_subimage3_name = $products_subimage3->filename; $products_subimage3_name = $image_subdirectory . $products_subimage3_name; // ***** Prepend subdirectory to filename } else { $products_subimage3_name = (isset($HTTP_POST_VARS['products_previous_subimage3']) ? $HTTP_POST_VARS['products_previous_subimage3'] : ''); } // copy subimage4 only if modified $products_subimage4 = new upload('products_subimage4'); $products_subimage4->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage4->parse() && $products_subimage4->save()) { $products_subimage4_name = $products_subimage4->filename; $products_subimage4_name = $image_subdirectory . $products_subimage4_name; // ***** Prepend subdirectory to filename } else { $products_subimage4_name = (isset($HTTP_POST_VARS['products_previous_subimage4']) ? $HTTP_POST_VARS['products_previous_subimage4'] : ''); } // copy subimage5 only if modified $products_subimage5 = new upload('products_subimage5'); $products_subimage5->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage5->parse() && $products_subimage5->save()) { $products_subimage5_name = $products_subimage5->filename; $products_subimage5_name = $image_subdirectory . $products_subimage5_name; // ***** Prepend subdirectory to filename } else { $products_subimage5_name = (isset($HTTP_POST_VARS['products_previous_subimage5']) ? $HTTP_POST_VARS['products_previous_subimage5'] : ''); } // copy subimage6 only if modified $products_subimage6 = new upload('products_subimage6'); $products_subimage6->set_destination(DIR_FS_CATALOG_IMAGES . $image_subdirectory ); // ***** append server image subdirectory if ($products_subimage6->parse() && $products_subimage6->save()) { $products_subimage6_name = $products_subimage6->filename; $products_subimage6_name = $image_subdirectory . $products_subimage6_name; // ***** Prepend subdirectory to filename } else { $products_subimage6_name = (isset($HTTP_POST_VARS['products_previous_subimage6']) ? $HTTP_POST_VARS['products_previous_subimage6'] : ''); } // EOF: More Pics 6 break; } } // check if the catalog image directory exists
  11. Work Now. But how can i get the white box to the colour i will have. ???
  12. Hey all I have install the newest modul and most all work great, but when i will make pdf file from " fx. hardware" is make the file but i get this error http://www.the-exterminator.dk/pdf_download_katalog.php Can someone tell me what wrong. ?? can i be catalog/pdf_catalogue_info2.php there are the problem ?? I hope someone can help me.
  13. But how i do that ??? I have read the readme file, and do what you write there, but i can not see where you will have i out "serachsuggest.php right to be used" Sorry my bad english
  14. I get the errors to, and the edit_orders.php there are the 2 new line: billing_piva = '" . tep_db_input($_POST['update_billing_piva']) . "', billing_cf = '" . tep_db_input($_POST['update_billing_cf']) . "', But i can not get it to work with the sql, someone there can help ???
  15. I have make both updates, but get the error in line, but after i delete the } all is okay.
  16. When you mate this update remember to delete this in line 2086 } Or you get a error.
  17. I have try, but the checkbox will not work, when i take one, the both boxe get away.
  18. Hey djmonkey1 I have opdate to 2.7, but can you make it so the Billing Address Box are under the Shipping Address box ?? And thanks for the great job you made. /TheExterminator
  19. How can i do, so it take the css fra the stylesheet file. ??? is direct in the file now.
  20. The Code To It <tr><td colspan="2" align="center" class="main"><? echo _TOTALVOTES?> = <? echo $sum?></td></tr> <tr><td colspan="2" align="center" class="main">[ <a href="<?php echo tep_href_link('pollbooth.php','pollid='.$pollid.'&op=comment','NONSSL')?>"><? echo _ADD_COMMENTS?></a> | <a href="<?php echo tep_href_link('pollbooth.php','pollid='.$pollid.'&op=vote','NONSSL')?>"><? echo _VOTING?></a> | <a href="<? echo tep_href_link('pollbooth.php','op=list','NONSSL')?>"><?PHP echo _OTHERPOLLS ?></a> ]</td></tr>
  21. How Can I Fix This In The Admin Panel. ???? _TOTALVOTES = 2 [ _ADD_COMMENTS | _VOTING | _OTHERPOLLS ]
  22. Is The Error With How Many Times People Can Get The Same Code Made ???
  23. quote name='AlexStudio' date='Jun 22 2006, 06:31 AM' post='883282'] Looked like you have SEO installed, so the url is messed up. No, You Install.txt From 2.2 Have A Error In Chance $email_text .= "\n" . MAIL_VALIDATION . "\n" . '<a href="' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&id=' . $id, 'SSL', false) . '">' . VALIDATE_YOUR_MAILADRESS . '</a>' . "\n" . "\n" . '(' . SECOND_LINK . ' ' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&id=' . $id, 'SSL', false) . ' )' . "\n" . "\n". OR_VALIDATION_CODE . $Pass . $Pass_neu . "\n" . "\n"; TO $email_text .= "\n" . MAIL_VALIDATION . "\n" . '<a href="' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&cuid=' . $id, 'SSL', false) . '">' . VALIDATE_YOUR_MAILADRESS . '</a>' . "\n" . "\n" . '(' . SECOND_LINK . ' ' . tep_href_link('pw.php', 'action=reg&pass=' . $Pass . $Pass_neu . '&cuid=' . $id, 'SSL', false) . ' )' . "\n" . "\n". OR_VALIDATION_CODE . $Pass . $Pass_neu . "\n" . "\n";
  24. Do You Have Any Ide Where The/id/9 Come From ????
×
×
  • Create New...