Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Feedback

  1. #11
    Rookie robsmitties's Avatar
    Join Date
    Feb 2011
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Dear Toms,

    I love the Advanced Search Widget you'v got there and i need one of those to.
    When i install the WP Custom Search plugin and configure the search form (custom fields) it keep on saying 0 results..
    What does the trick to make this work? I will appreciate if you share your mod story with me

    Hope to here from you soon..

    Rob

  2. #12
    Thread Starter
    Senior Member toms's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    147
    Thanks
    7
    Thanked 4 Times in 4 Posts
    Hey Rob,

    Sure, It would probably be easier for me to provide the files... should plug straight in. I should say before I do so though that it is based on about members' (on this forum) work, they made it work with the old release of Classipress (pre custom types), I've only modified it to work with custom type categories etc.

    Moderators, do I need approval from you to provide this?

  3. The Following User Says Thank You to toms For This Useful Post:

    robsmitties (March 30th, 2011)

  4. #13
    Amateur moabi's Avatar
    Join Date
    Dec 2010
    Location
    France
    Posts
    19
    Thanks
    1
    Thanked 1 Time in 1 Post
    excellent work !
    though on Chrome, the submenu is quite hard to reach (sub of find a mini); it goes off as soon as you try to reach it...
    (and yes the bunny is scary !)

  5. #14
    Amateur moabi's Avatar
    Join Date
    Dec 2010
    Location
    France
    Posts
    19
    Thanks
    1
    Thanked 1 Time in 1 Post
    Quote Originally Posted by toms View Post

    Sure, It would probably be easier for me to provide the files...
    i'm interested also ^^

    thx in advance !

  6. #15
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts
    >For version prior than 3.04 & 3.04 it works out the box
    WordPress › WP Custom Fields Search « WordPress Plugins

    >for Version 3.0.5.4 (latest) credit to the author Hugo
    http://forums.appthemes.com/filtered...642/page-4/#31


    PHP Code:
    <?php if (is_home() || is_search() || is_page(array(10,'2011')) || is_single() || is_tag() || is_category()) { ?>
    <div class="XxXx">
    <?php echo do_shortcode('[wp-custom-fields-search preset="XxX" ]'); ?>
    </div>
    <?php
    }
    ?>
    Best

  7. The Following 2 Users Say Thank You to mr_green For This Useful Post:

    moabi (March 31st, 2011), robsmitties (March 30th, 2011)

  8. #16
    Rookie robsmitties's Avatar
    Join Date
    Feb 2011
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    thanks a lot for the help, i will try the Hugo version.. Any chance the custom fields filter will be featured in the new update for Classipress ? Thought i read it somewhere.

  9. #17
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    Quote Originally Posted by robsmitties View Post
    Dear Toms,

    I love the Advanced Search Widget you'v got there and i need one of those to.
    When i install the WP Custom Search plugin and configure the search form (custom fields) it keep on saying 0 results..
    What does the trick to make this work? I will appreciate if you share your mod story with me

    Hope to here from you soon..

    Rob
    Its saying 0 results for 1 of 2 reasons,

    Reason 1: you need to modify line number 292 or 293 (anyway this line)
    Code:
    $where.= " AND ($wpdb->posts.post_type='posts')";
    to:

    Code:
    $where.= " AND ($wpdb->posts.post_type='ad_listing')";
    this will then give you all the custom fields options to chosses from in setting up the plugin,

    however when you use it you will still get erroneous returns (featured ads problem) to get around this you need to open up search.php in cp theme folder and right before
    Code:
    <?php if(have_posts()) : ?>
    past in this:

    Code:
    <?php if ($_GET['search-class']){query_posts('caller_get_posts=1');} ?>
    job done!,

    the mod i did was to create the search so that it would fit in horizontally within a clean install of cp, its hacked to bits and the widgets css is exploded, if you just require the search as a sidebar widget then download the plugin from wp exchange and just do the changes listed in this post.
    My Classipress Suggestion: http://ideas.appthemes.com/forums/84...ents?ref=title vote if you like!

  10. #18
    Member vwcamper's Avatar
    Join Date
    Jun 2011
    Location
    NE England
    Posts
    76
    Thanks
    9
    Thanked 0 Times in 0 Posts
    How is that box with the Mini pictures in it created? (apologies if that's been answered, all abit confusing!)

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Your Feedback
    By malaka in forum Showcase & Feedback
    Replies: 7
    Last Post: January 27th, 2011, 12:37 AM
  2. Feedback Workaround
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 37
    Last Post: January 13th, 2011, 09:21 AM
  3. Feedback
    By dmyers in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 14th, 2010, 05:20 AM