The best way to share files securely with your clients, customers, friends and community.
s2Member Secure File Browser is a wordpress plugin for browsing files from the secure-files location of the s2Member® WordPress Memberships plugin.
You can display the file browser via the shortcode
The shortcode will display a file browser item with only granted directories for current user.
The shortcode can handle :
access-s2member-level0directory for level #0 and more users
access-s2member-level1directory for level #1 and more users
access-s2member-level2directory for level #2 and more users
access-s2member-level3directory for level #3 and more users
access-s2member-level4directory for level #4 and more users
access-s2member-ccap-*custom capabilities directories for according users
All these featured folders can be located anywhere and they can be used several times.
Clicking on a file will launch the download according to the s2member files access control.
Please use the shortcode generator in the Dashboard > s2Member Menu > Secure File Browser to generate complex values.
Available shortcode options
collapseeasing: Easing function to use on collapse
collapsespeed: Speed of the collapse folder action in ms
cutdirnames: Truncate directory names to specific chars length
cutfilenames: Truncate file names to specific chars length
dirbase: Initial directory from the s2member-files directory
dirfirst: Show directories above files
displayall: Display all items without checking if user is granted to download them
displaybirthdate: Display files birth date
displaycomment: Display files comment
displayname: Display files displayname instead of regular files name
displaydownloaded: Show if a file has already been downloaded
displaysize: Display files size
displaymodificationdate: Display files modification date
dirzip: Let directories be downloaded
expandeasing: Easing function to use on expand
expandspeed: Speed of the expand folder action in ms
filterdir: A full regexp directories have to match to be displayed
filterfile: A full regexp files have to match to be displayed
folderevent: Event to trigger expand/collapse
hidden: Show hidden files or not
multifolder: Whether or not to limit the browser to one subfolder at a time
names: Replace files name with custom values
openrecursive: Whether or not to open all subdirectories when opening a directory
previewext: Display file preview button for these extensions
s2alertbox: Display the s2member confirmation box when a user tries to download a file
search: Let user search files
searchgroup: Group shortcodes with a single single search box
searchdisplay: How to display search results
sortby: Sort files in directories by a criteria
All informations about these options are well documented in :
Dashboard > s2Member > Secure File Browserpanel for admin (manage_options capability)
Dashboard > Tools > Secure File Browserpanel for users
Example (A shortcode has to be defined on one line, here is on several lines below only for better understanding) :
[s2member_secure_files_browser folderevent="mouseover" expandeasing="linear" expandspeed="200" collapseeasing="swing" collapsespeed="200" multifolder="0" openrecursive="1" dirbase="/" hidden="1" dirfirst="0" openrecursive="1" filterdir="%2F(access%7Ctata)%2Fi" filterfile="%2F%5C.(png%7Cjpe%3Fg%7Cgif%7Czip)%24%2Fi" names="access-s2member-level0:General|access-s2member-ccap-video:Videos" search="1" searchdisplay="4D" /]
You can generate a shortcode with complex options with the
Shortcode Generator in the
Dashboard > s2Member > Secure File Browser panel
You can display both fully customizable widgets for :
The admin panel is reachable via the Dashboard > s2Member Menu > Secure File Browser menu.
Available features are :
Don't hesitate to ask me new features or report bugs on potsky.com !
Requires: 3.3 or higher
Compatible up to: 4.2.10
Last Updated: 6 months ago
Active Installs: 600+
Got something to say? Need help?