Hi all -
Based on some initial playing around with the video comment plugin
for wordpress, I've updated the plugin to version 1.2. You can
download the latest version at
http://www.davidmeade.com/wordpress-plugins#videoComments
Feel free to test/play-around at: http://slackspace.net/testblog/?p=11
Let me know if you find it buggy in anyway.
Changes are as follows:
-- UPDATE / CHANGE LOG --
version 1.2
* Thumbnail URLs are now validated
---> Link must point to a valid link (not resulting in 400 or 500
level http error codes)
---> Invalid images are replaced with a default thumbnail
* Video URLs are now validated
---> Link must point to a valid link (not resulting in 400 or 500
level http error codes)
* Post Permalink URLs are now validates
---> Link must point to a valid link (not resulting in 400 or 500
level http error codes)
* If a video URL is invalid, but the post permalink is good, the
thumbnail will link to that instead. (allowing link to fall through to
the permalink)
* Video Comment fields will now show up when editing an existing
comment (Allowing an administrator to go in and fix/update video
response links as needed).
---> NOTE: Currently, this requires adding a line of code to the
file wp-admin/edit-form-comment.php (pre-modified version is now
included with the plug-in). I have requested this be fixed in the core
wordpres files so that such modification is not required in the future
(http://trac.wordpress.org/ticket/5741). See "ADVANCED INSTALLATION
OPTIONS" below.
* Robust clean-up of video comment fields upon deletion of associated
wordpress comment
-- TO DO: --
* Validate links on content-type. (This is code complete but for some
reason wordpress is sometimes returning odd results for links, so I've
disabled it in this version)
-- KNOWN ISSUES: --
* Not compatible with the OpenID plugin - video comment fields are
lost when user is redirected to an OpenID url for authentication.
(http://wordpress.org/support/topic/154438?replies=1#post-685165)
-- UPGRADE INSTRUCTIONS --
0) download a backup of your current "video comments" plugin files
1) Disable your current "video comments" plugin
2) Delete your current "video comments" plugin files
3) continue with normal install instructions
-- INSTALL INSTRUCTIONS --
0) download the latest version of the "video comments" plugin
1) extract to a local folder on your computer
2) upload the entire "VideoComments" folder to your plugins directory
(wp-content/plugins)
3) activate the plugin
-- ADVANCED INSTALLATION OPTIONS --
1) update your theme's css to set max-width for the
"videoResponseThumbnail" class
2) ensure the line:
<?php do_action('comment_form', $post->ID); ?>
appears in your comments/php file for your them. (this is where the
video comment fields are added to the comment form)
3) ensure the line:
<?php do_action('edit_comment_form', $comment->comment_ID); ?>
appears in your wp-admin/edit-form-comment.php file. I recommend
putting this just above the "Advanced" section). If you aren't sure
how to do this, you can use the pre-edited edit-form-comment.php that
was included with the zip file for this plugin - just upload it it
your wp-admin folder (make a backup of your existing file first).
Thanks,
- Dave
--
http://www.DavidMeade.com