Extending WP Document Revisions to support display of docs and doc versions publicly

74 views
Skip to first unread message

John Davis

unread,
Aug 28, 2012, 7:29:03 PM8/28/12
to wp-documen...@googlegroups.com

Today I downloaded and reviewed your plugin WP Document Revisions 

It does much of what i need out of the box, however i was hoping to find a tool that goes a step beyond document management by allowing simplified placement and updating of the most recent document as posts or to a page with public visibility to past published versions.  And finally a step or two beyond that to allow public [subscriber access] comment on each document version or current version.  Of course I would want the user to be able to comment in either plain text or with a document of their own.  Word or PDF.

Can the plugin be extended in this way.



John

Sent from my iPhone

Benjamin J. Balter

unread,
Aug 28, 2012, 7:40:10 PM8/28/12
to wp-documen...@googlegroups.com
John -

Most simply, listing documents should be possible with either the documents shortcode, or via the /documents/ archive. The same goes for the document_revisions shortcode for each documents revisions.

More broadly, if you don't mind getting your hands a bit dirty, get_documents() and get_document_revisions() should be exposed in the global scope, and should work just like get_posts().

On all of these, see the plugin FAQ in the wiki (and feel free to contribute if it's unclear).

As for comments, there's no reason they wouldn't work almost entirely natively. The only issue would be the UI. As it is right now, there's no "document" page. It simply serves the file. You'd have to build a comment form that would associate the comment with the document, and it should work just as any other comment would (documents are posts with no template).

Hope that helps,
- Ben

--
You received this message because you are subscribed to the Google Groups "WP Document Revisions" group.
To post to this group, send email to wp-documen...@googlegroups.com.
To unsubscribe from this group, send email to wp-document-revi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wp-document-revisions?hl=en.

Reply all
Reply to author
Forward
0 new messages