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: ekarma (Volunteer Moderator)

Moderator

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


My Latest Replies (From Various Topics)

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Tuesday Nov 12th, 2013 at 7:10 pm #61055
Moderator

Hi Tim,

Have you tried all of the suggestions here?
http://www.s2member.com/kb/resolving-problems-with-file-downloads/

Posted: Tuesday Oct 15th, 2013 at 4:50 pm #60382
Moderator

N. Lee,

I’m sorry to hear you’re having trouble. s2Member demotes or deletes users (based on the configuration in Dashboard → s2Member → ccBill Options → Automatic EOT Behavior) ONLY if the backend IPN integration is working properly. When a member stops paying or cancels their account, ccBill will send an IPN message to the s2Member installation and that will cause s2Member to delete or demote the users account. If that IPN configuration is not setup properly or if there’s a communications problem between the ccBill servers and the server where s2Member is running, then the accounts will not be demoted or deleted as expected.

I recommend double-checking the following sections:

Dashboard → s2Member → ccBill Options → ccBill Account Details
Dashboard → s2Member → ccBill Options → ccBill DataLink Integration
Dashboard → s2Member → ccBill Options → ccBill Approval/Denial URLs
Dashboard → s2Member → ccBill Options → ccBill IPN / Bg Post Integration

Posted: Monday Oct 14th, 2013 at 4:43 pm #60362
Moderator

s2Member leaves the billing aspect of the transaction up to the payment gateway and does not keep track of things like overdue amounts. For example with PayPal, you can specify how many times PayPal should retry a failed payment before giving up and canceling the subscription — this is handled by the payment gateway, not s2Member. The s2Member plugin simply integrates with the payment gateways and communicates with them in the background via the IPN messages to be notified about things that should approve, cancel, or upgrade an account.

For example, let’s say PayPal retries a failed payment 5 times and then gives up and cancels the subscription. When the subscription is canceled, PayPal notifies s2Member via the backend IPN integration. s2Member will automatically determine how much time the person actually paid for and set their account to expire when they’ve used up the remainder of their paid time. (See Dashboard → s2Member → PayPal Options → Automatic EOT Behavior.)

Posted: Monday Oct 14th, 2013 at 4:31 pm #60361
Moderator

Hello,

You might add a function like this to your theme’s functions.php file:

function my_custom_is_content_released()
	{
		$release_after = 21 * 86400; // days * seconds per day = total seconds
		$post_age      = date('U') - get_post_time('U');
		if($post_age > $release_after)
				return TRUE;
		else
				return FALSE;
	}

Then you might modify your theme template to check if the user has access to the appropriate level OR if the content has been released (i.e., more than 3 weeks has passed):

<?php if ( current_user_can("access_s2member_level1") || my_custom_is_content_released() ) : ?>
	<?php // a call to the_content() might go here ?>
<?php else : ?>
	<?php // a message showing how to get access or even a redirect might go here ?>
<?php endif; ?>

You could also put that code directly inside the Post content and use a plugin like ezPHP to allow PHP inside the Post, however modifying the theme template would be far easier.

Posted: Monday Oct 7th, 2013 at 5:18 pm #60210
Moderator

Can you try this?

if (is_array ($ccaps_req = get_post_meta ($post_id, "s2member_ccaps_req", true)) && !empty ($ccaps_req)) {
	print_r($ccaps_req);
}

If you’re doing your check within The Loop, you can replace $post_id with get_the_ID(). See get_post_meta() on the WordPress Codex for more info.

Posted: Monday Oct 7th, 2013 at 5:01 pm #60208
Moderator

Unfortunately you’ll need to contact the theme developer to resolve the JS/CSS conflicts. Each theme is different, so it’s hard to say exactly where the problem may lie.

You could also post a job on http://jobs.wordpress.net or Elance to find a web developer who can help you fix this.

Posted: Monday Oct 7th, 2013 at 4:58 pm #60206
Moderator

Hi Fredrik,

s2Member doesn’t directly support PayPal’s Automatic Billing feature, but the same basic functionality can be accomplished using s2Member Recurring Profiles and Subscriptions. Does this not achieve what you’re trying to do?

Posted: Monday Oct 7th, 2013 at 4:52 pm #60204
Moderator

Hi Tim,

I recommend contacting your web host about this, as it could be a server-side configuration that is causing this.

If you want to look at what’s going on behind the scenes, I recommend using wget or curl to retrieve one of the download URLs and looking at the headers.

If you want to try making the change to /s2member/classes/files-in.inc.php, just make sure to backup the original file so you can easily revert to the original if you screw something up.

Posted: Tuesday Aug 6th, 2013 at 12:05 pm #55295
Moderator

Hi Nick,

You’ll need to upload your screenshot somewhere and then copy/paste the URL to the image for it to appear here.

You might want to try a free service like imgur.com or prntscr.com.

Viewing 9 replies - 1 through 9 (of 9 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.