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™

Users Are Being Forced to Login Everytime They Download?

s2Member Plugin. A Membership plugin for WordPress®.

Users Are Being Forced to Login Everytime They Download?

Postby chelle » February 10th, 2011, 1:42 pm

I've had two cases where people have emailed me they have to keep logging in everytime they download something. For both of them I suggested they check their web browser settings and make sure they have cookies allowed, but I wanted to check if something else might be causing it. I am able to login and download everything just fine (using my admin username and a s2member level 1 username). I am using s2member Pro.

Update: Okay I found out it is not due to their browser settings, but actually happens because they download more than 1 item at a time. When they click on more than 1 download link and the first download is not finished downloading, something is happening where it won't deliver the second download (no conformation box appears) and instead is bouncing them back to the sign up page).

My php memory settings are at 160MB memory limit and 300max exec. time. Should I make these higher? Is there a way to control how much memory S2member is allocated without allowing it on the entire server? (I am running a VPS w/cpanel) - My downloads are about 60MB-80MB in size, so would that have something to do with it?

Any advice or insight is much appreciated!
User avatar
chelle
Registered User
Registered User
 
Posts: 41
Joined: September 6, 2010

Re: Users Are Being Forced to Login Everytime They Download?

Postby chelle » February 11th, 2011, 6:49 pm

Update: Okay, went to cpanel and made my max exec and input times "0" for unlimited, and it is now working sort of on a PC to start the download of multiple things at once, but it is not working at all on a Mac?

On the PC, it asks you to confirm the download, then downloads 1 file at a time, when the first download is finished it starts the second one and so on. For the Mac though, it never downloads the second file at all, just redirects the users to their sign up page after the first download finishes.
User avatar
chelle
Registered User
Registered User
 
Posts: 41
Joined: September 6, 2010

Re: Users Are Being Forced to Login Everytime They Download?

Postby chelle » February 11th, 2011, 11:48 pm

Well, I finally figured out a way to solve ALL of my problems and headaches with s2member.

Step 1: Forget hosting your downloads on your site. It's going to be really rough/impossible on shared hosting, and even on a VPS I apparently can't get anything to work any better, lol.

Step 2: Sign Up for Amazon s3 (Bet you didn't know they also offer free accounts!)

Step 3: Upload all your stuff and then copy the code in the comments section of this post below for your "bucket" permissions. (The code in the post isn't formatted correctly, but the ones in the comment is)

http://blog.cloudberrylab.com/2010/07/h ... -your.html

(This code above makes it so people can only access the download link if they come directly from your site, so they can't hotlink.)

All My Problems Solved. :)

I'm still curious as to why protected s2member downloads work on PC and not a Mac though.
User avatar
chelle
Registered User
Registered User
 
Posts: 41
Joined: September 6, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 2 guests

cron