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,986 through 18,000 (of 18,442 total)
  • Author
    Posts
  • in reply to: How can I have ASP searching only buddypress profiles / users? #2367
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I will check this out on the test server, it probably is a bug with the new version. I will send you a fixed copy tomorrow when I find the problem.

    in reply to: Ajax pro over SSL #2363
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Please try to save the search settings for each search instance you have. It will re-create the css files with the correct site url. (if the site url is set properly in wordpress)

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2360
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I think I missunderstood you.

    B – you can exclude the plugin from a page or post in the post editor: http://i.imgur.com/HbQV25x.png
    It’s a metabox under every post.

    A – You can exclude specific posts on the advanced option panel by ID-s. I think you already have some id-s there. It is for excluding posts from the related post result list, not for excluding the plugin from posts.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2358
    Ernest MarcinkoErnest Marcinko
    Keymaster

    The excluding might be an unknown but yet – because it should work, and your configuration is correct. I will take a look at the related posts plugin code with the ftp details you gave me. I will print out some debug data, but will be only visible for administrator accounts (not for users) for a very short time – so don’t worry if the plugin will look strange for a bit.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2356
    Ernest MarcinkoErnest Marcinko
    Keymaster

    No problem at all.

    In addition to point 4. Please scroll through this part of the documentation: http://wp-relatedpostspro.demo.wp-dreams.com/docs/#relevance_options

    There are some basic information about relevance selection, keywords and such. You have a lots of long content, so for better relevance you might need to experiment a bit with the relevance options. Right now the number of keywords (Minimum occurences) is set to 10, but based on your content you should try lowering it to 5 or 3. It basically then selects a lower amount of keywords and might result in more relevant results. You can also try to experiment with the relevance values as well. Lowering the title relevance might give you different results. There is also an option called “Keep each field exclusive?” – you can find more about this on the link I upper mentioned. It might also give you more precise results.

    It is also possible to choose which posts you want exactly for each post. Under the post editor, there is a metabox, where you can override the content with selected posts. Here you can read more about this: http://wp-relatedpostspro.demo.wp-dreams.com/docs/#genearal_behaviour_override_for_certain_post_local

    You should also try to experiment with the restricted keywords. As you can see the related-posts-pro/restricted.txt file holds some common words that are not considered as keywords. If you feel, that some of the words on your site are too common, you can add them to that file. Every word is separated by a space.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2354
    Ernest MarcinkoErnest Marcinko
    Keymaster

    3. I switched the compatibility mode of the javascript to minified from minified scoped on the compatibility options panel. It fixed it instantly.

    4. I need more information on that. The algorithm analyzes the post content, defines the most used keywords and chooses content based on those keywords. Based on the link you provided, I can’t see any irrelevance. Just by looking at the article I can see 40 appearances of the words “website”, “ecommerce”, “builder”, “shopping”. If I look at the relevant content, I can see posts with these titles exactly.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2350
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Oh, the problem with 2. is that the the server added blank lines after saving after each line, so the line 843 became 421. I’m attaching you the correct file, it should work after overwriting it.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2346
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I think you might need to zip the php file first, due to security risks.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2343
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. As I looked at the source code of the page, the problem is that something else is “stripping” parts out of the plugin output. Fragments of the HTML code are missing, which indicates that perhaps some other plugin is conflicting with the content filter. I think it would be safer to put the related posts shortcode straight to the template instead of using the “Show the plugin under content” option, because it looks like that some other function is hooked after the related posts pro functions – and it would be extremely hard to trace which one and where exactly.

    Rather you should try to insert the shortcode straight to the theme. The themes single.php file is usually responsible for outputting the single post or page content. I’m not sure how familiar you are with wordpress, or coding, but you should try to put the shortcode somewhere between the content and the comment section of the code.
    The php format of the shorcode is the following:

    
    

    You can find this shortcode for every related posts pro intance on the top of the settings page.

    Don’t forget to turn off the “Show plugin under the content” option, to avoid duplication of the code: http://i.imgur.com/1RmZHeR.png

    2. I think you put the code somewhere else, because the error indicates line 421, which is far from line 843. You should check that again please. The code should be put to line 843.

    in reply to: Need help with translation and ipad problem #2341
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. You can change it on the backend, it’s the “Default search text” option under the Layout options panel.

    2. The trigger-on-type is disabled (in code) for mobile devices for better performance. Older iPads and android devices tend to freeze of excessive javascript usage. I hopefully can find a better way (perhaps html5) for the next version.

    in reply to: Categories for Custom Type Posts #2339
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It wasn’t actually a bug per se, the script was triggering the first instance of the “Test” search, which was hidden on the top bar. I modified the code to trigger the second instance, which is on the middle of the page. So now, when clicking on the keyword it will scroll up to the search results of the visible search engine.

    in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2338
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    1. You should try to disable the “Run the content filter” and “Run the title filter” options on the same panel: http://i.imgur.com/pKLsAct.png
    Could you please also send me a log of the errors throwed by the plugin?

    2. Currently there is no option for that, but with a simple modification it’s possible. Open up the plugins/related-posts-pro/includes/related_content.class.php file and go to line 843, this should be an empty line, and put this code there:

    if ( $this->posts[$key]->image == null || $this->posts[$key]->image == '') {
      unset($this->posts[$key]);
      continue;  
    }
    

    Save the settings once again to refresh the cache, and you shouldn’t see posts without images in the result list anymore.

    in reply to: Categories for Custom Type Posts #2336
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It looks like a bug to me, your configuration is all right. I will need to make a few tests on this on my local server. I will apply it on your live site once it’s fixed, before I upload it to codecanyon. (in 24-48 hours max)
    Thank you for reporting this!

    in reply to: cannot save after choosing custom post type #2330
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I just managed to save the settings without problems. I’m using google chrome, maybe it was a browser issue? Or might have been the server overloaded at the time. I’m not sure, but I managed to drag the property custom post type, save it and search for properties on the fronted, I guess that’s good.

    in reply to: Set up like your Demo #2328
    Ernest MarcinkoErnest Marcinko
    Keymaster

    The width is not adjustable because it fits the container elements width. So if the search is in a 300 pixel wide container it will fit to that and becomes 300 pixels wide.

    I will try to explain how that particular search works on the demo page. What you see there is a section, which is divided into 2 equal pieces, each piece is half of the width of the section. The section width is not set to an exact value, because it’s different for each device (desktop, mobile etc..)
    This is achieved with a theme shortcode. We are using the district theme, and it has these shortcodes to divide the content into colums. So after dividing that section into 2 colums, one of them holds the search shortcode, the other one holds the results shortcode for that search instance. Your theme might not support these colums, so I will try to make an example code of how to achieve this without the theme shortcodes. Take a look at this code:

    http://pastebin.com/MeFufUV1

    If you paste this code to the post/page editor – not the visual editor, you must switch to the Text editor – then after saving you will possibly see a search box that’s half the width of the content.

    Now after switching the layout mode to blocking (see link in the previous post), if you type in something the results should appear next to the search box, instead under it.

    The pagination style is called the “Isotopic” layout. So if on the layout options panel you change it, then you should see that layout. http://i.imgur.com/coA58ga.png

    Let me know how it goes. I hope I didn’t confuse you. The search has a lot of options, it takes some time to get used to it.

    I might not answer today, I got some real life stuff to take care of. Good luck with the experiments.

Viewing 15 posts - 17,986 through 18,000 (of 18,442 total)