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,426 through 1,450 (of 7,376 total)
Author Replies
Author Replies
Posted: Wednesday Apr 10th, 2013 at 5:53 am #47048

Hi Sara.

In your hack, you could use the defined vars array that s2Member passes with the hook, and see what variables you have available there.

Or you could probably use the notifications API, which includes a replacement code for the coupon used. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications[/hilite]

By the way, I see you’re using an old version of the autologin hack, which causes some trouble. Read this article for the latest version: Knowledge Base » Auto-Login Upon Registration

Posted: Wednesday Apr 10th, 2013 at 4:45 am #47043

For support email notifications, I’m having to check in every so often to see if there’s been any replies. Suppose I could change the email for the time being.

Ah, I understand. Well, maybe you could create a filter in his email account so it forwards you a copy?

Posted: Wednesday Apr 10th, 2013 at 4:43 am #47042

Yeah, it’ll be better/quicker if you post the job in a freelancer site. We’re really busy with development right now and can’t prioritize feature requests like this at the moment. Sorry about that, and I hope you find a very competent freelancer that does exactly what you need. :)

Posted: Wednesday Apr 10th, 2013 at 12:04 am #46993

Which is a good start ;) but, as you can guess, what I’d like to display is:

Well, then you don’t need to echo the ccaps. Have a list of links for each module inside conditionals for each ccap, for example. The conditions can just check if the key with the ccap is set, for example:

[hilite pre_code]
if(isset($user_capabilities['access_s2member_ccap_module1'])) {
// Links to Module 1 pages.
}
[/hilite]
Posted: Tuesday Apr 9th, 2013 at 9:16 am #46909

It was working fine earlier but for unknown reasons stopped working.

That’d odd. But the user is being able to register, right?

You could try the tips in these articles:
Knowledge Base » Common Troubleshooting Tips
Knowledge Base » Troubleshooting Email Delivery Problems

Posted: Tuesday Apr 9th, 2013 at 8:53 am #46907

1. How can I get the ccap required for the previously requested post

[hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

Really can’t figure out how to echo all the ccaps contained in the array, or any of them actually.

Something like this? (not tested)

[hilite pre_code]
foreach ($user_capabilities as $cap => $v) {
if (strpos($cap, 'access_s2member_ccap_') !== false)
echo $cap . "\n";
}
[/hilite]
Posted: Tuesday Apr 9th, 2013 at 8:34 am #46904

I upgraded to the paid version of S2Member so I could do everything on my site and not worry about the redirects, but it looks like I need to have a paid PayPal account (not just a business account) that costs $30/month, which is not in my budget.

Yeah, to receive payments on your site, it can only be done with PayPal Pro or Authorize.Net.

You can use the PayPal pro-forms without PayPal Pro, because it integrates with Paypal Express Checkout, which is free like PayPal Standard. But it Express Checkout happens over at PayPal, not your site.

And whatever problem you’re having now, may still need to be fixed for that anyway.

Posted: Tuesday Apr 9th, 2013 at 8:26 am #46902

We’ll need to see the log files to help us find the source of the problem. The email is probably not being sent because something’s wrong before it gets to that point.

You can enable logging to debug, even if the site’s live, just remember to remove the logs and disable logging after you’re done using them. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Once you have log entries for transactions that had that problem, you can submit your site’s info so we review the logs. Please let us know when you sent it. s2Member® » Private Contact Form

Posted: Tuesday Apr 9th, 2013 at 8:14 am #46900

No problem. :)

Posted: Tuesday Apr 9th, 2013 at 8:13 am #46899

Excellent. Thanks for the update. :)

Posted: Tuesday Apr 9th, 2013 at 8:09 am #46898

What excactly do you mean? Should this be used in the shortcode? or is it a template you can use OPTIONALLY, if you want to? Or is it something different?

It’s just a class added to the HTML for the player, so you can use it as a selector when you style it with CSS.

Also, I have a very relevant request for the next update.

I’ll tell Jason about this. Thanks for the feedback. :)

Posted: Tuesday Apr 9th, 2013 at 7:56 am #46894

We didn’t remove it. You can see in the changelog that there is no mention of that. s2Member® » Framework » Changelog

http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_current_user_is_not%28%29

You probably have an incomplete upload of s2Member. Could you try this tool please? Knowledge Base » s2Member® Server Scanner Fix any warnings/errors you see there following the tips given, please.

Posted: Tuesday Apr 9th, 2013 at 7:52 am #46893

You can use the contact form. s2Member® » Private Contact Form

Posted: Tuesday Apr 9th, 2013 at 7:51 am #46892

If you integrated s2Member with Amazon, then it’s using the file in Amazon. When linking to s2member-files it’ll just get rewritten in the server to the actual address in Amazon. See: [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

Everything discussed here is also compatible when/if combined with Amazon® S3/CDN Storage.

Posted: Tuesday Apr 9th, 2013 at 7:30 am #46889

Really? I tried the player in your test page and it opened the video…

[[video video_url="http://www.digitalark.co.uk/resource_centre/wp-content/plugins/s2member-files/wp-cleanup-large.mp4" + width="640" + height="360" + video_id="video1" + video_image="http://www.videoimageurl.com" + controlbar="bottom"] [/video]]

Notice that I used the mod_rewrite format for the URL, because some players don’t like the query string (the vars after the question mark). [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

How do I use the s2member shortplayer codes?

Knowledge Base » JW Player® w/ s2Stream Shortcodes

Posted: Tuesday Apr 9th, 2013 at 7:24 am #46888

Well, you need it to be writable when you have logging enabled, and it doesn’t affect to have it writable if you don’t have logging enabled.

I think you can ignore the permissions warning for that directory if you’re not logging, as long as you remember to change it when you do want to log.

Posted: Tuesday Apr 9th, 2013 at 7:13 am #46887

but not http://test3.gaylesta.org/holttom/ (suddenly restricted/redirected).

The Membership Options page variables say that page ID 268 has a Page restriction at Level 1. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

Check if you find 268 here: [hilite path]Dashboard -› s2Member® -› Restriction Options -› Page Access Restrictions -> Level 1[/hilite]

Posted: Tuesday Apr 9th, 2013 at 7:09 am #46886

Can I use both Local and AmazonS3 storage?

If you don’t configure an Amazon integration, then the s2member-files directory will be used. if you configure Amazon, then that will be used. [hilite path]Dashboard -› s2Member® -› Download Options -› Amazon® S3/CDN Storage[/hilite]

You’ll still be able to link to the s2member-files folder when you use Amazon, but it’ll just be rewritten to the actual location in Amazon. [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage[/hilite]

Posted: Tuesday Apr 9th, 2013 at 7:03 am #46885

Sorry, I don’t have any experience with Courseware, so it’s great that Buck could offer some insight.

Posted: Tuesday Apr 9th, 2013 at 7:01 am #46884

Another question: The client has decided different options on the pricing. Is there an easy way to apply some form of discount with different payment options without creating more levels?

You can sell the same level in different ways, you don’t need a different level for each payment plan. Don’t use more than one pro-form in the same page, but you can have a separate page for each pro-form like we did for our licenses here, or adjust the same pro-form with variables. Knowledge Base » Using Variables In A Shortcode

Thank you – you mean the JS is required to **submit** the form? All of the (other) functions are irrelevant to our environment.

I’m sorry, I’m not familiar with removing the JS for the pro-forms, actually I don’t know much JavaScript at all. I just know that when another plugin messes up the JavaScript, the pro-form will most likely stop working correctly, and that when someone asked about not including s2Member’s JS file Jason said it’s required. So if you’ll hack it to remove JS, I’m afraid I can’t help much there, it’ll be up to you to make it work if it can be done.

Do you really need to remove part of the JS? Have you tried the pro-form with the default JS and had the blank page problem then?

Posted: Tuesday Apr 9th, 2013 at 6:39 am #46883

Cool. :)

Posted: Tuesday Apr 9th, 2013 at 6:30 am #46881

Thanks!

This is what Jason replied:

I just did a review of the latest release, and I can confirm that nothing changed from v130404 to v130406 with respect to EOT Grace Time. The last time this portion of s2Member® was modified, is when the feature was added in v130220.

The default value for EOT Grace Time is 86400 (1 day). Setting EOT Grace Time to a value of 0 will effectively disable EOT Grace Time as indicated by the s2Member® configuration panel.

I did a review of the installation that was submitted privately, and I find this site does have EOT Grace Time set to a value of 0. So this matches up with the desired behavior.

I found no log file entries on this installation currently, so I was unable to investigate further. If the problem continues, please ask Ronnie to submit log entries for us which indicate the EOT Time is set incorrectly; along with the PayPal Button or Pro Form Shortcode used to initiate the sale.

So please enable logging and let us know when you have log entries and users that show this issue. Please include which ones so we can look for them. Thanks! [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Posted: Monday Apr 8th, 2013 at 9:10 am #46847

Hi Ronnie.

Could you submit your site’s info so we can take a look? Let us know when you sent it. s2Member® » Private Contact Form

Also, not sure if this may be related, but just in case: do you use caching? Make sure database and object caching are disabled, they’re known to cause trouble.

Posted: Monday Apr 8th, 2013 at 9:06 am #46846

:)

Posted: Monday Apr 8th, 2013 at 9:03 am #46844

You can use the initial/trial term for the first 30 days, and have the coupon apply only to that and not the regular payments that’d come after. [hilite path]Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File[/hilite]

By default, s2Member will apply the discount to ALL amounts, including any Regular/Recurring fees.
* However, you may configure Coupon Codes that will ONLY apply to (ta) Trial Amounts, or (ra) Regular Amounts.

[hilite mono]SAVE-10|10%||ta-only[/hilite] (10% off an Initial/Trial Amount; the ta="" attribute in your Shortcode)

See: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> ta, tp, tt[/hilite]

Viewing 25 replies - 1,426 through 1,450 (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.