Page 1 of 1

Member download details

PostPosted: October 11th, 2011, 11:09 pm
by kmkruthila
My site offers downloads only. I need a solution for members able to view their downloaded file list with relevant post link and custom field thumbnail image. I have a Pro version s2member.

Re: Member download details

PostPosted: October 12th, 2011, 7:22 pm
by Cristián Lávaque
s2Member doesn't generate lists of the restricted downloads. You can, though, create the list based on what the user can access using conditionals in the page where you post them. It won't be dynamic, though, you'll have to update the files list after you add/remove files to/from your s2Member downloads directory.

I hope that helps. :)

Re: Member download details

PostPosted: October 12th, 2011, 8:41 pm
by kmkruthila
Thanks. I need to show you (member) already downloaded .... ... files, not all files.

Re: Member download details

PostPosted: October 19th, 2011, 9:34 am
by kmkruthila
I need to show (member) already downloaded xx xx xx files in member profile page. Is this possible?

Re: Member download details

PostPosted: October 19th, 2011, 9:49 am
by Eduan
Have you tried this:
Code: Select all
S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY
This will always be an (int) value >= 0. This indicates how many unique files they've downloaded in the current period.

<?php echo S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY; ?>
This will output the number of files they've downloaded recently.
( that is, the number of files within the last X days, according to your configuration )

---- s2member Shortcode Equivalent ----

[s2Get constant="S2MEMBER_CURRENT_USER_DOWNLOADS_CURRENTLY" /]