Post Teaser issue with WordPress 2.3.2
Plugins, Post Teaser, WordPress February 12th, 2008Of late, I’ve been receiving some complains about Post Teaser not working with WordPress 2.3.2 (I have yet to hear about WordPress 2.3.3 so, no idea if there are problems in 2.3.3). I’ve done some investigation but so far I’ve yet to find any real issue. I’ve tried to put up a test blogs to re-produce the problem but so far, I’ve come up empty. Unfortunately, if I can see the problem, I won’t be able to do anything to fix it. I’d figure I do not have many options but to call for help on the collective on the Internet to help me pin-point the actual problem. Please look at the description below to see if you have seen it before.
The two complains I’ve heard that I can not re-produce is:
- Post Teaser skipping post. Most of the posts are teased but a few is not and it does not look like the post itself is malformed.
- Post Teaser caused sidebar to disappear. When ever Post Teaser is enabled, the sidebar is gone.
For problem #1, my investigation always starts at checking the post to see if the cause for Post Teaser to skip certain post is the way those posts are written. To be brief, the two common type of post that cause Post Teaser to skip post are to write a long post in one paragraph and to use <br /> in place of <p>…</p> tag pair for paragraph break. I’ve eliminate both the cause in the recent reports. However, I’ve not been able to find anything else that may cause the problem.
For problem #2, this is the first time I’ve heard of this problem. After testing that Post Teaser does in fact works with WordPress 2.3.2, I have one suspicion, which is widgets. I’ve tested that quite extensively as well and still I can not find what is causing some blogs to crash their sidebar.
For those who have one or both of the above problem and is willing to spend time to help me determine what is the real cause of those problems, please drop me a note here: http://sandboxblogger.com/contact/
February 20th, 2008 at 1:26 am
hello, post teaser doesn’t teases the posts on my wordpress 2.3.3 installation. http://www.thinktechno.com my blog see it. Can you fix it up.
February 20th, 2008 at 2:03 am
Hi PJ,
I’ve notice your post are short and usually around 100 words. What is the threshold you have set for Post Teaser?
February 20th, 2008 at 1:34 pm
even more then 100 letters posts ain’t working. what do i do.
February 20th, 2008 at 1:37 pm
hmmm strange i tried reducing the threshold to 50 surprisingly it worked…
February 20th, 2008 at 2:51 pm
Hi PJ,
Glad to hear you’ve got Post Teaser to work.
You’ve said that post more then “100 letters” does not work when you have Post Teaser set to 100. I assume you actually mean “100 words”?
Anyway, one thing to note is that Post Teaser is a paragraph aware teaser. Meaning, it will only break at the nearest paragraph break of the threshold setting. For example, the last word in your second last paragraph is at word count 70 and the last word of the last paragraph is at the word count of 120, the post will not be teased because 120 words is nearer to the threshold then 70 words.
Hope that clears things up.
March 12th, 2008 at 9:31 am
I just upgraded to 2.3.3 and when I enable post-teaser then write a new post once I publish FF locks up and I have to close it. It does post the entry but sometimes it double posts.
I love the plugin, but if it locks up my browser (I get nothing through Firebug, or anything printed to the screen) and crashes it doesn’t work for me.
March 12th, 2008 at 4:33 pm
Johathan,
Are you sure Post Teaser crash your FF? Post Teaser does not have a hook to the WordPress’ write post page and I’ll be surprise if it is responsible for crashing your FF when you publish a post.
The standard WordPress diagnostic should be employed here to find out what is causing WordPress to crash. To do so, try the following:
After the above test, enable all the usual plugin and switch to the default WordPress theme and run the test again to make sure it is not a theme problem.
If the problem still points to Post Teaser, let me know. If that’s the case, there may be some workings in the way plugins interact with WordPress admin pages that I have not consider.
March 12th, 2008 at 10:14 pm
I’ll be doing that hopefully today. It may just be that it conflicts with something else – but at this point, if I turn it on it’ll start crashing the browser (that’s with my other plugins turned on). I went through and was turning them on one at a time, and post-teaser just happened to be the last.
I’ll post back once I’m done.
Thanks
May 22nd, 2008 at 5:35 am
Thought I’d try and offer some info. I’m running vers 3.10 on a W/P 2.5.1 install (latest of both as of this date).
I’ve had it set it at 120 words, but somewhere around W/P 2.3 noticed it wasn’t working right, but cutting posts much farther than 120 words (more like 1200 words if I had to guess). Yeah, I write long posts.
When I change the option (any option) on the plugin’s option page, I’m sent to a URL like this: http://www.salberg.org/wp-admin/options-general.php?page=post-teaser.php&saved=true with a single message on the page: “Cannot load post-teaser.php.”. But when I manually go back to the options page, it has the new option I put into it loaded correctly in the field.
Needless to say, it doesn’t seem to have much effect though. It does cut off (eventually) on some long posts, but I can’t figure out any discernible pattern. I put the most recent post clip in M/S Word and did a word count: 1,196. Pretty good guess earlier, eh? I should be a copy editor.
Anyway, don’t know if that will help you troubleshoot. If you want me to try anything, just email me and I’ll try some things on my blog for you to see if we can square this up.
And just to alleviate the paragraph question, yes I use actually paragraph tags, and XHTML 1.0 Transitional. I’ll be switching my theme to strict later in the year when I have a few hours to kill.
May 23rd, 2008 at 12:44 am
Thanks Lawrence. I’m sure I will need you to try some stuff but I’m really busy this month. I’ll send you an email to touch base and maybe work out some time to give this a go.
Thanks again.
June 14th, 2008 at 11:43 am
Hello, would Post Teaser be updated for WordPress 2.5? It seems to be in conflict with some plugins using the ShortCode API in 2.5
Thanks 🙂
June 15th, 2008 at 3:39 am
Hi Veron,
Can you elaborate on how Post Teaser conflicts with other plugins? I would need to know the issue before I can fix it. 😉
June 24th, 2008 at 2:11 am
thx for your great plugin. Just a small suggestion, if the teaser length is set at say 50 words, and the post happens to be less than 50 words, it should default NOT SAY ‘click here for more’, etc.
November 19th, 2008 at 12:19 pm
Great plugin! I use it on a lot of sites. Are there plans to continue development?
November 25th, 2008 at 9:38 pm
Hello,
i want to share my problem .. hope it helps in any way. For me the plugin worked great (little glitches but nothing serious) .. but after doing changes to my blog – from iso to UTF .. your plugin reports an error.
Added the follwoing to the wp-config:
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
If you “deactivate” these lines .. there is no problem. I am not sure which line is killing your plugin and why .. but this definitly does it for me.
You know your plugin as best .. plz fix it 🙂
For all others, try to deactivate these lines like this.
/* define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”); */
This definitly wont fix the problem, but it might help you since the new version 😛
March 2nd, 2009 at 2:55 am
Hi Han,
I love your Post Teaser Plugin. However I am having a problem displaying the WordPress function, ‘the_excerpt’ on a page I made on my blog. When deactivate Post Teaser, ‘the_excerpt is displayed. When Post teaser is activated the WordPress function ‘the_content’ is displayed. I am hoping that you know of a work around so that Post Teaser does not affect my page.
Thank you
March 2nd, 2009 at 11:51 am
Hi Open Source,
I’m assuming you are Sean and I’ve responded to your question here
March 19th, 2009 at 5:20 am
Hi, I was wondering if there was a way to change post teaser to a non-paragraph aware plugin…
All I want is the first 100-300 words… but if I type something without paragraphs then it links the whole article.
How can I solve this?! thanks!
April 7th, 2009 at 8:38 am
Hi
Latest version 3.11.1 had a fatal error on upgrade
Parse error: syntax error, unexpected T_DNUMBER, expecting ‘,’ or ‘;’ in public_html/wp-content/plugins/post-teaser/post-teaser.php on line 38
I tried deleting via FTP and did a fresh install thru add new interface and had same error.
Check it out please
I really like this plugin
Thanks
April 7th, 2009 at 3:53 pm
Exactly the same problem as Clayton above. Why is it not working? Thank you for a rapid solution.
Regards
April 7th, 2009 at 5:38 pm
Hi, there is a typo introduced at the last minute in the file I’ve released. That teach me not to mess with the files AFTER I’ve tested it… Sigh. Appologies folks. I have a fix but I don’t have access to my test environment now, so there is no way to be sure that my fix don’t contain any problem.
For now, please downgrade. I’ll get the real fix out asap.
April 8th, 2009 at 2:38 am
Hi!
To use the capability of the 3.11.1 I’ve deleted the final 1: now it’s 3.11; (at line 38)
I think this is due to the fact that it’s interpreted as an integer. Since there isn’t a number with two decimal points 😛
You should use strings, I think.
bye bye
April 8th, 2009 at 4:07 am
Marco,
That’s the typo I’m talking about. Change the version AFTER I’ve tested it… Sigh.
Anyway, I’ve fixed and released an update but there seem to be a problem with the repos at worspress.org. The new release is not showing up. I’ve louged a bug to the admin and hopefully it’ll be fixed soon.
Please update once it is available. In the mean time, if a fix is urgently needed, please downgrade to 3.11
April 9th, 2009 at 1:41 pm
well, I’ve upgraded without no problems 😛
thank you 😛
April 22nd, 2009 at 11:50 pm
hello,
Firstly id just like to say thank you for fixing that issue wit the last update were there was a syntax error. As instructed i had rolled back and then updated to the latest version when you had fixed it 🙂
However with this latest version im getting a bug i think.
When ever i create a new post/ update a post or modify in anyway. as soon as i hit update/ publish etc the next screen is just a white screen with the text “link to this post”. Sometimes it says this once, sometimes a few times but it always just hangs wordpress and leaves it on this white page with this text. Ive uploaded an example image:
http://img90.imageshack.us/my.php?image=errori.jpg
WordPress does actually update the post/ publish so its not a huge issue but juut gets a little annoying 🙁
Again great plugin and i hope you get time to fix this issue :). Any more questions just email me and im be more then happy to provide more information 🙂
April 23rd, 2009 at 12:06 am
Hi Jo,
The issue you have describe have been brought to my attention recently. It seems that Search Unleashed does not work well with Post Teaser. I’m in contact with Search Unleashed author and have reported the problem to him.
According to him, he will look at the issue on the next release. So, I’m going to wait for him to look at the issue to see if we can work together to fix the problem. I don’t have a time frame as to when the problem can be fixed.
If you do not have Search Unleashed installed, then it looks like another plugin that conflicts with Post Teaser. If that is the case, please try the following to figure out which plugin that is causing the problem:
1. Disable all plugin except for Post Teaser and make sure the problem goes away when you update a post.
2. Enable only one other plugin and check if the problem comes back. Remember to only have one other plugin apart from Post Teaser activated and repeat until you have found the problem or you have tried all the plugin (though unlikely you can go that far without hitting the problem again).
3. Report the plugin that you have found that cause the problem to me.
I’ll take a look at it.
Thanks for using Post Teaser.
April 23rd, 2009 at 4:19 pm
Thank you for your reply. i did in fact have search unleashed installed! After disabling all seems well, i will keep you updated with any of plugin conflicts 🙂
again thank you for this great plugin 🙂 🙂
August 20th, 2009 at 6:00 am
Hi, Post Teaser doesnt work if I have a HTML TABLE tag. Instead of truncating the post, it allows the full post to appear.
What could be the problem?
August 20th, 2009 at 6:07 am
Adding to my previous question, is there a way to specify Post Teaser to filter out of the teaser, non-text HTML tags, like IMJ, EMBED, OBJECT, A etc?
September 3rd, 2009 at 4:11 pm
your latest post is from Feb 2008? Was hoping to get some updated news / development info on the teaser plugin but… guess not
September 3rd, 2009 at 11:35 pm
Chuk,
I’m sorry that I gave you the impression that this blog is exclusively for PostTeaser news but I really don’t know where you get the idea. If you point out where you get the idea, I’ll try my best to correct and not mislead other readers. 😉
May 1st, 2010 at 8:13 pm
Yo!
Is it possible to use it in only one category?
Greets and thanx
Felix
May 3rd, 2010 at 3:22 am
Felix,
Unfortunately not without hacking your theme.
May 15th, 2010 at 7:56 pm
Hiya
I have wordpress 2,9.2 and its not teasing posts on any theme.can you help me plzzzz 🙂