Jump to content

toyicebear

♥Ambassador
  • Content count

    6,339
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by toyicebear

  1. toyicebear

    WYSIWYG News: HtmlArea Discontinued!

    Hi,Hi, For those who like htmlarea....good news..its not dead and burried yet....you can find more information here Htmlarea 3.0 B)
  2. toyicebear

    Google Description Problem

    Hi,Hi, I almost forgot here is another usefull search engine simulator Chemo's osC Search Engine Spider B)
  3. toyicebear

    Google Description Problem

    Hi,Hi, Here is a tool which shows you how Google views your pages Poodle Predictor B)
  4. toyicebear

    VN2 Free Skin A

    If i might say so, this is actually a quite beautiful template... B)
  5. toyicebear

    Is this a contribute?

    hi.. This contrib might help u on your way.... Contrib...... :thumbsup:
  6. toyicebear

    [Contribution] Fancy split_page_results

    hi.. U might be looking for this one.... Products-previous-nex :thumbsup:
  7. toyicebear

    Could I develop my own payment module?

    Hi.. Glad to be of help.... Just now i am actually in Bangkok too... ;-) Best of luck.... :thumbsup:
  8. Hi... 1. check that you have uploaded the file reset_seo_cache.php to admin/includes. 2. check that you have added this code to categories.php in the admin folder. // Ultimate SEO URLs - by Chemo // If the action will affect the cache entries if ( eregi("(insert|update|setflag)", $action) ) include_once('includes/reset_seo_cache.php'); :thumbsup:
  9. Hi... If you have done the install correctly, the cache should reset every time you add or edit a category and/or product in the admin. :thumbsup:
  10. toyicebear

    Could I develop my own payment module?

    Hi, If you want to offer creditcard payment , there are several companies who offer worldwide banking, like worldpay and psbill +++++ There is also some thai payment modules available in the contribs section if i can remember correctely.... Take a look under payment modules in the contribution section of the website.
  11. Hi, this site is currently not using any catching functions..... The menu is not the standard osc menu, but this one...Greate Categories might it be because the main category id is also included in the link to the sub category... http://www.mywebsite.com/index.php?cPath=2_2_21 instead of.. http://www.mywebsite.com/index.php?cPath=2_21
  12. Hi... I have a small bug..... When i am in a sub category in the side menu, the links does not get rewritten but shows as http://www.mywebsite.com/index.php?cPath=2_2_21 Anyone expireinced this or even better have a fix? :rolleyes:
  13. toyicebear

    MyWishlist v1.0

    Hi, Hi... I have just done a test setup of both wishlist 2.3 and mywislist 1.1 , both had straight and easy install on a heavily modded test site....... Wishlist 2.3 is going great, noproblems....... In Mywishlist 1.1 everything works, exept for that it does not add attributes to the db tables....... I can see that someone else also has experienced this from earlier in this tread: Has anyone made a fix for this issue yet?
  14. toyicebear

    Information Pages Unlimited

    By using the html area php image manager i now have it up and running, but its not a streamlined solution........ So if there is anyone out there with good php coding skills who could refine it to a smoothly coded addition it could be posted as a contribution add on for Information Pages Unlimited.....
  15. Hi.... I am currently working on making it possible to add a picture in the admin for Information Pages Unlimited..... Done so far.... 1. added extra field to mysql 2. modified information.php (catalog side) to read out the picture from the mysql. 3. modified information_form.php (admin side)with an added browse picture field and button. 4. modified information_manager.php (admin side) to add info into the new mysql field. So far so good..... The problem is i need 2 functions added to information_manager.php 1. add only file name for pictures to the mysql . (Now the whole path gets added) 2. upload the choosen picture and add it to the image folder... Is there anyone out there who could help me out....... Here is the full information_manager.php file: <?php /* Module: Information Pages Unlimited File date: 2003/03/02 Based on the FAQ script of adgrafics Adjusted by Joeri Stegeman (joeri210 at yahoo.com), The Netherlands osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . 'information.php'); function browse_information () { global $languages_id; $query="SELECT * FROM " . TABLE_INFORMATION . " WHERE languages_id=$languages_id ORDER BY v_order"; $daftar = mysql_db_query(DB_DATABASE, $query) or die("Information ERROR: ".mysql_error());$c=0; while ($buffer = mysql_fetch_array($daftar)) {$result[$c]=$buffer;$c++;} return $result; } function read_data ($information_id) { $result=mysql_fetch_array(mysql_db_query(DB_DATABASE, "SELECT * FROM " . TABLE_INFORMATION . " WHERE information_id=$information_id")); return $result; } $warning=tep_image(DIR_WS_ICONS . 'warning.gif', WARNING_INFORMATION); function error_message($error) { global $warning; switch ($error) { case "20":return "<tr class=messageStackError><td>$warning ." . ERROR_20_INFORMATION . "</td></tr>";break; case "80":return "<tr class=messageStackError><td>$warning " . ERROR_80_INFORMATION . "</td></tr>";break; default:return $error; } } $languages = tep_get_languages(); $languages_array = array(); $languages_selected = DEFAULT_LANGUAGE; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { $languages_array[] = array('id' => $languages[$i]['code'], 'text' => $languages[$i]['name']); if ($languages[$i]['directory'] == $language) { $languages_selected = $languages[$i]['code']; } } ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <?php if (HTML_AREA_WYSIWYG_DISABLE_IPU == 'Enable') { ?> <script language="Javascript1.2"><!-- // load htmlarea //MaxiDVD Added WYSIWYG HTML Area Box + Admin Function v1.7 <head> _editor_url = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_ADMIN; ?>htmlarea/"; // URL to htmlarea files var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; } <?php if (HTML_AREA_WYSIWYG_BASIC_IPU == 'Basic'){ ?> if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor_basic.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } <?php } else{ ?> if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor_advanced.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } <?php }?> // --></script> <?php } ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"> <table border=0 width="100%"> <tr><?php echo tep_draw_form('languages', 'information_manager.php', '', 'get'); ?><td align="right"><?php echo tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"'); ?></td> </form></tr> <? switch($adgrafics_information) { case "Added": $data=browse_information(); $no=1; if (sizeof($data) > 0) {while (list($key, $val)=each($data)) {$no++; } } ; $title="" . ADD_QUEUE_INFORMATION . " #$no"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=AddSure'); include('information_form.php'); break; case "AddSure": function add_information ($data) { global $languages_id; $query ="INSERT INTO " . TABLE_INFORMATION . " VALUES(null, '$data[visible]', '$data[v_order]', '$data[info_title]', '$data[info_image]','$data[description]','$languages_id')"; mysql_db_query(DB_DATABASE, $query) or die ("Information ERROR: ".mysql_error()); } if ($v_order && $info_title && $description) { if ((INT)$v_order) { add_information($HTTP_POST_VARS); $data=browse_information(); $title="" . tep_image(DIR_WS_ICONS . 'confirm_red.gif', CONFIRM_INFORMATION) .SUCCED_INFORMATION . ADD_QUEUE_INFORMATION . " $v_order "; include('information_list.php'); } else {$error="20";} } else {$error="80";} break; case "Edit": if ($information_id) { $edit=read_data($information_id); $data=browse_information(); $button=array("Update"); $title="" . EDIT_ID_INFORMATION . " $information_id"; //echo form("$PHP_SELF?adgrafics_information=Update", $hidden); echo "<tr class=pageHeading><td align=center>"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=Update'); echo tep_draw_hidden_field('information_id', "$information_id"); include('information_form.php'); } else {$error="80";} break; case "Update": function update_information ($data) { mysql_db_query(DB_DATABASE, "UPDATE " . TABLE_INFORMATION . " SET info_title='$data[info_title]', description='$data[description]', visible='$data[visible]', v_order=$data[v_order] WHERE information_id=$data[information_id]") or die ("update_information: ".mysql_error()); } if ($information_id && $description && $v_order) { if ((INT)$v_order) { update_information($HTTP_POST_VARS); $data=browse_information(); $title="$confirm " . UPDATE_ID_INFORMATION . " $information_id " . SUCCED_INFORMATION . ""; include('information_list.php'); } else {$error="20"; } } else {$error="80";} break; case 'Visible': function tep_set_information_visible($information_id, $visible) { if ($visible == '1') { return tep_db_query("update " . TABLE_INFORMATION . " set visible = '0' where information_id = '" . $information_id . "'"); } else{ return tep_db_query("update " . TABLE_INFORMATION . " set visible = '1' where information_id = '" . $information_id . "'"); } } tep_set_information_visible($information_id, $visible); $data=browse_information(); if ($visible == '1') { $vivod=DEACTIVATION_ID_INFORMATION; }else{$vivod=ACTIVATION_ID_INFORMATION;} $title="ID: $information_id $confirm $vivod"; include('information_list.php'); break; case "Delete": if ($information_id) { $delete=read_data($information_id); $data=browse_information(); $title="" . DELETE_CONFITMATION_ID_INFORMATION . " $information_id"; echo "<tr class=pageHeading><td align=center><br><br>$title</td></tr>"; echo "<tr><td></td></tr><tr><td align=center><br><br>"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, "adgrafics_information=DelSure&information_id=$val[information_id]"); echo tep_draw_hidden_field('information_id', "$information_id"); echo tep_image_submit('button_delete.gif', IMAGE_DELETE); echo '<a href="' . tep_href_link(FILENAME_INFORMATION_MANAGER, '', 'NONSSL') . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; echo "</form></td></tr>"; } else {$error="80";} break; case "DelSure": function delete_information ($information_id) { mysql_db_query(DB_DATABASE, "DELETE FROM " . TABLE_INFORMATION . " WHERE information_id=$information_id"); } if ($information_id) { delete_information($information_id); $data=browse_information(); $title="$confirm " . DELETED_ID_INFORMATION . " $information_id " . SUCCED_INFORMATION . ""; include('information_list.php'); } else {$error="80";} break; default: $data=browse_information(); $title="" . MANAGER_INFORMATION . ""; include('information_list.php'); } if ($error) { $content=error_message($error); echo $content; $data=browse_information(); $no=1; if (sizeof($data) > 0) {while (list($key, $val)=each($data)) {$no++; } } ; $title="" . ADD_QUEUE_INFORMATION . " $no"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=AddSure'); include('information_form.php'); } ?> </script> </table> </td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  16. toyicebear

    Information Pages Unlimited

    I am still stuck for ideas about how to make it workable, anyone up for the challenge? B)
  17. toyicebear

    Official PayPal IPN Support Thread

    A bit confusing I think (but I do understand it's PayPal's "fault"), especially if one tries to pay using a creditcard (not having a PayPal account). At the moment the creditcard info has to be entered the amount still is without tax. I couldn't test paying this way, because PayPal detected an account already was assigned to my creditcard (and so I was redirected to my account). Since all my current customers need to pay the tax, I decided to make an admin option to move the tax to the total amount. Which was quite easy since it's written so well :) Maybe it's just me that likes it better including tax, but if anyone else is interested I''ll post the easy changes to make. <{POST_SNAPBACK}> Please post it and/or pm it to me... ;-)
  18. Thanks to spaceboy for the fix about showing the box or not, i did actually use another way to achive this result, but i will also test out the mentioned fix and report back on the result as asked....
  19. Hi there.... When pwa is activated and you go to "checkout" 3 boxes are showing, login, create account and proceed directely to chekout. (Logical and correct) But when you choose "My Account" 3 boxes are also showing and at this point it would be more logical to show only 2 boxes, login and create account. Any help about a fix for this issue would be greately appriciated.. :-)
  20. toyicebear

    Master Products - MS2

    Hi..... any help would be appriciated.... :-) I have installed v1.52 and folowed the instructions, the admin part works, it also seems to write fine into the database but no slaves show under the master product...... only the following text: "There are no additional products with this item" This site also have several other mods installed inc. ultra pics and html area +++++ Anyone have any idea how to fix this impass?
  21. toyicebear

    Similar Products Box

    Hi There, Sorry about the late reply, the problem was the use of search engine friendly url`s , which cause the neighter the box or the products to show. Fix: A small change in the product id call to make it compatible both with standard osc set up and with Search_engine URL`s enabled. 1. In the colum of your choice use this call for the box: if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'similar_products.php'); 2. In the box file similar_products.php change the 3 instances of $_GET['products_id'] to $HTTP_GET_VARS['products_id'] Thats it...... :-)
  22. toyicebear

    Drop Shipping

    Hi, you might find what you are looking for in this forum tread: http://forums.oscommerce.com/index.php?showtopic=101973&st=0
  23. toyicebear

    Google position contribution

    Just tested with and without ssl , same error message..... Well that just means i have to look harder....lol Unless someone out there already has found a solution?
  24. toyicebear

    Google position contribution

    Hi there, I get the same errormessage as "funkyneil" , i have not done the total errorcheck runthrough yet....but initially because some get it and some dont.....i would hazzard a guess that it is conected to if you have your admin in ssl or not..... Mine is in ssl ......
  25. toyicebear

    Wishlist 2.0 Support Thread

    Hi there, Has anyone modified this contrib to work with options/attributes....if so please post the necessary changes/additions to the mysql and the required php files.....
×