PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Protected Directories

s2Member Plugin. A Membership plugin for WordPress®.

Protected Directories

Postby quirkette » September 1st, 2010, 5:02 pm

I am using S2Member on Wordpress.

My secure download files are in: ./secreatebookdownloads/members/wp-content/plugins/s2member-files however I have had notification from my hosting service that

"The amount of files/folders in this directory is causing an issue with backing up your account, as well as maintenance operations on the shared server. Each directory should have a total maximum of 1,024 files and folders. Any more than this can cause file system latency and slowness when accessing FTP and hosting from the Web."

My question is can I create a new secure directory under plugins for my secure files so I can spread the load?

for example: ./secreatebookdownloads/members/wp-content/plugins/s2member-files2

If so how do I set this up?
User avatar
quirkette
Registered User
Registered User
 
Posts: 2
Joined: September 1, 2010

Re: Protected Directories

Postby Jason Caldwell » September 2nd, 2010, 2:44 pm

Hi there. Thanks for your inquiry.

Yes, but you'll need to structure them all inside of the /s2member-files/ directory.

So you can do this:
/plugins/s2member-files/sub-folder1
/plugins/s2member-files/sub-folder2
/plugins/s2member-files/sub-folder3

Your Download Links would look like this:
Code: Select all
http://example.com/?s2member_file_download=sub-folder1/file.zip
http://example.com/?s2member_file_download=sub-folder2/file.zip
http://example.com/?s2member_file_download=sub-folder3/file.zip
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Protected Directories

Postby quirkette » September 5th, 2010, 8:48 pm

That is fantastic - thank you so much for your response.
User avatar
quirkette
Registered User
Registered User
 
Posts: 2
Joined: September 1, 2010

Re: Protected Directories

Postby Jason Caldwell » September 7th, 2010, 9:10 pm

You are VERY welcome.
~ My pleasure.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron