• Resolved GVJ

    (@gvj)


    Hi,
    I really liked this plugin. Very easy and useful. However, “file up” worked only with admin or No login, as soon as I login as a subscriber, I can’t use “file up” in the front end. As a subscriber user, I can see my folders ( in drop down menu) but can’t select them in the “file up” to upload file. I suspect this is due to the folder paths (Currently its base:presentations/2016). I haven’t used any shortcode for dynamic path. Any help would be greatly appreciated.

    These are the shortcode I tried (Worked as admin or no login(not the attempt 3 for obvious reasons):

    [fileup base=”2″ matchdrawer=”true” maxsize=”3″ filetypes=”pdf” filegroups=”openoffice,powerpoint”]
    Now with attempt: 2
    [fileup base=”2″ matchdrawer=”1″ maxsize=”3″ filetypes=”pdf” filegroups=”openoffice,powerpoint”]
    This is attempt:3
    [fileup base=”2″ maxsize=”3″ showto=”administrator,editor,author,subscriber” matchdrawer=”true”]
    and attempt:4
    [fileup base=”2″ maxsize=”3″ fixedlocation=”true” matchdrawer=”1″]

    Thank you in advance

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

    (@thomstark)

    There’s no reason inherent to File Up why a subscriber shouldn’t be able to upload files. The matchdrawer attribute should be used with a corresponding [fileaway base=2 directories=”true” drawerid=”1″] shortcode. Are you using that as well? Can you send me a link to the page? fileaway.plugin at gmail

    Plugin Author thomstark

    (@thomstark)

    The issue is that your Premium Press theme has dumb code and it blocks subscribers from performing any ajax function (not just in File Away). See this thread on PP forums:

    http://www.premiumpress.com/forums/topic/ajax-call-failing-for-subscriber-role/

    The developers seem non-responsive and don’t seem to care.

    When you find the function referenced in that support thread (first comment is most helpful), if you can’t figure out how to do the fix yourself, paste the entire function here and I’ll paste it back with the fix.

    In the meantime, if you disable Stats in File Away settings, subscribers will be able to download (but, they still won’t be able to upload, as upload involves ajax too). The downloads currently don’t work for subscribers because you have stats enabled, which uses ajax to record the download event.

    Premium Press should NOT be blocking subscribers from access to ajax. Very lame. (Tell them they’re wasting other developers’ precious time troubleshooting their mistakes.) 😉

    Thread Starter GVJ

    (@gvj)

    Thanks @thomstark, you were right and the problem with uploading files as a subscriber is solved by allowing subscribers to access ajax. However the option to select the folder from drop down menu while uploading (fileup) file is still missing. Secondly, after uploading, is it possible to refresh the page so that user can see their file in fileaway table thereby get a confirmation of successful upload?

    This is the code I am using:

    [fileup base=”2″ matchdrawer=”1″ makedir=”true” maxsize=”3″ uploadlabel=”Upload” uploader=”name” filetypes=”pdf” filegroups=”openoffice,powerpoint”]
    [fileaway base=2 directories=”true” drawerid=”1″]

    Please let me know where am I doing wrong with my above mentioned two concerns?

    Plugin Author thomstark

    (@thomstark)

    The matchdrawer attribute removes the dropdown menu and links the file upload directory to the currently navigated file away table directory. This is all explained in the tutorials.

    Refreshing the table after upload is not currently a feature. The green check mark indicates successful upload.

    Thread Starter GVJ

    (@gvj)

    Thank you @thomstark for your support. Refreshing page or keeping the green check mark (without fading out) would be a good feature for future. Because currently user can easily miss that green check mark for some sec and get confused about the upload result.

    Thank you once again for this nice plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shared folders for all’ is closed to new replies.