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,761 through 17,775 (of 18,442 total)
  • Author
    Posts
  • in reply to: shordcode display instead of searchbar on homepage #3133
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Could you please edit your ticket and add login details?

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3129
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    3. I understand your point, but for these complex usages are the cases when the filters come in handy. As you can see the backend is already filled with various options and adding something even more complex like a content output builder just doesn’t make sense to me right now.
    There is always something more that the user wants, that’s why the backend is overwhelmed with loads of options. At some point I had to say no, because these cases are too special to generalize into the stock version of the product, and 99% of the users won’t even notice it or used it.

    So in my opinion you should create a custom function which hooks onto one of the filters and modify the content as you want it to look like. Here is a knowledgebase article on how to do such things: https://wp-dreams.com/knowledge-base/showing-the-post-type-name-in-post-title/

    Starting with this simple piece of code you can build up the fields you wanted. It gives you access to the final output array of objects with post ids, final content etc.. So you can easily retrieve the custom fields you need and change the content field to whatever you want.

    1. Will test that out on my local server and make corrections 😉

    2. It’s excluded on purpose. I switched up a few lines and now it should filter them out even if it’s a custom field content.

    in reply to: No search results on Wamp Server #3128
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    That sounds like the ajax request is not returning anything, which happens if the code stumbles into an fatal error at some point and halts.

    If you click on the network tab of your browsers developer tools and check the content of the ajax request after trying a search it should be empty.

    Now, try to enable error reporting in the wp-config.php file and try searching again and then examine the new ajax response. It should contain some kind of fatal error message for sure.

    WAMP server might have some core modules disabled. I switched to XAMPP a few years back, that’s my current testing environment and it corresponds with 99% of the hosting servers. If you don’t mind, I would recommend trying it 😉

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3124
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thanks for the ideas!

    I’ll see what I can do about that. If it’s not too complicated, I might slip it into the next bugfixed version today.

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3120
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Well it would be awesome, but I don’t know what else I could add to that field, or how to change it. I mean the “%GROUP%” variable represents the custom post type name or category name, so anyone can change it to for example “Results from %GROUP%”. Should I create a separate box for the “page” as well? If you have an idea, I’m happy to hear it.

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3118
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I see now.

    4. I’ve marked the code with comments that you can edit for this. Open up the wp-content/ajax-search-pro/includes/search_content.class.php file and go to line 819. That’s the variable you need. I made a few lines of comments to help you out.

    Well, I’m trying 😉

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3116
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    After a long debugging I have found the problems

    1. You had a custom field filter created on the Frontend Options panel, but never used it. This restricts the results to show only those where this particular custom field is present. I removed that, since it wasn’t in use. Then in the Advanced option field there was a category excluded. The problem with that is that on a multisite install every single site has different category ID’s, moreover every custom taxonomy term is stored where the categories are, so if a term has the same ID on a different site as another category on the other site it will exclude the posts/custom post types related to that category or term. I don’t know if there is ever going to be a possible fix for this, it’s a very complicated issue. So I don’t recommend excluding categories or taxonomies on multisite installs for now.

    3. On the advanced option panel you can find “Description Field” option, where you can select which custom field would you like to show instead of the description. Or there is another field called “Advanced Description Field” just below that, where you can merge multiple custom fields as well, or keep the original description along with a custom field content, like: “{descriptionfield} {custom_field_name}”

    4. There is an option on the Advanced Options panel: “Group by default text (%GROUP% is changed into the current cateogry/post type name)” – it’s almost at the bottom. So in your case the %GROUP% will be the custom post type name, and you can add text before it, after it, or just remove it if you want.

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3113
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    2. It was indeed a bug with multisite, I didn’t know that. Fixed it for you with minor modifications, this one goes as well into the next bugfix I’m uploading tomorrow.

    As for the other issues, I need to leave right now but I will check them all tomorrow. Could you please provide temporary ftp access as well? I don’t want to edit the files via the plugin editor again, because if I make a syntax mistake then it will break the site and I would not be able to fix it. You can upload a txt file with the details, it’s not visible to others.

    I will go through the issues tomorrow morning.

    in reply to: Search Results Wacky #3108
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I see. I tried the default search engine, same results: http://www.rtoinsider.com/?s=million

    What happens if you disable temporary the ajax search pro plugin and visit the url above? I think it might be unrelated to the search, but I’m not sure yet.

    If the url above returns results with the same issue, then it’s not the ajax search pro.

    in reply to: Search Results Wacky #3106
    Ernest MarcinkoErnest Marcinko
    Keymaster

    No problem at all 😉

    Let me know if something’s up.

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3094
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Yes, I changed via the plugin editor, so you don’t have to wait till the next bugfixed version is up.

    I think I have unchecked the ‘Notify users about the upgrade’ earlier when I uploaded a bugfix which affected only 1 user and it might have stayed that way. I will double check that when I upload the next bugfix.

    No problem at all, have a nice day!

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3091
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Oh, I think I see the problem now.

    I indeed somehow messed up and forgot to incorporate the change to the current version, damn. I also found the issue why it showed up wrong results. It used the blog ID ‘1’ instead of the current blog id. I changed those faulty codes in the plugin editor, now you should see the correct results.

    I’m going to make some tests now and correct these errors and upload them to codecanyon ASAP.

    Sorry for the inconvenience. I hope you get notified this time.

    in reply to: Split: Blog Multisite section doesn't appear any Blog #3089
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Eno!

    I just stumbled upon your reply on the other topic, I don’t get notified if another user replies to anothers topic.

    And what if you select both, or all of the blogs? Will it return results from both? And then if you only select the one that you want, does it change anything?

    I hope you get notifications of this topic. To make sure I’ll send you a message through your profile mail as well. Let me know if you get notified (besides my mail) so I don’t need to message you if I reply.

    in reply to: Search Results Wacky #3086
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    2. If you deselect “Search in posts” and “Search in pages” then of course there are no results, there is nothing to return whatsoever.
    I see you reverted back to 3.2, no problem. I logged in with the admin details and changed on file in the search plugin, to apply the fix to not show all results, when there are no matches. (that was a bug in 3.2)
    Now it shows the “Sorry, there was no content that matched your search.” if there are no matches as it’s specified in your theme.

    I typed in million, and nothing shows 0 million. There are several others like $150 million, $10 million etc.:http://i.imgur.com/tg0F1P2.png
    The plugin does not affect these result layouts. It’s the default wordpress results page, coming from your theme, only with the posts that are specified by the ajax search pro plugin. So I don’t know why those signs were removed, but it’s more likely related to the theme or to another plugin that applies a filter over the returned search content. I might be wrong though.

    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I can’t see the search anywhere on that page, could you please link me to a page where the search is active?

    Also, could you please edit your initial post and add temporary admin and ftp details? I would like to do some debugging with the plugin to see if this is a bug or something else.

    Which search phrases do not work? Could you please tell a few, and possibly some of the expected results? I will try those then.

Viewing 15 posts - 17,761 through 17,775 (of 18,442 total)