oudein
Forum Replies Created
-
Just found the problem, and it was entirely my fault — a conflict with some filters someone had put into the functions file. My apologies; mea culpa! Great plugin, and thanks.
Yes, all are checked.
Forum: Plugins
In reply to: [Videopack] [Plugin: Video Embed & Thumbnail Generator] Automatic encodingHm, I just lost this post here. Reposting.
Yeah, I don’t use the Postie templates. I just use the posts and associated attachment urls and postmeta, so all the heavy lifting is done by the templates. The thing is that in my experience iPhone videos come in sideways and weirdly stretched before transcoding. More importantly, though — as you say — it isn’t cross-browser compatible.
Forum: Plugins
In reply to: [Videopack] [Plugin: Video Embed & Thumbnail Generator] Automatic encodingYeah, it would definitely be a divergence, but the post creation and embed code is done already — Postie creates the posts and the embed code is done in the category template. Why do you say that no transcoding would be necessary? From what I am seeing, the transcoded files are much lighter and more functional than the .mov files — particularly the ogg and m4v files.
Forum: Plugins
In reply to: [Videopack] [Plugin: Video Embed & Thumbnail Generator] Automatic encodingOh, I’m sorry, I certainly didn’t mean to imply anything… I must have misread or been thinking of another comment thread.
Anyway, I was thinking of posting videos directly. I am using Postie on a photo and video-based site in which single posts containing a single photo or video are consolidated into galleries using category archive pages. So, I was thinking of an automatic encoding (and thumbnail generation) solution for videos sent from say, an iPhone — generally short .mov clips. The idea is not to interact with the WordPress admin.
I haven’t read through the php files carefully yet to find the functions which would be used. My uninformed first thought is that it might not be that tricky, but could you perhaps point me to which functions would called?
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Multiple instances all overlayedDouble bump for this. It loads as many instances of the overlay as one clicks on ANY content links. My colleague had 10 overlays before figuring it what was going on.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Updating posts returns errorOnce again, thanks, scribu, for your responsiveness and dedication.
This seems to work perfectly for me. Thanks so much.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Connecting Posts 2… Users?Scribu, you’re incredible. Thank you.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Find related posts sharing connectionThaks, scribu, it worked perfectly. Now I just have to figure out how to merge separate query results.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Find related posts sharing connectionscribu, I was just writing when the page refreshed and I saw your response!
I was going to say that I saw the addition of ids to connections types, that I am really impressed with your dedication and alacrity in problem solving with this plugin, and that (even though I was already planning to donate when I get paid from this current project) my donation amount has definitely increased! Thank you so much for all your work on the plugin and the speed with which you help users. I know this sounds a bit ridiculous, but your behavior really could be a model for other WordPress plugin devs.
So. Ids are aweseome and will make creating flexible queries using connections so much easier. I will give the examples you wrote above a shot and let you know how it goes.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Find related posts sharing connectionI know! That’s particularly confusing.
(By the by, I cleaned up the commentary in the call, so there are some missing closures and such, but it’s basically the same that I am using.)
I have multiple versions of these three running for other connections and they are all fine, but this one is stumping me. I was thinking that perhaps I should try to modify the related posts function, but I am not sure how to instruct it to return the projects associated with the people, instead of simply the people themselves.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Find related posts sharing connectionscribu, thanks for the quick response! Sorry for my delayed one. I reread the wiki article on Related Posts — the wiki has been invaluable in using p2p — and tried it again, but it still only returns the project that I am viewing (although there are shared people with other projects).
The connection type is:
global $projects_to_people_connection; $projects_to_people_connection = p2p_register_connection_type( array( 'from' => 'projects', 'to' => array('people'), 'context' => 'side', 'sortable' => '_order', 'prevent_duplicates' => true, 'title' => 'Project Members', 'fields' => array( 'project_lead' => array( 'title' => 'Project Lead', 'values' => array( '1' => 'Lead', '0' => '' ) ), 'project_contact' => array( 'title' => 'Project Contact', 'values' => array( '1' => 'Contact', '0' => '' ) ) ) ) );
The related posts function is:
function get_project_associated_people( $post_id ) { global $projects_to_people_connection; $related_pages = $projects_to_people_connection->get_connected( $post_id ); if ( !$related_pages->have_posts() ) return array(); $page_id = $related_pages->posts[0]->ID; return $projects_to_people_connection->get_connected( $page_id, array( 'post__not_in' => array( $post_id ), ) ); }
And the call is:
<?php global $get_project_associated_people; ?> <aside> <h2>Related Projects via get_project_associated_people</h2> <?php p2p_list_posts(get_project_associated_people( get_queried_object_id() )) ?> <figure> <?php if ( has_post_thumbnail()) :?> <a href="<?php get_permalink(); ?>" title="<?php the_title_attribute('echo=0');?>" > <?php clean_wp_width_height(get_the_post_thumbnail(get_the_ID(),'large')); <figcaption><?php the_title_attribute(); ?></figcaption> </a> </figure> <?php wp_reset_postdata();?> </aside>
Again, I have no problem returning the people associated with the project, or getting the metadata assigning the lead or contact to people, but the call above just returns the project itself.
Joachim, thanks very much for the rapid response! I have made the change and, although I don’t have time right now to fully test all the functionality, I am not getting the error message.
Thanks again! Very impressive attention!
Bump. Me too.
Forum: Fixing WordPress
In reply to: Get Blog posts by Category – using page slugI have set it up so that I have categories for my posts that correspond to the slug for the relative page so that I can display posts for a particular category that shares the same slug as a page name.
joadard, how did you get the the pages displaying the category posts? I have been trying to do this for a while with no luck.