• Resolved jdlucas

    (@jdlucas)


    When a user is logged in, they can download files and use the drop down file options to Preview the file. All works well except, when the user is logged out, when you click on the file and choose the PREVIEW option, it still shows the file even though the user is NOT logged in. Is there a way to hide that option if the user is NOT logged in?

    Or disable completely as a second option. There are some docs that are meant to be seen by users that are NOT logged in, and the preview option is ok.

    Also, when you goto the post where the document is, and if you click on the preview tab, it still shows the document when it should not. example…

    https://cscatx.org/mdocs-posts/2015_september_bank_recon/

    • This topic was modified 7 years, 8 months ago by jdlucas.

    The page I need help with: [log in to see the link]

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

    (@bhaldie)

    yes looks like a bug I will look into it and have a fix asap.

    For now you can disable the preview all together by going to the mdocs dashboard Options > Settings > Document Post Page Settings > and unchecking the “Show Preview Tab”

    Thread Starter jdlucas

    (@jdlucas)

    Ok, thanks. This is a good work-a-round for now. I am handy with PHP, could you show me where I can edit? Which file? I just want to do a conditional.. check if user is logged in.. if logged in, show preview tab. This would work even better for me

    Plugin Author bhaldie

    (@bhaldie)

    i’ve got a new version on its way, it will fix the issue so when an user clicks on preview that isn’t logged in they will get a error message.

    Thread Starter jdlucas

    (@jdlucas)

    Don’t forget that some people will allow docs to be viewed when logged off as well.

    Plugin Author bhaldie

    (@bhaldie)

    Doc preview will allow user to be able to download a file, so if the file is private preview must be locked as well. The only reason why it was working before was due to the bug.

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

The topic ‘File Options Drop Down – Preview File’ is closed to new replies.