• Resolved Moe Joe

    (@moe-joe)


    Hello All,
    This is a long winded post, but I wanted to try give the whole picture of what I am trying to achieve so that individuals smarter than I could help me out. ??

    The current S2Member Pro configuration I have been running for the past year consists only of a Level#1 with 8 downloads every 30 days. I am currently using Mail Chimp but have decided to start moving my email list to Aweber to implement some back-end sales via email marketing.

    Here are the changes I would like to make (with questions) and hope someone can give me some guidance or helpful advice on the best route to go.

    – I would like to setup a Level #0, which would allow users to download 1 or 2 free files every 30 days and would like to use “Custom Capabilities” so that there are only certain files that free member can actually download . Once someone signs up as a Level #0, I would also like them to go to automated drip email content on Aweber (if this is possible).
    * Question – If you use Aweber and someone signs up for a newsletter, can S2Member Pro automatically set them up under Level #0?

    – I would like to setup Level #1 similar to how is now, a certain # of files every 30 days.
    * Question – Would a Level #1 user be able to download the files that have been setup for a Level #0 user and if so, how would it need to be setup? Would I have to also setup “Custom Capabilities” on the Level#0 files or does S2Member automatically handle this?

    – I would like to setup a Level #2 that would allow 10 downloads every 30 days, but on Level #2, they can download special files that Level #0 and Level #1 can’t, but only 2 of these special files every 30 days and then the other 8 files would be the same files available for Level #1. So basically Level #2 would have access to all files on the site and a special group of files. (If that make sense).
    * Question – How would this be setup?

    I’m sure I am missing some things here, but am anxious to get started on these changes on my site. Please point out any pitfalls you see, and any help or feedback would be greatly appreciated.
    Thank you all!

    https://www.ads-software.com/plugins/s2member/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I can’t help on AWeber because I don’t use it, but this is what I’d suggest for your downloads.

    If you go to s2Member -> API/Scripting -> Custom Capability & Member Level Files you will see that you can store your downloadable files in different sub-directories.

    So you will need to use FTP to put the files you wish to make available to Level 0 in the /s2member-files/access-s2member-level0 folder. These files can also be accessed by anyone with Level 1 or above. But Level 0 users can download only these files, so you don’t need to use custom capabilities.

    Then put files intended for Level 1 users (and above, but not Level 0 users), in the /s2member-files/access-s2member-level1 folder.

    For files for users at level 2 and above (but not 0 or 1), use the /s2member-files/access-s2member-level2 folder.

    Then go to s2Member -> Download Options -> Basic Download Restrictions to set the number of files at each level that can downloaded in a specific period.

    Thread Starter Moe Joe

    (@moe-joe)

    Hi KTS915, thank you for the quick response.

    In regards to level 2 file access, if they are level 2 they would be allowed say 10 files, but could only download two of the ten files from level 2 and then the remainder would be from level 0 and level 1.

    Would this be possible in the “Download Options” or would is there a different way this would be handled?

    Then I’d suggest modifying my previous suggestion like this.

    Don’t have members at Level 2. Set them at Level 3 instead. Put your special files into the sub-folder for Level 3, and set the Download Options to 2.

    Then copy all the other files available for Level 3 members (i.e. all those in the Level 0 and Level 1 sub-folders) into the Level 2 sub-folder, and set the Download Options to 10.

    Now install the Capability Manager Enhanced plugin. Go to Users -> Capabilities and, in the top right corner, load the s2Member Level 3 user role. Uncheck the access s2member level0 and access s2member level1 boxes and save.

    Now Level 3 users can access only what’s in the Level 2 and Level 3 sub-folders.

    Finally, to prevent the capabilities being reset by a plugin upgrade, create a plain text file called s2-prevent-change-capabilities.php and put this code in it:

    <?php
    /* Prevent s2Member re-assigning custom capabilities on re-activation */
    function remove_all_s2_css() {
    	wp_dequeue_style("ws-plugin--s2member");
    }
    add_filter('ws_plugin__s2member_lock_roles_caps', '__return_true');
    add_action("ws_plugin__s2member_during_add_css", "remove_all_s2_css");

    Save and upload to the mu-plugins folder using FTP.

    Thread Starter Moe Joe

    (@moe-joe)

    Hi KTS915, wow you’re good. I will take a look at this and see what happens. I really appreciate your help on this. It has definitely helped.

    Thread Starter Moe Joe

    (@moe-joe)

    Hey KTS915, I have a stupid question, but I have to ask.
    As indicated in my first post I am only using Level #1 right now and all my files are in the root of the “s2member-files” directory. Right now I have all download links in the format of “https://www.example.net/?s2member_file_download=example-file.zip&#8221;. My question starts here. Once I create the sub directories for each level inside of “s2member-files” directory, do I have to change each link on my entire site? Also I have users on my site currently, once I change the Download Options for Level #1, will this effect any of my current users. I would assume not, but I don’t know.
    Thanks!

    Yes, the links for each subfolder are different. See s2Member -> API/Scripting -> Custom Capability & Member Level Files for what you need to do.

    Once you change the settings for Level 1, those changes will affect current users at that level.

    Thread Starter Moe Joe

    (@moe-joe)

    Thanks KTS915!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Brainiacs, Looking for most logical way to setup this configuration’ is closed to new replies.