Support » Plugin: WP Document Revisions » [Plugin: WP Document Revisions] Direct access to the file under Multisite

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ben Balter

    (@benbalter)

    You may have to network activate the plugin so that it can add the location option to the network settings page. I just tested and it appeared on a multisite install.

    As for direct file URL, how did you / how would user get that URL? It should be designed to prevent the true location from ever being displayed. no?

    Thanks. I will try network-activating it, however, I really only want to use it on one or two subsites, not the whole network.

    Yes, the direct access URL is not displayed, and it’s not easily guessed. But, I’d rather not rely on security through obscurity like this, if it can be avoided.

    Plugin Author Ben Balter

    (@benbalter)

    You should be able to do that. The original idea was to prevent a non-super admin from changing their upload directory on a multisite install (and in theory putting it some strange place on the server that a super admin wouldn’t want), but the option should be exposed to super admins on a site-by-site basis as well.

    I opened ticket #4, and will look to get a fix in in the next release.

    In the mean time, I’d have to check the code, but I think you may be able to network activate to get the UI, save the upload directory, and then network deactivate, as strange as it may sound (or set the setting in the options table directly). The functionality’s there… it’s just a matter of the UI not displaying properly.

    Thanks for the heads up, and hope to have a fix soon…

    – Ben

    Plugin Author Ben Balter

    (@benbalter)

    Really tricky to be done in core, because the plugin isn’t activated on the network admin.

    Added a stand-alone fix in the code cookbook here:

    https://github.com/benbalter/WP-Document-Revisions-Code-Cookbook/blob/master/wprdr-network-admin.php

    any enhanced support for network admin in the development version here:

    https://github.com/benbalter/WP-Document-Revisions/tree/develop

    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Document Revisions] Direct access to the file under Multisite’ is closed to new replies.