Community Support Forums — WordPress® ( Users Helping Users ) — 2010-11-17T14:31:22-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1216 2010-11-17T14:31:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1216&p=4727#p4727 <![CDATA[Re: Feature Request: Protect Downloads by Level]]>
I was looking at the Advanced Download Restrictions but that just creates a temporary key, you can still see the file name when hovering the link.

Hmmm, interesting stuff, I'll keep digging around to see if I can come up with a solution. :)

Ya never know......

Otherwise it's a great feature request! Would be nice to have that functionality.

Statistics: Posted by crushthenet — November 17th, 2010, 2:31 pm


]]>
2010-11-17T14:01:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1216&p=4726#p4726 <![CDATA[Re: Feature Request: Protect Downloads by Level]]>
:arrow: However, what you've got there deals with CONTENT - not with DOWNLOADABLE FILES which is what my client needs to protect.

True, we can avoid displaying LINKS to the downloadable files to the wrong level of membership - and that's what we're doing now, as a half-measure - but that will not stop them from downloading the files, if they can guess the link locations. They could also learn the locations by temporarily purchasing a higher membership level.

We could make each link horribly obscure, but that's a nuisance for legitimate users - and a nightmare for file management. :cry:

Statistics: Posted by martonic — November 17th, 2010, 2:01 pm


]]>
2010-11-17T13:41:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1216&p=4725#p4725 <![CDATA[Re: Feature Request: Protect Downloads by Level]]>
Have you looked into the API/Scripting section?

It's not too difficult to create a custom Page Template in your WordPress theme and input something like this. Or you can use a plugin like Exec-PHP...

http://wordpress.org/extend/plugins/exec-php/

Code:
<?php if (current_user_is("s2member_level4")){ ?>
    Some premium content for Level 4 Members.
<?php } else if (current_user_is("s2member_level3")){ ?>
    Some premium content for Level 3 Members.
<?php } else if (current_user_is("s2member_level2")){ ?>
    Some premium content for Level 2 Members.
<?php } else if (current_user_is("s2member_level1")){ ?>
    Some premium content for Level 1 Members.
<?php } else if (current_user_is("s2member_level0")){ ?>
    Some content for Free Subscribers.
<?php } else { ?>
    Some public content.
<?php } ?>


You can even use shortcode if you want.......

Code:
[s2If current_user_is(s2member_level1)]
    Content for Members at exactly Level# 1, on this Blog.
[/s2If]

Statistics: Posted by crushthenet — November 17th, 2010, 1:41 pm


]]>
2010-11-17T13:14:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1216&p=4724#p4724 <![CDATA[Feature Request: Protect Downloads by Level]]>
My client has many downloadable files that need protection. They have some files that level1 and above can download (but not visitors, or guests who have only registered but not paid) - and other files that only higher paying levels should be allowed to download.

However, s2Member does not support this option at present.

It would be a great feature to add. :mrgreen:

Many thanks as always, Marty

Statistics: Posted by martonic — November 17th, 2010, 1:14 pm


]]>