smajda
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: RSS enclosures not working for custom post typesActually, you should probably check for
post_type
or else you’ll be doing this twice for regular posts. In my case, I have a ‘podcast’ post_type:function podcast_do_enclose($id) { $post = get_post($id); if ($post->post_type == 'podcast') { do_enclose($post->post_content, $id); } } add_action('post_updated', 'podcast_do_enclose');
Forum: Fixing WordPress
In reply to: RSS enclosures not working for custom post typesYou have to call
do_enclose
for the post:
function my_do_enclose($id) {
do_enclose(get_post_field('post_content', $id), $id);
}
add_action('post_updated', 'my_do_enclose');
So the posts are in fact being created, the page just isn’t reloading when you hit “submit”? If that’s the case, it’s got to be submitted via ajax or something. Any javascript you’re applying to the form?
Forum: Plugins
In reply to: [Posthaste] Error while posting from FrontendI can’t replicate this error. What version of WordPress are you running?
Forum: Plugins
In reply to: [Pull This] [Plugin: Pull This] Note about display in multiple entriesJust uploaded v1.1 that fixes this!
Forum: Plugins
In reply to: [Pull This] [Plugin: Pull This] Note about display in multiple entriesWow, that’s a really obvious flaw there. You can probably tell I was only using this on blogs without the traditional index view or else I would have thought of that.
I’ll fix this in a future version. Hopefully soon. (I see it’s already been two months since you posted this, so you’re probably ok with that. ??
Forum: Plugins
In reply to: [Posthaste] [Plugin: Posthaste] Any way to add date field?One option is to enable the “save as draft” checkbox & then schedule those drafts from the backend.
Forum: Plugins
In reply to: Posthaste forms in Buddypressdentopolis: Are you referring to the fact that it shows up on the Recent Posts widget? The reason for this is discussed in the FAQ.
Forum: Plugins
In reply to: Posthaste- how it can be enabled for contributer?On the roles: I believe “edit_posts” should work for contributors, too. See here. If that’s not the case, maybe I’m just misreading the roles.
Forum: Plugins
In reply to: Posthaste- how it can be enabled for contributer?Yes.
Forum: Plugins
In reply to: Posthaste- how it can be enabled for contributer?Ah, I see. If you don’t mind modifying the plugin, you can try changing the two instances of
current_user_can('publish_posts')
toedit_posts
instead.Forum: Plugins
In reply to: Posthaste- how it can be enabled for contributer?I’ve gotten this question several times (for example) and my answer has always been to try one of the role management plugins. I never hear back from anyone after that, so I asume that works, but I’m not sure.
Forum: Plugins
In reply to: [Plugin: Posthaste] View Plugin with Subscriber rolePosthaste just uses WordPress’ user roles, so if a user role is
allowed to post by WordPress, the form will work. So the easiest
solution to allow subscribers to use Posthaste is to use one of the
Role Manager plugins (There are several, though I’ve not used any of
them personally) that lets you enable posting for subscribers. I know
others have done this and had success, though I’ve not tried it
myself.(@mds840: I know I sent this to you in an email already, but I thought I’d post it here in case others had the same question. If this works for you, or not, post back here and let us know.)
Forum: Plugins
In reply to: [Plugin: Posthaste] Blank Page After Submitting@mds840: Good catch – thanks! It was a single misplaced bracket…
Update to 1.3.1 and this should be fixed. (I *just* submitted this, so it may not show up for a bit.)
Forum: Plugins
In reply to: [Plugin: Posthaste] Blank Page After SubmittingStrange. It works just fine in 2.9 for me. Are you using any other plugins that might interfere with the posting or redirecting process?