Scott Bressler
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Credit] [Plugin: Media Credit] Unexpected output messageThis should be fixed with Media Credit 1.1.2 (as well as compatibility with WordPress 3.1. Let me know if you have any further troubles after upgrading (WP and MC). Thanks!
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] Notification Subscriptions box emptyYes, you would add that to your functions.php file.
Forum: Plugins
In reply to: [Edit Flow] Edit Flow Removes Post IDs from Edit Posts ScreenHi Paul,
Is this on a Multisite install?
Thanks,
ScottAlso make the changes you see here. Most importantly, the change of “$terms” to “$this->terms” as well as the name of the filter from “reorder” to “filter”. The deletion of the commented-out code is irrelevant.
Thanks,
ScottHi Dia,
There currently isn’t a way to do this. There will be a way to accomplish this filter in the story budget with the next release of Edit Flow, and we will try to find a solution for the calendar as well.
To give a bit more back story, it should be possible in the story budget right now with the following bit of code (which you can put into your theme’s functions.php file):
add_filter( 'ef_story_budget_filter_terms', 'my_ef_story_budget_remove_news_category' ); function my_ef_story_budget_remove_news_category( $all_terms ) { $filtered_terms = array(); $i = 0; foreach( $all_terms as $term ) { if ( $term->slug !== "news" ) { $filtered_terms[$i++] = $term; } } return $filtered_terms; }
However, you would need to make two tiny fixes to Edit Flow to get this to work (our own typos, sorry!). Both of these fixes are already slated for the next release of Edit Flow, but we’d be happy to share them with you now if you don’t mind diving into the plugin’s code a little bit. Let us know!
Thanks,
ScottForum: Plugins
In reply to: [Edit Flow] Edit Flow Removes Post IDs from Edit Posts ScreenHi Paul,
I just tested Edit Flow with Simply Show IDs and had no problems. Even when filtering by status I still see the SSID column with post ID in the last spot. Which list view are you looking at that is “corrupted”?
Thanks,
ScottThanks again for your report. I have ensured that this won’t happen again in the future. See the commit here if you’re interested.
Great, thanks for the info. We’ll try to get to the bottom of this.
So SimplePie was the only file in that folder?
I think it’s standard that nothing will be in the root of a WP installation besides WP itself. In fact, when I use XAMPP, I have multiple WP installs in the root of the htdocs folder, but nothing non-WP related within any of the installs.
However, I do agree that it’s strange that this caused an issue. If you provide more information about what was in the “php” folder, we might be able to help prevent this in the future. As you might have noticed, the Edit Flow PHP classes are in a sub-folder of the main EF folder called simply “php”, so I imagine the root cause was related to that conflict. But AFAIK, the search for the EF classes should only start at
wp-content/plugins/edit-flow/php/
, so I’m surprised that something simply atphp/
would conflict.What is the message that is being displayed on the logout screen?
There are no events to display.
As far as I can tell, that is not part of Edit Flow.
Also, did you try disabling all other plugins?
Downloading through the Admin area should be a fine test–I was just curious what happened if you deleted and reinstalled.
So if you try a non-multi-site install of 3.0.4 on XAMPP, do you see the same error? Does the error still occur if you fully delete and reinstall the plugin?
I’ve gotten XAMPP to work just fine on Windows 7 (and thousands of people have installed Edit Flow on standard LAMP setups).
Can you try moving XAMPP to a directory to which you have full read/write permissions? I have mine in my user account’s Downloads folder, though anything inside your user account’s folder (C:\Users\Your-Account) should work just fine.
Forum: Fixing WordPress
In reply to: Remove short code from excerptTo remove a shortcode like:
[media-credit param=value param2="value2"]text you actually want goes here[/media-credit]
You can use the following to your functions.php file:add_filter( 'the_excerpt', 'remove_media_credit_from_excerpt' ); function remove_media_credit_from_excerpt( $excerpt ) { return preg_replace ('/\[media-credit[^\]]*\](.*)\[\/media-credit\]/', '$1', $excerpt); }
I’m not sure how the [simple_video] shortcode works, but you should be able to adjust the above to make it work.