Ben Balter
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Document Revisions] WordPress V3.5 Beta 3Thanks for testing and thanks for the feedback.
Looks like this was fixed in core, and testing in 3.5 seems to verify that. Closing for now, if that’s not the case, please speak up.
This functionality does not exist out of the box, but if you are able to port the front end widget over (it should not be too hard), pull requests are always more than welcome.
I’ve created a GitHub issue to track the build out of the feature (https://github.com/benbalter/WP-Document-Revisions/issues/35) and will close this support forum for now.
This is a feature request that multiple users have asked for and I think it’s very worthwhile. I do not have time right now to build it out, but if anyone is interested, pull requests are always welcome. I’ve create an issue on GitHub to track the buildout of the feature, and will close this support forum for now.
https://github.com/benbalter/WP-Document-Revisions/issues/34
Hopefully we can get this feature added in shortly. Your use is at the core of what Document Revisions is about, and there’s no reason it shouldn’t support it better.
In the mean, time. if there’s anything you’ve learned from your experience, please feel free to share it back.
Thumbnails are not fully supported right now. This is due to a limitation on how files are uploaded. Given the media upload experience, there’s no (easy) way to know when a user intends to upload a thumbnail for a document, and when they intent to upload a new version. The workaround would most likely to be some sort of “add thumbnail” button, etc., which would bipass the normal logic of uploading a new version.
If anyone would like to take a first pass at this, pull requests are always, more than welcome. I created an issue on GitHub to track the new feature ( https://github.com/benbalter/WP-Document-Revisions/issues/33) and will close this support thread for the time being.
This is most likely an issue of the plugin being able to write to the document upload directory or read the file. To debug I would:
1) Verify the file is uploaded to the server via FTP
2) Check your PHP error log for more information as to where the plugin is looking.
The issue is that when checking out to your machine, the submodule was not properly initialized.
WordPress tests will not be included in future versions, and the develop branch on GitHub should resolve this issue. Look for a stable version pushed soon. Sorry for the trouble.
If you have any caching, this would be impossible.
You could hook into the serve_document hook, and create this functionality, but nothing exists out of the box.
If you do make this work, I would love to add the code to the plugin’s code cookbook.
This functionality is not yet implemented, but would gladly accept a pull request to the project and would love to see it included.
This is a feature.
Please navigate to the documents list to view the list of documents to ensure proper access restrictions are enforced.
I would put a constant in wp-config as you do normally, then put a plugin to
mu-pluginsto look for that constant, if present, and filter the document upload folder.I have never used that plugin, but Document Revisions uses custom permissions (edit_documents, read_private_documents, etc.). Please ensure those permissions are assigned appropriately for each role.
Activating and deactivating both plugins may help, as well as taking a look at the Members plugin, which I know to work with Document Revisions.
That functionality does not exist as is, but could be added as the plugin uses WordPress’s native checkin/checkout system. You would want to look into the timeout that WordPress uses before releasing post locks. I believe there is an API hook to modify it.
Please make sure all the documents you want visible are public. You can verify this by navigating to
/documents/The simplest bulk import would be to move the files into the uploads folder. The bulk importer, as written, does not move files from their original location. This functionality could be added and I would gladly accept a pull request.
The reason documents can be anywhere at the time of import is because the document upload folder can live anywhere (it does not have to be
/wp-content/uploads/). This setting is set on the media page.To debug this issue further, please check your PHP error log, which should have more detailed diagnostic information.
Forum: Plugins
In reply to: [WP Document Revisions] [Plugin: WP Document Revisions] File namingFile names are determined by the slug of the document at the top of the edit document screen, and can changed at any time, independent of the file uploaded. The slug field is directly below the title field.