Modifying Free User Levels

Forums General Modifying Free User Levels

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #466
    Tim
    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 4777

    I am building a site that will have three levels of members (i.e. 0, 1, and 2), all of which will be free. There’s no problem with creating the necessary registration forms, but how can I set up modification forms?

    In other words, when logged in, level 0 will need the option to select levels 1 or 2; level 1 will need to be able to select 0 or 2; and level 2 will need to be able to select 0 or 1.

    The problem is that the modification forms want a payment processor to be set up, even if the new levels will be free, while the free registration form just won’t work for modifications.

    So what do you suggest?

    #469

    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 4777

    I see what your problem is in that situation.

    I’d suggest a bit of PHP that’ll change the user’s role. See: https://s2member.com/kb-article/rolescapabilities-via-php/

    You’ll need a PHP execution plugin for PHP to work in a post/page’s body.

    You can add the role-changing code to a page where the user lands when he clicks on a link to modify his account’s level.

    I hope that helps. 🙂

    #470
    Tim
    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 4777

    Thanks, Cristian. I had seen that code, but I don’t see how it helps if I want to give the member two options, and not just one. It’s also not as neat and pretty (and, therefore, probably not as easily understood by the member) as using a proper form.

    #471

    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 4777

    Yes, I see what you mean.

    I don’t have a problem with the hack, but being able to use the pro-form for those modifications would be nice.

    I’d suggest that you open a feature request for it over at GitHub. https://github.com/websharks/s2member/issues

    #473
    Tim
    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 4777

    Done! Thanks, Cristian!

    #476

    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 4777

    🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.