hi rramsey,
thanks for lettting me know. Just to confirm, what version of WP and blackbird pie are you using?
thanks
Brad
There are at least two related issues I found with WordPress 3.1.1 and TBP 0.5.0.1 on a test server for a multisite installation: TinyMCE stopped loading on edit pages and the WP3.1 admin bar stopped working for logged-in users who were in one of the pages under /wp-admin/ (but not somewhere in the front-end). Both issues go away if the plugin is turned off, and come back if turned on. The issue appears to be something relating to the included JSON library. If I comment out references to that and just use PHP >= 5.2.0’s json_decode() call instead, these issues go away. Of course, that only works with modern versions of PHP, but it at least narrows the problem scope. I’m also not sure why the issue just appeared; maybe it’s an interaction with something in WP3.1.1.
Also, TBP 0.5 introduced spacing issues (that still exist in 0.5.0.1) when using the oEmbed style of putting a tweet on a line by itself, as the WordPress automatic paragraphing wpautop filter seems to be interacting badly with this plugin. Paragraph tags are being put around the tweet ID comment at the beginning, and again near the end at one of the closing div’s, leading to extra spacing before the tweet and at the bottom of the tweet below the user icon and name. If I move or remove the tweet ID comment and replace the str_replace() calls at the end of create_tweet_html() with $tweetHTML = preg_replace( '/\s*[\r\n\t]+\s*/', '', $tweetHTML );, those issues go away.
Hi sdelling
WOW thatnks for looking into this for me. I have 3.1.1 installed on my local dev box and blackbirdpie is working fine. So my next step is to try and replicate your environment so that I can at least duplicate this weird behaviour.
Please can you let me know what other plugins are active when the issues appear.
thanks so much for any help on this. Hopefully I can sort this out ASAP
cheers
Brad
Hi sdelling,
I have made a change to the plugin to use json_decode and if that function doesn’t exist, then use a custom function that uses Services_JSON class. The code can be found here:
http://pastie.org/1792315
Please let me know if it fixes you issues.
thanks
Brad
these issues should now be sorted with v0.5.1