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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 1,776 through 1,800 (of 7,376 total)
Author Replies
Author Replies
Posted: Saturday Mar 16th, 2013 at 4:28 am #44908

Well, s2Member has the Pro Login widget that you can also add to your pages using PHP, as explained here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Pro Login Widget (via PHP)[/hilite]

But how you edit your theme to add that code, that’s outside the scope of our plugin support. That’s customizing your site, and your theme developer would be a better person to ask that to. s2Member® » Support Policy » Outside Scope

When you say “top nav bar”, are you talking about the Admin Bar? If so, you’ll have better luck finding a tutorial about it searching for admin bar instead of nav bar.

Posted: Saturday Mar 16th, 2013 at 3:58 am #44907

Hi Leon.

It sounds like you may be missing the merge field for the last name in MailChimp. Please read this post: http://www.primothemes.com/forums/viewtopic.php?f=4&t=6377&p=60556#p60556

I hope that helps. :)

Posted: Saturday Mar 16th, 2013 at 3:53 am #44906

Hi Eric.

No, s2Member doesnt’ manage access to the admin area, and posting is done on the admin side.

Now, if you have a plugin that lets you post from the front end of the site, then you could protect the page where that form is, with the URI restriction. [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite]

But having the capability to post, would also allow them to the admin side, if I’m not mistaken.

Posted: Saturday Mar 16th, 2013 at 3:19 am #44904

Or does it reset after the 12hours, which is what I have it set on…. “1 IP every 12 hours”.

Right, any IPs recorded by s2Member will automatically expire after the Maximum Unique IP Addresses Allowed setting (default is 5 IPs in the last 30 days). In other words, s2Member is only looking at IPs accessing a secure area within the last 30 days.

Posted: Friday Mar 15th, 2013 at 5:19 pm #44753

I was talking with Jason about this a moment ago and he explained to me why the Email Log plugin is not logging s2Member’s Signup Confirmation email:

I just took a quick look at the source code for this plugin. I see this line.

add_action( 'init', 'EmailLog' );

That’s using the default hook priority of 10, which is far too late to pick up on IPN events. So nothing will be recorded by this plugin whenever s2 is handling post processing of a transaction.

add_action("init", "c_ws_plugin__s2member_paypal_notify::paypal_notify", 4);

We are at hook priority 4, which is before the email logger is attached. They should modify that plugin to this:

add_action( 'init', 'EmailLog', 1);

This one will do the trick:
http://wordpress.org/extend/plugins/wp-mail-log/

Could you remove the Email Log plugin and add the WP Mail Log instead, please, and try the test purchase again? Thanks!

Posted: Friday Mar 15th, 2013 at 5:12 pm #44752

Thanks for confirming it works. :)

Posted: Friday Mar 15th, 2013 at 4:58 pm #44749

By the way, s2Member already supports MailChimp Interest Groups, although not in all of the ways you described. You can see an example shown below the level fields in the MailChimp panel. [hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite]

Posted: Friday Mar 15th, 2013 at 1:18 pm #44725

Hi Anthony.

No, I’m sorry, the upgrade doesn’t include that kind of service. And the Pro add-on would not change the framework. You’d need to fix the conflicts between the theme and the s2Member framework anyway.

Of course we try to keep s2Member compatible with most themes, but we count on the themes to be coded properly following WordPress standards too.

I’m not sure what page appearance issue you’re referring to, though. Could you explain some more, maybe even show me a screenshot? That’d help me understand and suggest a possible solution.

Posted: Friday Mar 15th, 2013 at 1:14 pm #44724

Hi Brian.

I don’t think it’d affect BuddyPress. The users are still WordPress users, s2Member doesn’t change this, so BuddyPress can work normally.

The only interaction between s2Member and BuddyPress regarding users would be the custom profile fields each adds. BuddyPress has its own, which don’t integrate with s2Member’s pro-forms; s2Member has its own that that can be integrated with BuddyPress to a certain extent. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> BuddyPress[/hilite]

I’d suggest that you create a test installation of wordpress, install BuddyPress and the plugins you have now, create a couple of users, then test out the migration to s2Member there. That way, any trouble that comes up will not affect your live site. And when you do work on the live one, remember to create good backups of everything so you can get it back up if anything goes wrong.

You don’t seem to need to migrate users, but just in case, here’s an article about that. Knowledge Base » How to Migrate to s2Member Pro from Other Software

I hope that helps. :)

Posted: Friday Mar 15th, 2013 at 1:09 pm #44723

Hi David.

If I ‘click’ the links, is there supposed to be sample forms open? I have ‘open registration at level 0 set, but when one of the later two links are ‘clicked’ it forwards me to my dashboard. Does this sound right??? I’m installed in a directory so is there something I need to configure differently? http://restorationhouse.com/hosting

http://restorationhouse.com/hosting/wp-signup.php loads fine for me. I’m not sure I understand what link you’re referring to if it’s not that. Could you show me a screenshot of the links you mean? Do address are they pointing to?

Or when you say “clicked” you mean submitting the signup.php form?

Posted: Friday Mar 15th, 2013 at 11:24 am #44713

Hi Chris.

You’d have to do some customization.

s2Member will let you give the user a different Level role or custom capability (ccap) when they purchase.

With these you can control what pages he has access to. For a personal page, you could give each user a unique ccap and protect his page with it. Or have a single page and change the content dynamically based on the user viewing it.

For your application to know what access he has, you’ll need to integrate it to WordPress and check his role or capabilities. Knowledge Base » Remote User Status (Custom API)

I hope that helps. :)

Posted: Friday Mar 15th, 2013 at 10:59 am #44710

Once your client’s account here is upgraded with a Pro license, you’ll be able to post with it in the Customers forum. Suggestions or requests will be fine there.

Thanks for this one regarding MailChimp, I’m adding it to the feature requests. :)

Posted: Friday Mar 15th, 2013 at 10:30 am #44704

Hi Andre.

s2Member adds an EOT time field in the user profile, which you can edit manually to add a date. This time can also be populated on import when you use the s2Member Pro user import tool. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member Importation[/hilite]

When that time is populated, s2Member won’t touch it even if the user is tied to a payment gateway subscription and it gets cancelled. So make sure you only populate that time when you don’t expect the payment gateway to have a say on that anymore.

Since these users you’ll import won’t be tied to a PayPal subscription, it’s fine, and you have to manage this manually because there’s nothing else to do it.

I hope that helps. :)

Posted: Friday Mar 15th, 2013 at 10:25 am #44703

Hi Mike.

No, I don’t remember that being explained here. I’m not familiar with it myself, so I can’t help much with that.

You should google how to edit the WP header or admin bar, whichever of these two is the one you want to have the login form in. :)

Posted: Friday Mar 15th, 2013 at 10:22 am #44702

Rachelle, I see what you mean. I guess the best solution in this case would be to give them access to each week’s content as they pay it… You’ll need to do some customization to achieve it, but it’s not impossible.

You could sell the subscription, but manage the access to the content with custom capabilities. Video » s2Member (Custom Capabilities)

Then, use the content dripping approach explained here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]

But instead of showing the content in the drip, give the user the new week’s custom capability. Knowledge Base » Changing Roles/Capabilities via PHP

Before giving the new ccap, check that the user still is paying the subscription. If your EOT behavior demotes the user to level 0, checking that he’s not at level 0 would indicate he hasn’t been demoted yet. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

Also adjust the EOT Behavior so it doesn’t remove ccaps. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Membership EOTs also Remove all Custom Capabilities[/hilite]

The EOT will happen when the subscription payments stop, whether he cancelled or finished paying all the weeks, so you need to adjust that setting.

I hope that helps. :)

Posted: Friday Mar 15th, 2013 at 9:50 am #44694

Lewis, next time you test a clean installation of WordPress, do make sure it’s a clean, default installation as it comes in the distribution zip. That would have saved you a lot of despair. :)

It didn’t exist because I already deleted it. Filezilla has been permanently open for the past week. Thanks Cristian.

Ah, got it. I had already removed my reply, after seeing that Jason replied earlier (my tab was open for a few minutes before I replied).

Posted: Friday Mar 15th, 2013 at 9:21 am #44685

I had to ask Jason because these columns were added recently when I was away. Here’s the documentation that explains the custom fields order: http://www.s2member.com/kb/importing-updating-users/#custom-registration-profile-fields

They have to be sorted alphabetically by ID for the import to work. So my suggestion about rearranging them is not correct, since the import won’t be right. Sorry about that.

Your Custom Registration/Profile Field values should be listed in alphabetical order, based on your Custom Registration/Profile Field IDs (i.e. values listed in the order of your alphabetized Custom Registration/Profile IDs). This is based on the Custom Registration/Profile Field IDs you’ve configured with s2Member®. See: [hilite path]s2Member -> General Options -> Registration/Profile Fields[/hilite].

We’ll keep improving this tool and I made a note of your question, added it to our features requests list. :)

Posted: Friday Mar 15th, 2013 at 9:03 am #44682

This is what Jason told me:

Yes, s2Member® supports this already because it uses PayPal’s Recurring Billing service.

https://www.x.com/developers/community/blogs/danprovt/recurring-payment-flag-and-payment-advice-codes

It’s automatically enabled; there is nothing you need to do. With Recurring Profiles, PayPal handles future billing with whatever the latest/greatest approach is. The docs state that nothing needs to change for this behavior to kick in.

Posted: Thursday Mar 14th, 2013 at 12:22 pm #44628

I mean posts in the category changes, and I can’t expect a user who has already paid for the category content to pay for it again.

Correct. Then you shouldn’t use the Specific Post/Page Access restriction, because the link cannot be updated. That restriction uses post IDs, not category IDs. I explained it because you mentioned “specific page/post” and I thought you meant the restriction.

As for the solution on how to automatically create category restriction, can you be a little more specific please?

I’m sorry, I haven’t done it yet so I’m not familiar with the code required. And I’m quite busy at the moment, so I don’t have the time to dedicate figuring it out myself. :/

Posted: Thursday Mar 14th, 2013 at 12:16 pm #44626

Not sure why, your settings sound correct.

And the role you’re changing the user to, also has a MailChimp assigned in the integration, right? [hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite]

What does the MailChimp log say? [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer[/hilite]

Have you tried all the troubleshooting advice in this article? Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Mar 14th, 2013 at 12:11 pm #44625

I’m sorry, I thought I was answering correctly the question I quoted.

Regarding Amazon URL expiration, here’s a hack to change the time: http://www.s2member.com/forums/topic/cloudfront-and-rtmp-streaming-jw/#post-6608

Posted: Thursday Mar 14th, 2013 at 12:02 pm #44624

For whatever reason this isn’t working for me. When I’m not logged in I can see all of it..!

Do you have a PHP execution plugin installed and active? Knowledge Base » ezPHP Plugin for WordPress®

And did you paste the code in the Text tab of the editor? When you have PHP code, the Visual editor will break it.

By the way, this is a more complete set of conditionals for the different users:

[hilite pre_code]

public copy

level 0 copy

level 1 but not time yet

level 1 protected copy

[/hilite]
Posted: Thursday Mar 14th, 2013 at 11:47 am #44622

Unix time stamp is the right format for updating EOT, right?

Right, I forgot the strtotime in my example. Very sorry about that…

But when I add the conditionals for different levels, it doesn’t work. Can’t I use
[hilite pre_code]
else if (current_user_is("s2member_level2")) {some code to add EOT}
[/hilite]

That condition looks fine, just make sure that the account you’re testing with has that role. It works for the other level roles, right?

[hilite pre_code]
$date = date('Y') . '-12-31'; //get current year and adds -12-31
$expire_on = strtotime ( '+1 year' , strtotime ( $date ) ) ; //add one year to current year
[/hilite]

You could also do:

[hilite pre_code]
$expire_on = strtotime((date('Y') + 1) . '-12-31');
[/hilite]
Posted: Thursday Mar 14th, 2013 at 11:14 am #44617

mmm, but I was thinking that to protect videos and streaming it on my website, I had to integrate CloudFront!

You need CloudFront for RTMP, but you can still stream with just Amazon S3. [hilite path]Dashboard -› s2Member® -› Download Options -› Amazon® S3/CDN Storage[/hilite]

Posted: Thursday Mar 14th, 2013 at 11:10 am #44616

Perhaps you should ask support HOW you can protect videos with file fallback

I don’t think that’s possible with Amazon. This is something Jason told me some time ago:

Content Type, Disposition & Inline Files: An IMPORTANT issue. The query string parameter [hilite mono]&s2member_file_inline=yes[/hilite] does NOTHING for files served via Amazon® CloudFront. s2Member has NO control over the [hilite mono]Content-Type[/hilite] and/or [hilite mono]Content-Disposition[/hilite] headers for a file being served through Amazon® CloudFront, and CloudFront servers do NOT automatically determine the MIME type for the objects they serve. Therefore, when you upload a file to your Amazon® S3 Bucket, you should set its Content-Type header. That is, you MUST configure headers yourself ( such as [hilite mono]Content-Type: video/webm[/hilite], or [hilite mono]Content-Disposition: inline|attachment[/hilite] ) that you want Amazon® CloudFront to send for a particular file. It’s quite easy. You do this by setting [hilite path]Properties -> Metadata[/hilite] ( i.e. headers ) on a per-file basis, from inside your Amazon® S3 Management Console. In short, when you upload a file to your Amazon® S3 Bucket, if you want that file to be served a certain way, be sure to configure its [hilite path]Properties -> Metadata[/hilite] accordingly.

Viewing 25 replies - 1,776 through 1,800 (of 7,376 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.