FIXED: Post Teaser compatibility issue with WordPress 2.2.x
PHP, Plugins, SandboxBlogger, WordPress July 11th, 2007UPDATE: I’ve manage to get in touch with the maintainer of the official WordPress plugin site and have since gain control of the Post Teaser plugin page and repository. The only thing now is to also get control of the old WP-Plugin wiki so that I can point users to the new release. BTW, here is the official Post Teaser plugin page.
After much debugging and sleepless nights, I’ve got to fix the Post Teaser plugin. Although if I’m an experienced PHP programmer, I would have manage the fix in a matter of hours but I’m still learning. I still can’t program PHP if my life depends on it (at least not in a timely fashion). Regardless I’ve fix the issue and I’m now happy with the result.
Now, the difficult part. I have had a chat with Jonathan Leighton, the original developer for the Post Teaser plugin and he is not maintaining the plugin anymore. On top of that, he has also lost access to the official Post Teaser wiki page at WordPress Plugin Repository. So, I bite the bullet and ask to take over maintaining Post Teaser. Hurray! He agrees. However, there is still one issue to resolve. That is the access to the WordPress Plugin wiki. I’ll need to work it out later but for now (in order not to keep everyone waiting), I’ve hosted it on SandBoxBlogger.com at the Post Teaser plugin page.
Please feel free to download and use it as you would on the WordPress Plugin Repository. Post Teaser is not my puppy. Hurray!
PS: If anyone knows how to get into contact with the WordPress Plugin Repository admin, please help pass along the word that I have taken over the development of Post Teaser. I need the access if I am to continue working on this plugin.
July 19th, 2007 at 1:36 pm
It looks like the %word_image_count% function is counting the icon images from the Sociable plugin. Is there a way to make Post Teaser not count the images that are not in the main post?
July 19th, 2007 at 2:12 pm
Hi Sieow Yeong Huah,
Post Teaser does not do anything out side of the main post. The problem is with the Sociable plugin.
The way Sociable plugin works is to embed the image in the main post. If you study the html code, you will find that the img tag is part of the main post. There is no easy way to for Post Teaser to tell if an img tag is for a real picture or not when the img tag is in the main post.
I am sure I could add exception to the counting functions but that would mean I need to add the same exception to every request that comes in. It would be a mess and not to mention these exceptions will cause the blog to appear slower due to the extra processing.
If you have any suggestion, I could consider as long as it is not a hack.
July 19th, 2007 at 5:12 pm
Sociable plugin disabled for my blog until I find something that works nice with Post Teaser. Cheers 🙂
July 19th, 2007 at 7:05 pm
Sieow Yeong Huah,
I’m horned that you chose Post Teaser.
If you find one that works well with Post Teaser, please report back here. I’ll try to maintain a list of plugins the works and doesn’t work with Post Teaser.
Thanks.
July 26th, 2007 at 10:38 pm
I’ve been a big fan of Post Teaser as well, and am very pleased that you picked up maintenance for it. For some reason, your updated version isn’t working for me yet, but when I have a few spare minutes I’ll try to poke around and figure out why.
July 26th, 2007 at 11:47 pm
Hi Peter,
Glad to hear from fan now and then. 😀
I’ll do my best not to disappoint.
Anyway, if you just describe the symptom and also which version of WP you are running, I could spot the problem.
Please do let me know what you have found out.
October 17th, 2007 at 2:05 am
Hi,
I’m trying to follow your instructions for using this plugin on my site but am running into issues.
when the php file is in it’s own folder under the plugins folder it is visible in the options tab. Problem is that the php file won’t load. If I try to run it manually it points to a problem on line 51 or 52.
Then when I remover the php file and place it directly in the plugins folder (out of its own folder) “post teaser” disappears from the option tab.
Is there something I’m missing? can you please help?
-Thanks in advance,
SwitchB
October 19th, 2007 at 2:41 am
Hi SwitchBlade,
Your comment was hidden in the spam box for a couple of days.
Anyway, to install Post Teaser, you need to place the post-teaser.php file directly in the plugin folder. As you have experience, placing post-teaser.php in a subfolder off the plugin folder will cause an error.
As for why “post teaser” option disappear from the option menu after placing the post-teaser.php in the right folder is kind of strange. I’ve not heard any complains about this obviously.
One thing to check is the file permission. The very minimum is to have read permission set for everyone. If things seem to be right, then try re-extracting post-teaser.php again and upload to the plugin folder to see if that works.
If you are still facing the same problem, do contact me via the “Contact Me” form accessible from the tabs under the header of this page.
January 7th, 2008 at 2:36 am
I’ve got Post Teaser installed and it works about 75% of the time. Two posts look fine on the front page, then the third will post the whole article, the next will be fine, then the next is the full article. Is there a way to fix this?
January 7th, 2008 at 3:18 am
Hi Chris,
I have had a quick look at your site and I don’t see the usual suspect. Generally, when users complain to me about problem similar to yours, they have single paragraph long post or using <b> in place of <p> tags in post that don’t tease. However, looking at the HTML source of your home page, the paragraphing is not the cause.
The only way to turn off teasing for certain post on the homepage, one must be very explicit in setting the flag in the post-meta data and not likely to have been set by accident. The fact that you have ask rules that one out.
The only other thing may be that you are doing something out of the ordinary in your template. Please change the template to the default WordPress template and let me know if the same problem exists. If the problem goes away, it would mean you need to have a look at your template and see if there is anything that can cause this behavior.
The other test is to turn off other plugins one by one until the problems goes away or Post Teaser is the only plugin activated. If by turning off another plugin restore Post Teaser, then there is a conflict between the two plugin. If this is the case, please report back so I can have a look at why there is a conflict.
Other then that, can you give me more specifics about your WordPress version, a full list of active plugins?