This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 16,636 through 16,650 (of 18,422 total)
  • Author
    Posts
  • in reply to: Help with the search #6829
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You can use the PHP search shortcode in theme files: https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/getting_started/search_shortcode_in_themes.html

    Please consult the theme developer first and make sure to have a back-up before editing the theme files.

    in reply to: Related Post Pro and Ajax Search Pro Stopped Working #6826
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. I’ve tried a few links, but it seems normal to me compared to before. You are running lots of plugins, that greatly impacts the site performance. Maybe it was just a temporary bandwidth problem. It happens to me sometimes.

    2. I didn’t change anything related to that. It must be something else. Only 1 line of code was changed in related posts pro directory, and it cannot affect other plugins.

    in reply to: Help with the search #6825
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Turn off Search in Posts and turn on Search in Pages on the General Options -> Sources panel: http://i.imgur.com/nqwm4qw.png

    in reply to: Help with the search #6823
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    First, turn off the search in posts and pages on the General Options -> Sources panel. Documentation link.

    Then turn on search in categories on the General Options -> Sources 2 panel. Documenation link.

    in reply to: Category Name Filter Not Working #6821
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thanks for the details! I wasn’t able to log in to the back-end, the wp-admin/ url nor the wp-login.php is taking me to a 404 page.
    What I concluded is that there is most likely an issue with your advanced title field configuration. I can’t see your back-end or configuration, but the code tells me that you have this in your advanced title field:

    [code]{design} <span class=colorway>{colorway}</span>[/code]

    I’m not sure what this is for, but it’s certainly incorrect. If I programatically ingored this, and searched for “blue” I got the post titles like “Majestic Blue”, “Diamond Blue” and so on.. Isn’t that correct? I’m not sure what do you want to achieve.

    Can you please explain what do you want to display exactly? I might be able to tell which configuration to change and how.

    in reply to: Cant get it to work #6811
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are welcome!

    The speed of the search is almost entirely dependent on your WordPress setup and server speed. Because of how WordPress is buitl there is also a huge amount of overhead with ever ajax request. In most cases the plugin does the work in less than 0.1 seconds, but it has to wait for it’s turn in the WordPress ajax handler process, and other plugins might (and they do) be initialized, and that’s what takes so long.
    There is unfortunately no way of avoiding it, but there are practices to make it faster. There is an entire chapter in the documentation I recommend reading, it explains almost everything. This sub-chapter might be interesting for you.

    The http://www.searchofficespace.com/ website is not running a wordpress installation, and the search engine is built and optimized only for that exact project. I’m afraid that the only way to achieve that design speed and efficiency is to build a customized search engine for that exact purpose. It also depends on the server architecture. If they are running a Dedicated high end server with multiple layers of caching, then well it’s hard to match that.

    The gap is caused by a missing icon. In the recent update I’ve removed some of the depricated graphics from very early versions. If you go to the Theme Options -> Settings icon & Dropdown menu, you can select one from the new list, and then it will appear.
    Or if you don’t wish to use it, you can disable it entirely on the Frontend search settings -> General panel with the Show search settings switch on the frontend? option.

    in reply to: Upgrading? #6806
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    No problem, it’s a valid question.

    Deactivating, deleting an installing the new will not delete your search instances, nor your options. It only deletes the plugin files. However, if you want to be sure, use the Export/Import submenu, to export all of your search instances.
    If you follow the safe update guide, there shouldn’t be any issues. Step 4 is not that important in your case, since you have a fairly up to date version.

    If you want to be 100% sure, then you can do the following steps:
    – Make a copy of the wp-content/plugins/ajax-search-pro folder via FTP
    – Export the search options database tables with PHPMyadmin or equivalent program. The table name should be wp_ajaxsearchpro

    If you made changes to any of the plugin files, to changes will be lost of course, but there is not much to do to prevent that from happening. Looking at your search I don’t see any strange customisations, so I don’t think you have to worry about that 🙂

    One major change is introduces in this version, which is the complete change of the loading images to CSS3 animated loaders. If your loader disappears, don’t panic, just choose one from the new ones, save the options, clear your cache (if you have any) and all is set. This probably won’t happen though 🙂

    in reply to: Some products dont show in search #6803
    Ernest MarcinkoErnest Marcinko
    Keymaster

    The “Fantini Farnese Casale Vecchio Cococciola” would return this I guess: http://www.enotecatuscia.it/prodotto/fantini-farnese-casale-vecchio-cococciola-terre-di-chieti-igt/

    But if you check the product, it’s in the IGT category (https://i.imgur.com/09nNWyu.png), which is excluded on the Advanced Options panel: http://i.imgur.com/qwZLfAK.png
    so the product is filtered out.

    in reply to: Some products dont show in search #6801
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I’ve just tested and it seems all right to me. This version has the changes I’ve made on your site.

    I have tried:
    “Cesarini Sartori Rossobastardo” – got 1 result on both sites
    “Ruffino Chianti Superiore” – no results on IT, because the DOCG category is excluded, and the product belongs there
    “Antinori” – lots of products on both languages

    in reply to: more_redirect_url won't accept the "&" correctly #6798
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Dang it, I made a mistake… I was in a rush and copied the wrong file, now I have to upload yet again.

    I’m attaching the fixed one to this post, please reinstall this. Make sure you clear your browser cache and page cache as well.

    in reply to: Custom field in search results #6794
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Tim,

    It’s nice to hear from you 🙂

    1. Well this issue is not related to the search, but I guess I can help you with it. So I’ve notice you are using the single-publicatie.php file in your theme folder to display these values. The “Array” output there means that it’s not a single value stored but an array of something. After some debugging I found that it’s an array of the post ID in it, so I’ve changed the code on line 51 to this:

    [php]
    <p>Deel van: <?php
    $related_p_ids = get_post_meta($post->ID, ‘deel_van’, true);
    $to_echo = array();
    foreach ($related_p_ids as $pid) {
    $to_echo[] = "<a href=’".get_permalink($pid)."’>" . get_the_title($pid) . "</a>";
    }
    if ( count($to_echo) > 0 )
    echo implode(", ", $to_echo);
    ?></p>
    [/php]

    What this does:
    – Gets the array of the ids to the $related_p_ids variable
    – Gets the permalink and title and forms a link element, then adds it to the $to_echo array
    – Implodes the $to_echo array with a comma “, ” delimiter, in case multiple posts were found to print nicely
    – Prints the links with on the same line.

    2. With a filter function easily. I’ve already appended this to your functions.php file:

    [php]
    add_filter( ‘asp_result_author_after_prostproc’, ‘asp_author_from_cf’, 1, 2);

    function asp_author_from_cf($author, $post_id) {
    $cf_author = get_post_meta($post_id, ‘auteur’, true);
    if ($cf_author != false)
    return $cf_author;
    return $author;
    }
    [/php]

    Right now the “auteur” fields are empty, but if you start adding text there, it will appear instead of the default author field. Don’t forget to turn back on the “Show author in results” option on the Layout options panel as well.

    in reply to: more_redirect_url won't accept the "&" correctly #6791
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    You are right! I’ve just tested and it’s not working correctly. There was an issue with the previous version with the search field, but I guess I forgot about the more results field.

    The fix is not too complicated, however some of the JS files are minified when building, so making changes there is almost impossible. The good news is, that the upcoming version is under heavy testing, and I can add this tiny change to it before release.
    I’m planning to upload it to codecanyon today afternoon, so it should be available sometime tomorrow after they approve it.

    If you are in a hurry, I can upload the new version here as well, once it’s finished with all tests.

    in reply to: Related Post Pro and Ajax Search Pro Stopped Working #6789
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I have made a change but the site went offline in the meantime, so I don’t know if that helped. Let me know when it’s back online.

    in reply to: Override search results page #6788
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I’m hoping for the best in terms of grouping, but currently it’s fully controlled by the theme. There are plans to change things in wordpress core to give more control over these aspects, and I’m hoping it’s going to be possible one way or another. Currently unfortunately there is nothing I can do (from the plugins perspective).

    I’m afraid there is nothing I can do with the second issue right now. I remember someone else also asked this same thing this week earlier, and I went to check the code if there is anything I can change up – but unfortunately no. It’s a very valid request, but this part of the engine is one of the most complicated, and to be honest at the time I was building it, I did not think of such feature, so the current state is not changeable. ( I would rather not go into details why excaclty )

    However I’m going to re-work the whole grouping part of the code, as it’s very hard to maintain, and it’s almost impossible to add new features to it – it’s on of the oldest part of the plugins still barely changed. This should happen within 2-3 updates, as the current one I’m preparing for release already has too many changes, and I want to avoid any potential issues transitioning from the current version.

    Sorry for the bad news, I’m doing my best to help with any issue possible. On the bright side, you have the license forever, and I have lots of things planned to make this plugin even better.

    in reply to: Phrase suggestions bug #6786
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Tr re-generating the index table, it might help.

    If you can provide temporary back-end and FTP details, I will gladly take a look at the configuration and do some debuggin if neccessary.

Viewing 15 posts - 16,636 through 16,650 (of 18,422 total)