• I cannot get content dripping to work inside specific level access, what am I missing with my below setup? This is all shortcode on the same page by the way using s2Members Pro. Thanks!

    [s2If current_user_is(s2member_level4)]
    Content only for level 4 and this works perfect.
    [/s2If]

    [s2If current_user_is(s2member_level3)]
    [s2Drip access=”level3″ from_day=”0″ to_day=”10″]
    Dripped content only for level 3 but it’s not working. It shows up only for level 3 but does not go away after 10 days.
    [/s2Drip]
    [/s2If]

    [s2If current_user_is(s2member_level2)]
    Content only for level 2 and this works perfect.
    [/s2If]

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Is the problem that you have
    [s2Drip access="level3" from_day="0"
    instead of
    [s2Drip access="level3" from_day="1"?

    Thread Starter davidjmaxey

    (@davidjmaxey)

    I’ve tried both and neither seem to be working. Thanks for the thought though. any other ideas?

    In that case, I’m wondering if you have a theme or plugin conflict somewhere. Have you tried changing to the default theme with no other plugins activated?

    Thread Starter davidjmaxey

    (@davidjmaxey)

    I’m running the genesis framework with the minimum pro child theme. Also, every other shortcode works perfect, just this use of the nesting/s2drip shortcode.

    My site is live and I’m right in the middle of a launch with more than 100 current members active at random times. ?? Makes it really hard to just disable plugins and theme.

    If my theme was an issue I’d dump s2member before I’d dump the genesis framework.

    Seems strange though that this is the only shortcode and issue I’m having with s2member pro? Thats why Im wondering if I just have the code wrong in some other way?

    If you’re just setting up a new site, surely you have staging or development site where you try things out first? If you don’t, you’re braver than me …!

    Thread Starter davidjmaxey

    (@davidjmaxey)

    No this is not a new site launch but a new product launch. I’m not doing this as a new thing, just trying a new aspect of the s2members plugin. I’ve been using it now for 2 years live on this site. ??

    Ah, I see! I still keep a copy of every site on localhost to try any change out.

    I’ve had another idea, though. Do you need the [s2If current_user_is(s2member_level3)] and [/s2If] to book-end the drip? Doesn’t the drip code take care of that?

    Thread Starter davidjmaxey

    (@davidjmaxey)

    Well, I had tried that first.

    The [s2If current_user_is(s2member_level3)] code, only shows content for exactly level 3.

    The [s2Drip access=”level3″ from_day=”0″] code shows level 3 or higher.

    I have a 4 level that should not view this content.

    Good point! I do think that it’s the way to go though.

    I think what you probably need to do is to add a custom capability requirement, which will then prevent level 4 members from accessing the content.

    You will, of course, need to add the custom capability to all level 3 members, perhaps using something like the Capability Manager Enhanced plugin.

    Thread Starter davidjmaxey

    (@davidjmaxey)

    Ya, I also use custom capability but each of my product levels need to automate to a specific mailchimp mailing list and the levels/api setup was the only way I could do that automatically. Good thought though.

    Hmm, in that case I think you will need to abandon the shortcode and use the full PHP code, with the appropriate plugin to allow you to use PHP in a post or page. That should enable you to use the current_user_is attribute.

    Thread Starter davidjmaxey

    (@davidjmaxey)

    I’m all for that, I just need to figure out that exact code. Thanks for your help.

    @davidjmaxey, I have a plugin to do content drip. No PHP needs.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Content dripping.’ is closed to new replies.