Really cool wordpress theme

Free Wordpress Themes for your Blog

s2member Secure File Browser

s2member Secure File Browser

A plugin for browsing files from the secure-files location of the s2member WordPress Membership plugin.

s2member Secure File Browser is a wordpress plugin for browsing files from the secure-files location of the s2member WordPress Membership plugin.

You can display the file browser via the shortcode [s2member_secure_files_browser /].

The shortcode will display a file browser item with only granted directories for current user.

The shortcode can handle :

  • access-s2member-level0 directory for level #0 and more users
  • access-s2member-level1 directory for level #1 and more users
  • access-s2member-level2 directory for level #2 and more users
  • access-s2member-level3 directory for level #3 and more users
  • access-s2member-level4 directory for level #4 and more users
  • access-s2member-ccap-* custom capabilities directories for according users
  • any directory for all users

Clicking on a file will launch the download according to the s2member files access control.

Available shortcode options

  • dirbase : initial directory from the s2member-files directory

    default is /

  • hidden : show hidden files or not

    default is no 0
    set to 1 to display

  • dirfirst : show directories above files

    default is yes 1
    set to 0 to display directories with files

  • names : replace files name with custom values.

    Syntax : realfilename_1:Custom File Name #1|...|realfilename_n:Custom File Name #n
    access-s2member-level# will be automatically renamed with your s2member level custom labels.

  • folderevent : event to trigger expand/collapse

    default is click (can be mouseover, …)

  • expandspeed : speed of the expand folder action in ms

    default is 500 (ms)
    use -1 for no animation

  • expandeasing : easing function to use on expand

    default is swing
    can be set to linear

  • collapsespeed : speed of the collapse folder action in ms

    default is 500 (ms)
    use -1 for no animation

  • collapseeasing : easing function to use on collapse

    default is swing
    can be set to linear

  • multifolder : whether or not to limit the browser to one subfolder at a time

    default yes 1
    set to 0 to display only one open directory at a time

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"  
    dirbase="/"  
    hidden="1"  
    dirfirst="0"   
    names="access-s2member-level0:General|access-s2member-ccap-video:Videos"  
/]

Don’t hesitate to ask me new features or report bugs on potsky.com !

Requires: 3.2 or higher
Compatible up to: 3.5
Last Updated:

2012-12-29


Downloads:
4





Related Articles

Posted under: new plugins wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>