latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Michelle M

Sorry, I've not written a description yet. I'll get to it soon!

My Favorite Topics

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
CCAP drip timer – Drip multiple "courses"

By:  cassel in: Unofficial Extensions/Hacks

voices: 4
replies: 4

3 years, 10 months ago  Krum Cheshmedjiev

Video Player Recommendation

By:  Bruno in: Community Forum

voices: 3
replies: 4

4 years, 2 months ago  Bruno

CCAP clock timer – Perfect for magazines

By:  cassel in: Unofficial Extensions/Hacks

voices: 2
replies: 1

4 years, 2 months ago  Eduan

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 14 replies - 1 through 14 (of 14 total)
Author Replies
Author Replies
Posted: Thursday Apr 4th, 2013 at 9:41 am #46606


I’ve found a workaround, but this looks like a bug to me.

I had all the Alternative View Protection turned on. If I uncheck nav menus (leaving the other 3 checked) it works – an s2member user with level 4 + participant roles can now see all the forum posts.

But – what is the risk of turning that off? Is this a bug? Can you provide some guidance please?


Posted: Friday Jan 18th, 2013 at 6:27 am #38018

OK, I’m using this thread as a guide:

I’ve got the code below, but it isn’t working. The only thing I’ve changed really is the source of the date from the registration date to the custom registration field STDATE = start date. What am I doing wrong??

// midnight Unix Timestamp on the course start date
$user_start_date = get_user_field ("STDATE");
$midnight_stdate = strtotime('today', '$user_start_date');
// Unix Timestamp right now 
$now = time() / 86400;
$midnight_stdate = $midnight_stdate / 86400;

<?php if($midnight_stdate + 7 < $now){ ?>
	Drip content for week 2 of course
<?php } ?>

<?php if($midnight_stdate + 14 < $now){ ?>
	Drip content for week 3 of course
<?php } ?>

<?php if($midnight_stdate + 21 < $now){ ?>
	Drip content for week 4 of course
<?php } ?>

I just want to drip new content, at midnight, once a week, after the course start date.


Posted: Monday Nov 12th, 2012 at 8:32 am #31304

I’ve gotta ask – are you guys actually reading my question? ;) Usually, the support here is absolutely fantastic, but this time you keep telling me to try something I’ve already done, or giving me instructions for something that isn’t related to this issue. :)

So, to review: I want to charge existing members to get access to extra content without changing anything to do with their membership (profile or EOT). I want to do this via ccaps. The only way to do this is to use a Capability Buy Now pro-form. I have set this up on my site, but it isn’t working.

I have disabled all plugins and reverted to the default theme. But it still doesn’t work – the member profile fields aren’t being prepopulated when a user is logged in. I don’t want my members to have re-enter their details just to get access to one extra page.

There is a conflict going on somewhere. I’m assuming it’s a javascript issue most likely related to the theme, but when I change to the default buddypress theme it doesn’t fix the problem. Can you please help me determine what is causing it, or help me implement a workaround?

Thank you!!!

Posted: Thursday Nov 8th, 2012 at 5:49 pm #31069

Thanks Raam, but I already did that – see my message #30833 above.

Any other ideas? Can I pre-populate via the custom template? Or can I turn off the form validation and hide the profile fields?

To confirm – this is the only way to automatically add a ccap to an existing member without changing their subscription status isn’t it.


Posted: Wednesday Nov 7th, 2012 at 7:33 pm #30967

Raam, I’m using a Capability Buy Now form.

So – will the member need to fill out the form again, even though it’s only to add a ccap, not change anything else about their membership?

Is there a way I can use a custom template to prepopulate the fields?


Posted: Wednesday Nov 7th, 2012 at 3:09 pm #30928

I understand that – but it’s not working as it’s supposed to. The user is logged in, but the base fields (name etc) aren’t being prepopulated. Is there a setting or something related to pro-forms? I haven’t used them before and I only have Paypal standard – but that should still work shouldn’t it?

As I said, I disabled all plugins I could and changed to the default theme, I was logged in as an admin user and it still didn’t prepopulate.

Posted: Tuesday Nov 6th, 2012 at 8:53 pm #30833

Ok – I deactivated all plugins except s2Member, buddypress and maintenance mode and reverted to the default theme.

The profile fields still didn’t pre-fill with the logged in user details.

I also ran the server check script and it passed all tests.

I tried hiding all the fields via a custom template, but the validation script picks up that the profile fields are empty and won’t let me go any further.

So, I’m at a loss – any ideas?

Posted: Tuesday Nov 6th, 2012 at 7:07 pm #30825

I’ve been doing some research on using Pro-form Templates and it indicates that the user profile fields should prefill when a user is logged in and the credit card and billing fields should be hidden if Paypal is the selected payment option. I’m logged in as a test user and I’ve edited the shortcode so that Paypal is the only payment option.

But I’m still seeing all the fields.

Help please!!! Thanks

Posted: Tuesday Nov 6th, 2012 at 6:39 pm #30821

Can I set this up without it displaying all the form fields? I don’t need the user to change anything on their profile or enter credit card details, just use PayPal to buy the new ccap.


Posted: Tuesday Nov 6th, 2012 at 6:23 pm #30817

Thanks cassel – I had thought of that, but appreciate the reminder!! So many things to think of with this type of thing.

Posted: Tuesday Nov 6th, 2012 at 5:50 pm #30806

Raam thank you!

The Capability Buy Now forms are perfect for this situation. I didn’t even realise that existed.

Thank you again for the excellent support.

Posted: Monday Nov 5th, 2012 at 8:20 pm #30713

Awesome, thanks Raam, I knew there was a better way to approach this – I just couldn’t see it! I’ll go test it now.

Posted: Thursday Oct 18th, 2012 at 6:26 pm #28932

Thanks Eduan. I removed the space in the opening tags and deactivated the plugin I thought most likely to cause a conflict (Ultimate TinyMCE) but it still isn’t working.

I’ll have to wait until tonight to put the site in maintenance mode, deactivate everything and test it all again. I’ll post back tomorrow!

Posted: Monday Sep 3rd, 2012 at 6:01 am #23921

Thanks Cristian, I’ll give that some thought and see if I can make it work. Thanks for the help!

Viewing 14 replies - 1 through 14 (of 14 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.