Join Free
  • Inbox
    + Reply to Thread
    Page 2 of 8 FirstFirst 1 2 3 4 ... LastLast
    Results 11 to 20 of 79
    1. #11
      Ok, I did some work on this and found the problem was with "plugin_dir_path(__DIR__) . " put in the product page. I replaced it with the full path /home/jinterne/public_html/xxxxxxxxxx.info/wp-content/plugins/ for the plugin folder and it worked flawlessly except one error which was spitted out on the search page.

      Warning: Wrong parameter count for round() in /home/jinterne/public_html/xxxxxxxxxx.info/wp-content/plugins/prosperent-search/products.php on line 301
      This error is present on all the search pages generated.

    2. #12
      I think the round() error is due to the fact the parameter PHP_ROUND_HALF_UP is available only in php 5.3 while most shared hosting use php 5.2.17.

    3. #13
      Alright, awesome, thanks mona, I was wondering if it had to do with the plugin_dir_path(__DIR__), I was playing with that a bit yesterday. And thanks for finding that other error, I'll look into that one as well, appreciate it. I'll get back to you guys with some fixed code.

    4. #14
      Just updated the plugin to V 1.1.

      I made some changes to the plugin, these should hopefully fix the bugs. The plugin_dir_path(__DIR__) has been changed to include(plugin_dir_path(__FILE__). The reason that the plugin_dir_path(__DIR__) was not working was due to __DIR__. __DIR__ is another PHP 5.3 function.
      If that doesn't work let me know, for the time being if you get the include error, remove change the include to the path of the products.php file within the prosperent-search plugin directory. Also the round bug has been fixed. If any other errors arise, let me know. Thanks.

    5. #15
      Released V 1.3 a little while ago. I'm hoping that fixed most of the issues people were having. Let me know if other issues arise, or if you still can't get it working.

    6. #16
      Confirm that it works. And WOW!!!

    7. #17
      thanks for the update. works perfectly now.

    8. #18
      Awesome, glad to hear that.

    9. #19
      1) The search box is too long, how do I adjust the length? How can I change the term "Search product" to something else?
      2) What if I wanted the search box only on the product page, and not on the rest of the website?
      3) Is it possible to have a code for the widget?
      Thanks.

    10. #20
      Quote Originally Posted by deafbiz View Post
      1) The search box is too long, how do I adjust the length? How can I change the term "Search product" to something else?
      2) What if I wanted the search box only on the product page, and not on the rest of the website?
      3) Is it possible to have a code for the widget?
      Thanks.
      1.) For the search box length, its in the CSS directory. Go into productSearch.css, around line 21 you'll find

      #search-input .srch_box {
      font-family: Arial, sans-serif;
      font-size: 120%;
      border: 1px solid #ccc;
      width: 250px;
      height: 22px;
      float: left;
      border-top-left-radius: 0.3em;
      border-bottom-left-radius: 0.3em;
      margin-bottom:6px;
      }

      Edit the width.

      To change what it says inside the search box, go into ProsperentSearch.php, down to about line 405, and find setDefaultText(form.elements.q, 'Search Products...'); Change the Search Products... inside the quotes to whatever you'd like.

      2.) Its a little more complicated to get it only on your product page, but not impossible. I'll send you some directions in a PM.

      3.) I'll read about the widgets, we had talked about doing something with them before, so give me some time and I'll get something going for that.

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts