Ben Balter
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Resume] Only load CSS/JS when necessaryThanks for the suggestion. The latest version should tackle this.
– BenWhat version of WordPress? What version of the plugin? Does the file upload properly? Also, what type of 404 is it? Standard WordPress 404, Apache 404, or a grey screen white a white box that says “404 – file not found”?
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] workflow for media library docsSteve –
You can find some more info on WP Document Revisions including a video walkthrough here: https://ben.balter.com/2011/08/29/wp-document-revisions-document-management-version-control-wordpress/
It sounds like it should do what you’re looking for. If you have any questions or if there is any way I can be helpful, please don’t hesitate to contact me directly.
– Ben
Forum: Plugins
In reply to: [Plugin: WP Document Revisions] Bulk document importWP Document Revisions doesn’t use the traditional folder metaphor to organize files. Instead, the same document can be described multiple ways, or in folder terms, be in multiple folders at once. This gives you more control over your documents and how they are organized. You can add a folder taxonomy with the WP Document Revisions Custom Field Generator. Be sure to select the “Hierarchical (like categories)” option.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] Wishlist1. Created a brief example in the code cookbook of how to create a recently revised documents widget. Could in theory take the code from the recent post widget and simply modify the query to A) get documents and B) get by modified, rather than post date.
2. Different icons may be a bit harder, as I don’t know that WordPress has much support for that as is, but should be able to filter by type (since WordPress already tracks it). Could, in the mean time, add a custom “type” taxonomy, and set it to update with the mime-type on save. Then you could sort / filter just as you would workflow states. I added a quick example of that to thecode cookbook as well.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] Document encryptionYes and no. If you take a look at the code cookbook, there are two API hooks specifically built in to help with restful state encryption.
Encryption itself is a bit beyond my area of expertise, and because everyone would have a different standard, would be difficult to include out of the box.
If you have a 3d party encryption program or PHP library, it’s *very* easy to integrate, would just require a small coding lift (see the example code for more details).
If you do add any sort of encryption functionality, would love to see it. Please let me know.
You could also encrypt the files locally (e.g., PGP), and then upload them if you want the transport to be secure. The plugin never looks inside the document itself.
Hope that helps,
– BenForum: Plugins
In reply to: [Plugin: WP Document Revisions] Bulk document importI added an example of how you might do a bulk import (there’s a bit of coding there, but not much) to the Code Cookbook.
Will take another look at the language if it’s unclear, but exporting should be a single automated process (WordPress native). Importing’s a bit more tricky because everyone’s starting place will be different, but hopefully the above linked script (which will pull all files from a directory) can point you in the right direction.
– Ben
Forum: Plugins
In reply to: [Plugin: WP Document Revisions] Usage DocumentationYou may want to take a look at the plugin FAQ which describes a few options. Also, you can always link directly to any public document’s permalink, which will always point to the latest version of the file.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] ETA to 1.0The 1.0 is out if you want to download WP Document Revisions and give it a try. Thanks for being patient!
Forum: Everything else WordPress
In reply to: WordPress vs. SharePointAlthough true, very different animals, one step towards giving WordPress parity with SharePoint is that WP now has formal document management support (with version control and file hosting). If you haven’t already made your decision, you may want to take a look at WP Document Revisions.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] ETA to 1.0Are you looking to list all documents? If so, there’s a plugin I wrote called “Count Shortcode” which I’m using on a site along with document revisions.
[count post_type="document"]
should give you a count of all documents (with a link to a list), or[count workflow_state="final"]
(or any other taxonomy) should allow you to filter. Although maybe not 100% what you’re looking for, it should work out of the box.(alternatively
yourdomain.com/?post_type=document
should work too).If you’re looking for revisions, there’s an example shortcode in the code cookbook
Forum: Plugins
In reply to: [WP Resume] [Plugin: WP Resume] Add resume to page templateI tried with
echo do_shortcode( '[wp_resume user="user"]' );
and it seemed to work. Note 1) you need to echo the return fromdo_shortcode
and 2) you may need to specify a user since it normally gets it from the page/post the shortcode is embedded in.To bypass the error if calling directly, remove the
wp_reset_query()
from the bottom of resume.php since your not in the loop.Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] Network compatible?There should a revision summary dialog box, per this screenshot. Does it not appear? Can you toggle it via the display options (top right)?
First chance I get I’ll give it a try in 3.1, but if you can, definitely should work in 3.2.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] ETA to 1.0Thanks for the kind words.
There are only a handful of small issues left on the backlog.
Right now I’m really just testing and getting feedback from the community to make sure it’s a solid 1.0. There’s a code freeze scheduled for the 15th, and final code should be submitted by the end of the month.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] Network compatible?Looking through the 3.2 changelog, nothing in particular stands out. There might be some minor CSS issues with the backend redesign, but that’s about all I can think of. I’ve been testing in 3.2 and 3.3. It was mostly to require the PHP and MySQL version bump.