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 through 30 (of 33 total)
  • Author
    Posts
  • in reply to: Overriding default result page with ASP result #32720
    jsamal29jsamal29
    Participant

    Yep…

    I set to 1000 and it is working somewhat really close to perfect.

    One more issue I got….currently I am getting all the results with different Group, But they are displayed in Old to New order. But actually we want to display it Latest post should come on Top within each Group. And also Can I display the Published Date of the result?

    https://imgur.com/a/hK8cPLc

    So can you guide me on… within each group results how can I make the results to display as Latest on Top of the group.

    Thanks

    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    in reply to: Overriding default result page with ASP result #32695
    jsamal29jsamal29
    Participant

    Hi Ernest,

    Somehow, it looks its working now. Thanks for the tip.

    One more issue The no. of results while doing the typing a phrase say “fleet” shows some no. of results per Group (say News – 28, and Motor Magazine – 137)

    live result -1
    and
    live result – 2

    But when sending the same phrase to the results page with Custom URL (/?s=fleet&asp_s=fleet) the no. of results are getting reduced.

    Final result-1
    and
    Final Result – 2

    I mean the new custom result page is nothing but same result container placed in a separate div…so it should display same no. of results. Or, is there anything we are missing in the URL section.

    This will be the last issue to complete my task.

    Thanks
    Jyotiranjan

    in reply to: Overriding default result page with ASP result #32684
    jsamal29jsamal29
    Participant

    Hi Ernest,

    I tried with increased limit of results.

    https://imgur.com/a/G5PsXd4

    Now at live search while typing I can see all the results –i:e; 65 rows.

    https://imgur.com/a/oHzhJVL

    But as per your last time suggestion, when I am clicking on magnifying to display the same result in a next page with following settings.

    https://imgur.com/a/NRxPAW5

    I am getting a different result e:g; 5 out of 50 and also there is no SCROLLBAR present.

    https://imgur.com/a/zakwcAV

    But STRANGELY, when I again do some text change in the Searchbox…it is updating the result box with proper data.

    https://imgur.com/a/9YSJd40

    Please let me know how can I resolve this issue. Do we need to add any more parameters in the Custom URL (/?s=selectline&asp_s=selectline) or, something?

    Thanks
    Jyotiranjan

    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    in reply to: Overriding default result page with ASP result #32671
    jsamal29jsamal29
    Participant

    Hi Ernest,

    But enabling Infinity scrolling I am not able to enable Grouping..which is A MUST feature I have to keep.

    Please suggest me something where I can see all the 50 results and with Grouping.

    In another TRY….I am using below configs to use GROUPING to display all results within a single viewport without INFINITY SCROLL.

    https://imgur.com/a/pISofQL

    But still I am getting only 5 results out of 50 without SCROLL bar.
    https://imgur.com/a/ENNAWcX

    In the ASP documentation, You have already implemented this result box with Scrollbar and Grouping in the Result-Viewport (without Load More… option but with Scrollbar) here , I just want exactly that kind of UI…

    https://imgur.com/a/bZqlth9

    Please consider this as priority and urgent.

    Thanks
    Jyotiranjan

    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    • This reply was modified 5 years, 1 month ago by jsamal29jsamal29.
    in reply to: Overriding default result page with ASP result #32625
    jsamal29jsamal29
    Participant

    Hi Ernest,

    I just want to display all the possible results including users, posts, tags, custom fields …everything. SO what are the configurations I need to do.

    2)

    https://imgur.com/a/OznFxQH

    I can see its saying total there are 71 rows populated, but in the live search result container, I can see 10, results ( I know it can be changed ). But the issue is, when I am trying to scroll to see more results, it should load other results while SCROLLING the wheel, but its not happening. As there is no PAGING in vertical Result, so the only option is to scroll down for other results which is not happening. Please suggest.

    Thanks

    in reply to: Overriding default result page with ASP result #32600
    jsamal29jsamal29
    Participant

    Hi Ernest,

    Query – 1)
    For my website the traditional search was displaying almost 60 rows including user data. But with ASP, for same search phrase / word, I am getting 15 rows all having that phrase in TITLE or, SUBJECT. Can you provide all settings that would display all the possible results with the search word present in anywhere (title, body, tags, product description etc.). I am already trying following settings but its not happening.

    https://imgur.com/a/iCMbyeJ
    https://imgur.com/a/CAga2Rn

    Query – 2)
    With every result displayed in the LIVE result container, we get result information (“{phrase}”) on top of the result container .
    Can we place that tag (“{phrase}”) somewhere in the actual results page where it can display along with LIVE search whenever user types something, without hitting Return key.

    Thanks

    in reply to: Overriding default result page with ASP result #32516
    jsamal29jsamal29
    Participant

    Hi Ernest,

    Thanks for all the inputs.

    Please guide me on how can I increase the no. of results displayed in the result container (default its displaying 6 results and on scroll it displays next results ) and how can I increase the result container height to fit more results to see without Scrolling.

    Thanks

    in reply to: Overriding default result page with ASP result #32485
    jsamal29jsamal29
    Participant

    Hi Ernest,

    How can I enable PAGING for the “vertical” Search results.

    Thanks
    Jsamal

    jsamal29jsamal29
    Participant

    Did you mean wp-hooks was added later into the wordpress core itself or, was it added into the AjaxSearchPro plugin for making compatible with wordpress 4.9?

    Also when can we expect the next updated version of plugin with these fixes?

    jsamal29jsamal29
    Participant

    Hi Ernest,

    Perfect. Will wait for the updated version of the plugin.

    I tried different plugin configuration combinations, but no success yet. I was also trying to figure out if any other plugin is causing the issue.
    During my further analysis I did found something interesting which I am gonna share below, just let me know if that is the root cause.

    Our actual application environment uses wordpress v-4.9.16. To check for validity, in localhost, I installed the ASP plugin (v-4.20.2) in different fresh wordpress installations with versions (4.9.16, 5.0, 5.1, 5.2, 5.3, 5.5) with no other plugins installed. The ASP plugin is working(initializing) as expected for all the wordpress versions only except for the wordpress v-4.9.16. And as expected only after removing “wp-hooks” from the code in file (/ajax-search-pro/includes/classes/core/class-asp-init.php:516) [ wp_register_script( ‘wd-asp-ajaxsearchpro’, ASP_URL . “js/” . $js_source . “/jquery.ajaxsearchpro” . $minify_string . “.min.js”, array(‘jquery’, ‘wp-hooks’), $media_query, $load_in_footer); ] It is working fine.

    As per the documentation, the plugin is compatible with WP 4.9, but looks like it is somehow getting restricted.
    Also I have installed the AjaxsearchPro (v-4.20.2) in a separate temporary WordPress instance (v-4.9.16) in a public domain (which you can access for testing)
    https://tinyurl.com/yfsb5k44 with temporary admin credentials (Tmpadmin, Welcome@135). Let me know if you can find any configuration changes that can be done which could fix the problem.

    • This reply was modified 5 years, 2 months ago by jsamal29jsamal29.
    • This reply was modified 5 years, 2 months ago by jsamal29jsamal29.
    • This reply was modified 5 years, 2 months ago by jsamal29jsamal29.
    jsamal29jsamal29
    Participant

    Hi Ernest,

    That is really some great news as the secondary check of wp-hooks will avoid any disrupt in the plugin functions.

    But I just want to know or, can you provide some information on why after removing the wp-hooks (from plugin code) made the script to load properly.

    Now as we know the culprit, so can we make some configuration settings check or, change from the wordpress dashboard so that we do not have to explicitly remove this piece of code from the plugin code files while deploying the changes to other environments.

    Thanks
    Jyotiranjan

    jsamal29jsamal29
    Participant

    Hi Ernest,

    Finally some good news. We got the script to load when we removed “wp-hooks” from the “wp_register_script” dependency in (./ajax-search-pro/includes/classes/core/class-asp-init.php:516).

    wp_register_script(
    ‘wd-asp-ajaxsearchpro’, ASP_URL . “js/” . $js_source . “/jquery.ajaxsearchpro” . $minify_string . “.min.js”,
    array(‘jquery’, ‘wp-hooks’),
    $media_query,
    $load_in_footer);

    So now the script is working fine and the functionalities seems to work fine as of now. But my concern is as we have removed a dependency “wp-hooks” from wp_register_script, so will it impact anything?

    Thanks
    Jyotiranjan

    jsamal29jsamal29
    Participant

    Hi Ernest,

    Can you provide some guidance on how and in which file I need to add the code to force the enqueue – wp_enqueue_script( ‘wp-hooks’ );

    Thanks
    Jyotiranjan

    jsamal29jsamal29
    Participant

    Hi,

    Also my colleague found out that there are multiple Exits that could result in non initialization of the plugin funtionality. Can you clarify on this as well?

    Thanks
    Jyotiranjan

    jsamal29jsamal29
    Participant

    Hi,

    In the location wp-content / themes / <themename>/, I checked 3 files i:e; functions.php, header.php and footer.php.

    I could find wp_footer() in footer.php, but I could not find wp_header() in header.php. Could this be the reason and how to fix this?

    Thanks
    Jyotiranjan

Viewing 15 posts - 16 through 30 (of 33 total)