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™

Downloads not working

s2Member Plugin. A Membership plugin for WordPress®.

Downloads not working

Postby abelcreative » June 21st, 2010, 2:32 pm

I've added my .zip file to the s2member-files folder, but my members are still getting this error when trying to download the link (which is crossed out):

503: Sorry, file downloads are not enabled yet. Please contact Support for assistance. If you are the site owner, please configure `s2Member -> Download Options`.

What in the world am I doing wrong?
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby Jason Caldwell » June 22nd, 2010, 12:37 am

Hi there. Thanks for the great question.
It sounds like you've not configured the Download Restrictions yet.

Log into your WP Dashboard, and go to:
`s2Member -> Download Options -> Download Restrictions`

Configure the max downloads, and period ( in days ) for each Level you're using.
That will get rid of the 503 errors for you :-)
~ 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: Downloads not working

Postby abelcreative » June 22nd, 2010, 10:42 am

I'm sorry, I don't see any settings, attached is all I see there
Attachments
Screen shot 2010-06-22 at 10.40.54 AM.png
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby Jason Caldwell » June 22nd, 2010, 10:46 am

Here is the section you're looking for.
s2Member -> Download Options -> Protected File Downloads
protected-file-downloads.jpg
~ 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: Downloads not working

Postby abelcreative » June 22nd, 2010, 10:47 am

This is what I have set under "Protected File Download"
Attachments
Screen shot 2010-06-22 at 10.43.28 AM.png
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby Jason Caldwell » June 22nd, 2010, 11:00 am

Looks good. So no more 503 errors now, correct?
If you're still having problems, please let us know. ~Thanks.
~ 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: Downloads not working

Postby abelcreative » June 22nd, 2010, 11:08 am

no no, it's still not working
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby abelcreative » June 22nd, 2010, 11:09 am

scratch that, it works, but the link still shows a strikethrough
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby abelcreative » June 22nd, 2010, 11:10 am

I guess it's another plugin - I'm all good now, thanks for the help!!
User avatar
abelcreative
Registered User
Registered User
 
Posts: 7
Joined: June 21, 2010

Re: Downloads not working

Postby Jason Caldwell » June 22nd, 2010, 11:18 am

Great to hear that. ~Thanks for reporting back. Much appreciated.
~ 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: Downloads not working

Postby tribsel » October 14th, 2010, 4:27 pm

Hi! I have also a little problem with this.

I am trying to achieve this:
- protect a directory containing mp4 files (videos). I do not need and want to allow downloads, but users with apropriate rights (levels) need to be able to play them in flash player.

Is this possible?

I tried to set mp4 as inline file extension, but that does not work. Flowplayer (integrated using module and inserted into post) can not find that file..

Tribsel
User avatar
tribsel
Registered User
Registered User
 
Posts: 11
Joined: May 18, 2010

Re: Downloads not working

Postby Jason Caldwell » October 27th, 2010, 1:34 am

Thanks for reporting this important issue.

While we are investigating this, would you please confirm the following details for me?

What is the file size of your MP4 file?
Who is your hosting provider?
What kind of server are you on?
~ 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: Downloads not working

Postby Jason Caldwell » October 27th, 2010, 5:03 pm

A related issue was just resolved, please see:
viewtopic.php?f=4&t=1083#p4323
~ 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: Downloads not working

Postby tribsel » October 27th, 2010, 5:26 pm

Hi Jason,

thanks, I just downloaded a new version and it really (almost) did it. File I was using for testing puroposes was large, over 800MB. with 3.2.9 installed, flowplayer finds it and plays.
Only glitch is, that video is not downloading/loading fast enough so you can not skip forward. It plays smoothly but does not preload.
User avatar
tribsel
Registered User
Registered User
 
Posts: 11
Joined: May 18, 2010

Re: Downloads not working

Postby Jason Caldwell » October 27th, 2010, 6:05 pm

Thanks for reporting back on this topic. Glad to hear that.
tribsel wrote:Hi Jason,

thanks, I just downloaded a new version and it really (almost) did it. File I was using for testing puroposes was large, over 800MB. with 3.2.9 installed, flowplayer finds it and plays.
Only glitch is, that video is not downloading/loading fast enough so you can not skip forward. It plays smoothly but does not preload.

This latest change should have very little impact on the rate at which a file is downloaded. It only affects the way the file is read into memory during the server request. That being said, if you'd like to fiddle with the chunk size a bit to see if it helps, please feel free.

See: /s2member/includes/functions/file-download-access.inc.php at line #271
Code: Select all
echo fread ($handle, 2048); 
You could increase 2048 to 8192.
~ 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: Downloads not working

Postby tribsel » October 28th, 2010, 1:32 am

Hi Jason,

thanks very much for helping with this.
Modifying chunk size did not help. I think that the download speed is server related, it has probably nothing to do with s2member. I realised that I was testing this on other server before and now I am on different server, which is probably much less powerfull.

So thanks for helping us again.

Pavol
User avatar
tribsel
Registered User
Registered User
 
Posts: 11
Joined: May 18, 2010

Re: Downloads not working

Postby Jason Caldwell » October 28th, 2010, 5:23 am

NEW ( please see this thread for details on additional bug fixes )
viewtopic.php?f=4&t=1083#p4357
~ 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 4 guests

cron