Jump to content

khoking

Members
  • Content count

    225
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by khoking

  1. May I know how do I change the button colour? Currently it is grey, I hope to change all of them into something more striking.
  2. Is it possible to have a page or box where customer can key in their email address to UNSUBSCRIBE from the newsletter?
  3. I got hundreds of subscribers to my newsletter in the past few minutes, I think is a spambot or hacker code. Below are what in my database. Should I be worried? How can the email address be of such numbers or code? ​ ​ 1 and(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,unhe Active Set Inactive 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536 and x=x Active Set Inactive Info 999999.9 union all select 0x31303235343830303536 and x=x Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536,0x313032 Active Set Inactive Info 999999.9 union all select 0x31303235343830303536,0x31303235343830303536-- Active Set Inactive Info 999999.9 union all select 0x31303235343830303536-- Active Set Inactive Info 1" and "x"="y Active Set Inactive Info 1" and "x"="x Active Set Inactive Info 1 and x=y Active Set Inactive Info 1 and x=x Active Set Inactive Info 1 and 1_1 Active Set Inactive Info 1 and 1=1 Active Set Inactive Info 999999.9 or x=x Active Set Inactive Info 999999.9 or 1=1 Active Set Inactive Info 999999.9 Active Set Inactive Info
  4. Thank you, Rainer! Am glad that the problem is now solved! Have been searching high and low why the err cache missing appears, then only stumbled that the URL is missing the keywords. :)
  5. Hi Raiwa, I have a problem with my search result page. If I search any keywords, on the first page of the search result page, it shows: http://shashinki.com/shop/mobile_advanced_search_result.php Noticed that there is no KEYWORDS in the URL. If I clicked on the 2nd page, it shows: http://shashinki.com/shop/mobile_advanced_search_result.php?keywords=nikon&sort=2a&page=2 How do I add the keywords string on URL of the first advanced_search_result.php page? The reason I need this is because if I clicked on the product on the first search result page and then click BACK, it shows error / missing cache, as there is nothing in that URL.
  6. Dear Rainer, I have added SEO contribution mod to my iOSC now. I can now browse the product page in mobile view, but the ADD TO CART button is not working. Clicking the add to cart button does not add the product to the shopping cart. What is the problem? http://shashinki.com/shop/black-rapid-metro-sling-camera-strap-black-mp-14975.html
  7. Is it possible to put New Products on the HOME page? I find the current HOME page too empty.
  8. I have a question: When using mobile phone to search something, and someone click on the google search result link and go to my product page. I noticed that the link is to the Classic site, not mobile site. Is it possible to auto detect mobile phone and redirect the user to mobile site (product page) instead of Classic site? My classic site is using SEO, while in mobile site I disabled SEO. (I am not sure if this is the reason why it does not redirect automatically)
  9. Thanks! I will check again which SEO I installed previously!
  10. Thanks! I chose this simple solution for the time-being!
  11. Dear Raiwa, I have installed your great contribution. Everything works fine except for the product_info page. When I click on a product in my mobile site, it goes to the Classic view of the product info page. my site is at http://shashinki.com Hope you can help, as I have troubleshoot it whole day and still can't solve the problem. Thanks!
  12. Hi, My default currency is MYR (Malaysia ringgit), and I have set my Paypal account to process only USD currency at Paypal. PayPal has no problem retrieving USD price from OSC for processing, but the order recorded at my store in customer account is still showing in MYR currency. I want it to auto change to USD currency in the order record when customer selecting paypal. When customer select Paypal at the payment page, I want to have the currency (default is MYR) changed to USD automatically and give a prompt message (pull down from top) that the currency is now in USD when a customer selects Paypal. Is that possible? Any guides?
  13. Hi, I use stock quantity to control my stock status. I set my stock quantity to -100 for items that only have ONE unit. So when customer ordered, it automatically becomes -101 stock quantity. I want to DISALLOW checkout if the stock is -101. May I know how can I do that? Where to edit? Is it Checkout Process? Shopping Cart? Please help.
  14. khoking

    Do not allow checkout IF STOCK = -101

    Hi Jack, Thanks very much for replying. I do understand that OSC has the feature to disallow checkout when the quantity becomes 0, but I do not want to disallow checkout for that. I only want to have a clause where when quantity becomes -101, checkout is disallowed. I only want to disallow checkout when the quantity is -101. The reason I want so is that for product that I only have ONE unit stock, I can set the stock quantity to -100, and when someone ordered, it becomes -101 and others will not be able to order again.
  15. khoking

    jQuery Banner Rotator

    I have found the problem in the CSS part. #bannerRotator ul { list-style: none; padding: 0; position: relative; } Change to: #bannerRotator ul { list-style-type: none; padding: 0; position: relative; }
  16. khoking

    jQuery Banner Rotator

    Can someone help? I can pay USD10 via PayPal for the solution. The solution can be posted for all to use.
  17. khoking

    jQuery Banner Rotator

    Hi Jim, I just noticed the same problem using IE. Fine on FireFox, but IE no good. :wacko: I have upgraded my jquery to the latest 1.8.0 version, still same problem. http://shashinki.com/shop/
  18. khoking

    jQuery Banner Rotator

    Hi Jim, No problem on Android phone, but on iPad no good. Any solution to that?
  19. khoking

    jQuery Banner Rotator

    Managed to install this contribution successfully! Thank you very much for the wonderful and simple to use contribrition! I have been looking for one for SOoooo long! One problem. On my computer / PC and Mac, no problem for the banner to display properly. http://shashinki.com/shop/ However, when browse using ipad, the banners are not stacked up, but displayed all out vertically. Has anyone tested on iPad? (Tried on Android phone, no problem.)
  20. Hi, I saw that the current version of OSC 2.31 has a default Social bookmarks in the package. The OSC that I used was quite old, should be version 2.1, and there is no social bookmarks in the package. May I know if there is a guides on how can I install the OSC 2.31 default social bookmarks to my version of OSC? Thank you very much!
  21. I found a bug...not sure if it is on my site only or if it a general bug. If I have content in Tab 1 and Tab 3 but NOT Tab 2, then there will be some alignment error. In the above case, if I click Tab 3, then click Tab 1, error. Tab 1 will be showing both Tab 1 and Tab 3 contents at the bottom.
  22. Hi, The above works in Admin, but it is just showing as table and not showing up as tab in Admin. Can we edit the above so that it can be shown as tab in Admin just like the product info page? This is what Pronux gave in the instruction, but it is only suitable for multi-language descriptions and is not for single language different descriptions. <?php //PRONUX TMS START ?> <tr> <td class="main" valign="top"><?php echo TEXT_PRODUCTS_DESCRIPTION; ?></td> <td style="padding-left: 30px"> <?php include DIR_WS_INCLUDES.'TMS/Conf.php'; $tabNo = 0; for ($i=0, $n=sizeof($languages); $i<$n; $i++) { $tabNo = $i + 1; $TMS->tab[$tabNo]['name'] = tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); $TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); $TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo]['content']); } $TMS->setNoOfTabs($tabNo); $TMS->generateTabMenuSection(true, false); ?> </td> </tr> <?php //PRONUX TMS END ?> Appreciate if someone can help in coding the categories.php file in the admin page so that tabs to be used in the Admin page as well. Thanks! (If someone is interested to see how the Tabs work in an actual site, please see: http://shashinki.com/shop/used-canon-580ex-flash-speedlite-speedlight-near-canon-malaysia-warranty-till-sept-2011-p-7229.html )
  23. khoking

    php guru needed

    I have another PHP code cleaning problem below...it works but I find the codes to be duplicating and messy. Can someone guides me on how to clean it up? Many thanks. <?php if ($products_new['products_price'] > 999998) { ?> <b><font color="#FF0000" size="5">Coming Soon!</font></b> <?php } else { ?> <?php echo (($products_new['products_price'] > 0 and $products_new['products_price'] < 999998 && $products_new['products_quantity'] > -5001) ? '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>': '<b><font color="#FF0000" size="5">SOLD</font></b>'); ?></td> <?php } ?>
  24. khoking

    php guru needed

    Hi, I tried to use the following double IF command, but it doesn't seems to be working. <?php if ($product_info['products_hideprice'] == '0'){ ?> <?php if ($product_info['products_price']> 0 and $product_info['products_price']<999998){ ?> <td class="pageHeadingPrice"><?php echo $products_price; ?></td> </tr> <?php } else { ?> <td class="pageHeadingPrice">To be Announced</td> </tr> <?php } ?> <?php } else { ?> <td class="main">Too Low to Show (Add to Cart to See Price)</td> </tr> <?php } ?> The codes above is ignoring this command: <?php } else { ?> <td class="pageHeadingPrice">To be Announced</td> </tr> <?php } ?> Can someone help me?
  25. khoking

    php guru needed

    Hi djp-at, Thank you very much!
×