cmsamo
Forum Replies Created
-
Forum: Plugins
In reply to: [s2member Secure File Browser] Restrict to Specific UsersYes – I’d done that, I just posted the wrong shortcode when I replied ??
It did not work at first. I ended up deleting all of the created files and folders from /s2MemberFiles/ and recreating them. In addition I recreated all the CCAP tags on my users. I rebuilt my page with the shortcode and now the file browser works, and it shows all directories, and redirects users to log in when they click on files they don’t have access to. Thanks for the follow up ??
The next step is to prevent the plugin from allowing users to see files they don’t have access to. I’ll go and read the shortcode docs again ??
Forum: Plugins
In reply to: [s2member Secure File Browser] Restrict to Specific UsersThanks for the reply. I guess I don’t have things set up correctly. I’ve applied some CCAP to some of my pages, and everything is working correctly in that when I log in with different users, I see the different pages that I should see, based on restricting access via CCAP.
However, my file browser always shows all files and directories from the root, so I am missing a step in restricting users…
The short-code I am using is below:
[s2member_secure_files_browser collapseeasing="swing" collapsespeed="500" cutdirnames="0" cutfilenames="0" dirbase="%2F" dirfirst="1" displayall="0" displaybirthdate="1" displaycomment="1" displaydownloaded="0" displaysize="1" displaymodificationdate="0" dirzip="0" expandeasing="swing" expandspeed="500" folderevent="click" hidden="0" multifolder="1" openrecursive="0" s2alertbox="0" search="1" searchgroup="0" searchdisplay="0" sortby="3" /]
Do I need to add some additional logic into the page?
Forum: Plugins
In reply to: [s2member Secure File Browser] Restrict to Specific UsersIs there a guide or video on how to set this all up? I tried using roles/custom capabilities but whenever I display files, I always see all of the directories in my tree, not just the ones I want to limit to that particular user