Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
Can you provide temporary admin/ftp login details and an url where the search is active? There are dozens of possible things that can affect the ajax speed of wordpress, and I’m unable to tell what could it be.
Ernest Marcinko
KeymasterHi!
Does the search shows any errors or anything after copying?
When you copy a wordpress instance to another url, you also need to edit the databse files, because it may contain information from the old url. It’s actually a quite complicated process.
I can see a few icons missing, and a bunch of 404 errors on my chrome developer toolbar, which indicates that the moving process was not successful. You can read more about this here: http://codex.wordpress.org/Moving_WordPress
Ernest Marcinko
KeymasterOf course. I’m on mobile right now, tomorrow I’m back in the office. Will fix that for you.
September 5, 2014 at 6:51 pm in reply to: How can I have ASP searching only buddypress profiles / users? #2367Ernest Marcinko
KeymasterHi!
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.
Ernest Marcinko
KeymasterHi!
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)
September 2, 2014 at 11:50 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2360Ernest Marcinko
KeymasterHi!
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.
September 2, 2014 at 11:24 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2358Ernest Marcinko
KeymasterThe 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.
September 2, 2014 at 11:19 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2356Ernest Marcinko
KeymasterNo 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.
September 2, 2014 at 11:06 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2354Ernest Marcinko
Keymaster3. 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.
September 2, 2014 at 9:33 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2350Ernest Marcinko
KeymasterOh, 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.
September 2, 2014 at 9:16 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2346Ernest Marcinko
KeymasterI think you might need to zip the php file first, due to security risks.
September 2, 2014 at 9:05 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2343Ernest Marcinko
KeymasterHi!
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.
Ernest Marcinko
KeymasterHi!
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.
Ernest Marcinko
KeymasterHi!
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.
September 2, 2014 at 7:11 am in reply to: Original Blog Post content get stripped of HTMl and Shortcodes #2338Ernest Marcinko
KeymasterHi!
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.
-
AuthorPosts