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

Forum Replies Created

Viewing 15 posts - 17,521 through 17,535 (of 18,415 total)
  • Author
    Posts
  • in reply to: probleme with my search panel box wordpress #3967
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure, don’t worry.

    Please edit your first post to add temporary FTP and Administrator details. Or you can also upload it as a .txt file. Both methods are safe.

    in reply to: probleme with my search panel box wordpress #3965
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Those are notices coming from the theme, but it should be no problem.

    If you check the General Options -> Sources or the General Options->Sources 2 tab? Are there any error messages there?

    in reply to: probleme with my search panel box wordpress #3962
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Please edit your first post to add temporary FTP and administrator acces, I will check on the issue on your server.

    Thank you!

    in reply to: Change isotopic icon and colour #3960
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you very much for the 5 star rating, you are very kind! Have a nice day!

    in reply to: costum design for a button and result page #3958
    Ernest MarcinkoErnest Marcinko
    Keymaster

    It’s a shame, I was hoping it would work.

    In this case turn the ‘Override the default WordPress search results page’ option on,
    and change the ‘Redirect to url?’ back to ?s={phrase}

    It should redirect back to the original search page with the overriden results.

    in reply to: Change isotopic icon and colour #3957
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thank you very much.

    That icon is a little bit tricky as it’s a vectorgraphic SVG image (to support 4k devices), and it’s currently not changeable on the back end. It’s been requested that I add this feature before, so it’s definitely going to be available in the upcoming version.

    In the meantime I can explain briefly where you find the code that’s including the SVG element so you can change it:

    If you open up the wp-content/plugins/ajax-search-pro/includes/views/asp.shortcode.data.php file and check lines 5-13 you should see an SVG html element between opening and closing tags.

    Basically that’s the icon in a vectorgraphic format.

    You can replace that whole code with an image element if you have your own magnifier icon created,
    Or you can browse for the built in magnifier icons in the wp-content/plugins/ajax-search-pro/img/svg/magnifiers/ folder, where you should see like 7 different .svg files.

    If you double-click it should be opened in IE or your default browser to show a huge magnifier.

    If you like one of them, then open that svg file with a text editor and copy all of it’s content.

    Now go back to the php file previously opened and replace lines 5-13 with this new code.
    It should be very similar in structure, only some number differences. After refreshing your browser you should be seeing the selected icon instead of the old one.

    Sorry if it’s a little messy, I honestly forgot to add an option for that icon in the current version.

    in reply to: probleme with my search panel box wordpress #3956
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It inddeed looks like some of the settings are not showing properly.

    If the settings were working before, then the issue is most likely caused by a possible plugin collision. Try to deactivate the latest plugins you installed and check if it works then.

    Also, try to enable debug mode in the wp-config.php file, then check the ajax search pro settings again. There should be some kind of error messages, which might help me identify the cause of the problem.

    in reply to: strange issue #3950
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I was just finishing the modification. Please check if everything is all right. To preserve the changes, I’ve made a backup copy of the plugin for you, in case you need to reinstall it – I attached it to this post.

    Let me know if everything is all right.

    in reply to: 'The' search bug #3947
    Ernest MarcinkoErnest Marcinko
    Keymaster

    No problem at all.

    Would you please try to change the keyword logic to “OR”? That is actually the default value. It should solve the issue.

    in reply to: 'The' search bug #3945
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    – Does the title actually contain the word “the”, or is it prefixed within the theme layout?
    – Does this happen if you type in the search keyword in full lowercase?
    – Is the fulltext search mode activated? (Fulltext search options submenu) In some cases the database ignores some words or word combinations in fulltext mode.
    – What is the Keyword logic set to? http://i.imgur.com/Q9SGAGa.png
    If it’s “And with exact word matches”, then the “the” part is actually not stored in the database, or at least this is what I suspect. Or it’s an unknown bug yet.
    – Is the “Show exact matches only” option turned on or off? What happens if you type partial phrase, like “he servant” or “the serv”?

    in reply to: costum design for a button and result page #3942
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    The input for the custom URL was built in because some customers had different (customized) url for the search results and they needed to adjust the redirection from the Ajax Search Pro.

    The ‘Override the default WordPress search results page’ overrides actually the results on the default search results page, not the page location or the URL or the layout. So you should see similar result items to the ajax search pro results. The page (layout or URL) cannot be overriden by a plugin unfortunately.

    If you want to change the url of the results page, then you need to either create page redirect filter in the theme functions.php, or to create a .htaccess rule. This method will bypass the required query variables back to the default search page. Unfortunately it’s not possible to do this with a plugin, that’s why ajax search pro can’t manage this part.
    I think the article I linked covers both methods: http://wpengineer.com/2258/change-the-search-url-of-wordpress/

    After the redirection is set properly, then you need to change the custom search URL on the ajax search pro settings to match the redirection pattern.

    I’m sorry if it’s a bit confusing, permalink redirects are extremely hard to understand, and I’m not the best when it comes to explaining 😀

    Anyways, I can’t really help with the redirection issue as it’s not related to the search, but based on that article I’ve modified that code there, which should work on your server. So, try to put this to your themes functions.php file:

    [code]function asp_change_search_url_rewrite() {
    if ( is_search() && ! empty( $_GET[‘s’] ) ) {
    wp_redirect( home_url( "/פרסונות/" ) . urlencode( get_query_var( ‘s’ ) ) );
    exit();
    }
    }
    add_action( ‘template_redirect’, ‘asp_change_search_url_rewrite’ );[/code]

    Okay. Now, after putting this code the urls like: http://www.persona.org.il/פרסונות/phrase
    should start showing some search results, as wordpress now knows that the “/פרסונות/” permalink is triggering a search.

    Now try to change the ‘Redirect to url?’ setting on the Ajax Search Pro settings to this:
    פרסונות/{phrase}

    You might need to turn off the ‘Override the default WordPress search results page’ in order to make it work, I’m not sure about this.

    I’m hoping that his will help you.

    in reply to: no wpml search results #3941
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. Ok, let me know 😉

    2. It’s going to be featured in the next update of course, if I’m able to do that fix. I’m not sure if I release the update this week yet, something came up and I have to travel to Germany thursday, so I won’t be available till monday.

    I will contact you either later today or tomorrow around morning with the modified files.

    in reply to: no wpml search results #3938
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Sorry for the late answer, I’ve been checking on the second issue, and I needed to ask on wp forums if there is any solution to that from a core developer.

    1. I see. Some of the posts doesn’t have content, but id does have excerpt. For now you can only select one field, but luckily I have made hook points for this, so a small code snippet can help you out:
    [code]add_filter( ‘asp_results’, ‘asp_excerpt_results’, 1, 1 );

    function asp_excerpt_results( $results ) {
    foreach ($results as $k=>$v) {
    // Check the content and the excerpt
    if (($results[$k]->content == null
    || $results[$k]->content == ”
    || strlen($results[$k]->content) < 5)
    && ($results[$k]->excerpt != null
    && $results[$k]->excerpt != ”
    && strlen($results[$k]->excerpt) > 1)
    )
    $results[$k]->content = $results[$k]->excerpt;
    }
    return $results;
    }[/code]

    Try to add this code to your themes functions.php file. I haven’t got time to properly test, but it should work.

    2. This is lot more complicated unfortunately. The problem is that the override must use internal (wordpress core) functions to retrieve the posts by their id after the ajax search pro does the partial search. The problem with that particular function is, that it cannot retrieve posts from other multisite blogs. (I thought it does) I’ve contacted a developer to advise me with the issue, so I might be able to work out something.

    It will require you to replace 2-3 files, because I will probably need to change a few lines in them. Would you replace those files in the ajax search pro plugin if I attach them here?

    in reply to: strange issue #3935
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You can upload as a .txt file into this thread safely. It will be visible only for you and me.

    in reply to: strange issue #3933
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure thing. I will check what changes do you need and I will back them up as well. Sorry I could not answer sooner, I had a busy day. Tomorrow I will check and fix the issues again.

Viewing 15 posts - 17,521 through 17,535 (of 18,415 total)