add_action("ws_plugin__s2member_before_file_download_access", "my_custom_files_dir");
function my_custom_files_dir(){
// Set this to the full server path ( no trailing slash )
$GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["files_dir"] = "/usr/home/path/to/files";
}
Statistics: Posted by Jason Caldwell — September 7th, 2010, 8:06 pm
Statistics: Posted by sadeght — September 4th, 2010, 2:08 am
I get: "404: Sorry, file not found. Please contact Support for assistance." I know that the s2member plugin knows where the file is, because it the download prompt pops up when I am logged in as a user. So....
http://yoursite.com/?s2member_file_download=some-file.zip
Statistics: Posted by Jason Caldwell — September 2nd, 2010, 2:08 pm
Statistics: Posted by Guest — September 2nd, 2010, 8:41 am