Reply To: Download restriction question

Forums General Download restriction question Reply To: Download restriction question

#657
Carole Asselin
Participant

Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/s2member.net/html/wp-includes/functions.php on line 4773

OK here is my hypothetical setup for a link to a particular tutorial based on two options:
option 1 – the user has purchase the dripped option (which is currently done with Krum’s hack)
option 2 – the user has a DIAMOND ccap which is an all-access and does not rely on the dripped option but is subject to download limit

Here is the possible code:

[s2If kc_drip_element(3_weeks)]<a href="http://scrapbookcampus.com/element-creation-index/square-paper/">Square paper</a>[/s2If]
[s2If current_user_can(access_s2member_ccap_diamond)]<a href="http://scrapbookcampus.com/?s2member_file_download=Element/square-paper/">Square paper</a>[/s2If]

Considering that the same download might or might not need to be tracked the same way (maybe by ccap instead of by level) is there a way to limit based on ccaps INSTEAD of level?

  • This reply was modified 4 years ago by Carole Asselin. Reason: code didn't stay as code