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™

Okay to Create Subdirectories in s2member-files folder?

s2Member Plugin. A Membership plugin for WordPress®.

Okay to Create Subdirectories in s2member-files folder?

Postby chelle » October 29th, 2010, 11:20 pm

My site will be offering A LOT of downloads that need to be protected, and already my folder for the s2member protected files is pretty cluttered. I read I can create directories for different levels, but I was wondering if it would still work or cause any unforseen problems later down the road if I should create additional subdirectories to help organize the files by date - much like Wordpress does with its Uploads folders.

My file path would look something like this:

s2member-files/2010/10/myzip.com

I know I would need to make sure the file path is correct in the links - but wanted to make sure they would still be protected so only logged in users would see them, as well as make sure there aren't any possible negative consequences in doing it this way later down the road. Thanks!
User avatar
chelle
Registered User
Registered User
 
Posts: 41
Joined: September 6, 2010

Re: Okay to Create Subdirectories in s2member-files folder?

Postby Jason Caldwell » October 30th, 2010, 4:20 am

Hi Chelle. Thanks for the great question.

Yes, it's absolutely OK to do this. In fact, I recommend it.
Anything you can do to keep things better organized is a great idea.

So you might have something like this:
/s2member-files/music/song1.mp3
/s2member-files/videos/video1.mp4

Just include the sub-directory in your link:
?s2member_file_download=music/song1.mp3
?s2member_file_download=videos/video1.mp4
~ 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: Okay to Create Subdirectories in s2member-files folder?

Postby chelle » October 31st, 2010, 9:29 pm

Awesome :)
User avatar
chelle
Registered User
Registered User
 
Posts: 41
Joined: September 6, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests

cron