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,651 through 1,675 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Mar 26th, 2013 at 7:58 am #45728

I don’t know. Does any logout link behave like that or only one of them? You may want to review the code for the link, see if you see a redirect_to variable pointing to that page.

s2Member only has a logout redirection in the Pro Login Widget. If you’re using that, you could review the setting for this to make sure it’s pointing to the Home page and not the page where the user logged out from. [hilite path]WP Admin -> Appearance -> Widgets -> s2Member Pro Login[/hilite]

Posted: Tuesday Mar 26th, 2013 at 7:51 am #45726

That’s great. :)

Posted: Tuesday Mar 26th, 2013 at 7:50 am #45725

Hi Daisy.

No date yet, we had many unplanned delays last year, but we’re now making good progress and hope to be beta testing soon.

Posted: Tuesday Mar 26th, 2013 at 7:46 am #45724

Hi Richard.

It will only work to create one account. Have you tried it?

To test it, first log out of your admin account, do the test purchase, register after returning to site, and then try registering with the link in the Signup Confirmation email.

Posted: Tuesday Mar 26th, 2013 at 7:35 am #45722

Well, the auto-login hack hooks to the registration, not upgrades. I’m going to ask Jason about this.

You are using the hack in the article I linked to, right? Knowledge Base » Auto-Login Upon Registration

Posted: Tuesday Mar 26th, 2013 at 7:04 am #45721

Hi Brian.

The pro-form styles don’t have a problem with most themes, but there are themes that do change the pro-form’s styling, or conflict in some way.

I don’t know what’s causing the problem in that particular theme, though. Have you tried asking the theme developer about it?

Posted: Tuesday Mar 26th, 2013 at 6:34 am #45718

I see.

Well, s2Member doesn’t manage the subscription, PayPal does. If there’s a way to resume it, it’d be on their side. On s2Member’s side, the option would be to create a new subscription with the terms as if the user were resuming the old one (e.g. without a new initial term).

Posted: Tuesday Mar 26th, 2013 at 6:31 am #45717

Hi Rena.

We moved back to our old hosting at 1and1 and thus changed our main domain name (then just forward the old one.)

Can’t you use the old domain name with the new hosting? It isn’t required to changed domain names when you change hosting services. If you wanted to change the domain name for other reasons, then okay, but I just want to make sure if you thought the server change made it necessary.

Where in the code or files do I update this info to make sure that all operations are pointing to the correct server and web address??

I’m not sure if PayPal lets you edit the subscriptions to update the IPN URL in them. You could ask them how you can do that. The correct URL for your installation can be found here: [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration[/hilite]

If you can’t edit the IPN URL in the subscriptions, you’ll need a script forwarding the IPN correctly to the new address. Here you can example paypal-central-ipn file you can customize for your needs: http://www.s2member.com/wp-content/downloads/s2m-pro-extras.zip

Posted: Tuesday Mar 26th, 2013 at 6:19 am #45713

I didn’t use s2Member shortcode for the ClickBank button. I just directly add this html to the page

Ah, that won’t work with s2Member, you have to use the shortcode.

This product is inactive and/or no longer for sale. This product has been disabled for one or more of the ff. reasons:

I’ve tested with products not approved yet in the past, if I remember correctly, and it wasn’t a problem… Did you use ClickBank’s test card for your test purchase?

Also, did you complete the integration between s2Member and ClickBank? [hilite path]Dashboard -› s2Member® -› ClickBank® Options[/hilite]

Posted: Tuesday Mar 26th, 2013 at 6:14 am #45712

How to configure the s3/cloudfront with my s2member?

Here: [hilite path]Dashboard -› s2Member -› Download Options -› Amazon S3/CloudFront -> Auto-Configure[/hilite].

Posted: Tuesday Mar 26th, 2013 at 6:10 am #45711

In one case, i got the notification of the failed payment, and when i contacted the member she said she didn’t cancel anything, so i assumed it was accidental. However, i just received a notice that the payment is suspended.

Maybe the payments failed and PayPal ended the subscription? This seems to be on PayPal’s end, because that’s where s2Member gets it from.

how would i be able to restart the monthly membership without her having to go to the “$X for 3 months and then $x per month”?

I’m not sure I understand the question. To create a new subscription, the person would have to click your subscription button and checkout again. What do you mean by x months at one price etc.? Do you offer the first few months at another rate? If so, you can create a button just for this user to resume the membership without an initial term.

Posted: Tuesday Mar 26th, 2013 at 6:06 am #45710

Hi Lloyd.

You can use s2Member to require users to be logged in (s2Member Level 0) for certain content. [hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]

s2Member lets you create custom profile fields, yes. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Posted: Tuesday Mar 26th, 2013 at 5:51 am #45709

Sorry DHCS, I don’t monitor the Translations forum so wasn’t aware of your reply.

Left you a reply in the thread there. I’ll leave that tab open to remember checking it again tomorrow.

Posted: Tuesday Mar 26th, 2013 at 5:38 am #45707

Matteo, the registration form is WordPress, not s2Member. I’m pretty sure that if you translate WordPress to German, those labels would be translated.

Posted: Tuesday Mar 26th, 2013 at 5:35 am #45706

I hadn’t seen the reply in my mailbox:-)
I deactivated all other plugins, i changed the theme and still the same errors.
I found one extra error though connected to s2member which was there before but didn’t see it:

PHP runtime error reporting detected !
Reason: some executed PHP code is not written proper | Originator: onbekend (probably by Theme or Plugin)
Below listed error reports has been traced and removed during page creation:

NOTICE Error: [8] Undefined variable: cache_needs_updating /home/dhcs/public_html/wp-content/plugins/s2member/includes/classes/cache.inc.php on line 94

Do you have that error in a clean installation of WordPress with just s2Member? I’m not getting that in my installation.

If you have [hilite mono]WP_DEBUG[/hilite] enabled, then you’ll see warnings for undefined variables in s2Member that won’t prevent it from working, but not errors. http://codex.wordpress.org/WP_DEBUG

Knowledge Base » Common Troubleshooting Tips

Getting this error:

Error: The actual loaded translation content does not match the textdomain: s2member
Expect, that any text you translate will not occure as long as the textdomain is mismatching!
This is a coding issue at the source files you try to translate, please contact the original Author and explain this mismatch.

Warning: The actual loaded translation content contains mixed textdomains and is not pure translateable within one textdomain.
It seems, that there is code contained extracted out of other plugins, themes or widgets and used by copy & paste inside some source files.
The affected unknown textdomains are: ?

Where did you get this error? As far as I know, all the s2Member strings have the domain “s2member”.

Could you tell me how to reproduce that error so I can see where it’s happening?

Posted: Tuesday Mar 26th, 2013 at 5:05 am #45704

Hi Clare.

You can use the download protection in s2Member, where you can specify the number of files per month the user would be able to download. [hilite path]Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions[/hilite]

I think that downloading the same file again in the same period won’t count towards the limit, though, but you can test to see if it works the way you need it in your site. Video » s2Member (File Download Options)

Posted: Tuesday Mar 26th, 2013 at 4:58 am #45703

Hi Chris.

Yes, you could do that with conditionals.

See:
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_paid_registration_time%28%29
http://codex.wordpress.org/Template_Tags/get_post_time

Example:
[hilite pre_code]

content

[/hilite]

Posted: Tuesday Mar 26th, 2013 at 4:43 am #45702

Hi Kevin.

The free version of s2Member can do those. I suggest you install it and read the documentation in it. These videos also help learn about it: http://www.s2member.com/videos/

Customer receives password via email, username is email address.

This hack will help with that: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15672&p=49082#p49082

A user account is created automatically and the order tables updated appropriately with the IPN from PayPal, name, email address, etc.

The user account is not created automatically. He will need to register in WordPress after the checkout.

Auto-login after registration would be possible with a hack, though. Knowledge Base » Auto-Login Upon Registration

Posted: Tuesday Mar 26th, 2013 at 4:29 am #45701

I’m sorry, I don’t know. I’ll need to ask Jason, but it’ll probably be quicker to just test it in your account. I’ll let you know when I hear back from Jason.

Posted: Tuesday Mar 26th, 2013 at 4:11 am #45700

There aren’t level 0 subscriptions. Level 0 is the free level. Subscriptions are sold for level 1 or higher.

When a subscription ends, the EOT demotion would bring his level down to 0. If the user is already at 0, what would the demotion be? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

I’m not sure I understand what you’re trying to do.

Do you mean to have a free level for a certain time and then remove that free access? If so, you could use the free registration pro-form to give Level 1 for free, and the demotion would bring him down to 0, where you’d have less content.

Posted: Tuesday Mar 26th, 2013 at 4:07 am #45699

Hi Steven.

I am not sure if I will be able to have an option to show the pages in my menu only to logged in users and not show the menu items when a user is not logged in.

See: [hilite path]Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection[/hilite].

My other need (probably most important need) is to be able to create pages that are available ONLY to a specific user. My members will have the option to purchase customized instructional videos created just for them. I will need to be able to embed the custom video that we will create for them on a page that ONLY they will be able to access. This is in essence, a customer portal similar to what a school might offer, or something along those lines. In addition, there will need to be a way for the user to access this custom page and possibly others that we create for this user, from their “My Account” page. So there would need to be links to the page that the user can easily click to see their custom content. At this point, I don’t mind if I need to create these user specific pages manually, I just need to be able to do it. Maybe some day there can be an automated way to create the user specific pages. These pages would also need to be hidden from search engine spiders.

This video talks about that: Video » s2Member (Client Portals?)

You’d be using custom capabilities to protect the pages, so the page is protected with ccap “john-doe” for example, and John Doe would have that ccap in his account, so he’ll be able to access that page. No one without that ccap will be able to access it (except for the admin).

You can also protect files with that ccap: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Custom Capability and Member Level Files[/hilite]

The protected pages won’t be crawled. Spiders are guests to the site, and don’t have access to the protected content, so they’ll be redirected to the Membership Options Page if they try to load them.

Posted: Tuesday Mar 26th, 2013 at 3:53 am #45698

Hi Ira.

The files protected by s2Member are only available to those with the access to them. In your example, the file is protected at Level 1, meaning that only those logged in to your site with a Level 1 or higher account will be able to access it. Level 0 users or guests, won’t be allowed to download it. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Custom Capability and Member Level Files[/hilite]

Now, adding the download key makes the file downloadable by anyone. Is there a reason why you’re adding the key there? If not, you should remove it. You can read more about the download key here: [hilite path]Dashboard -› s2Member® -› Download Options -› Advanced Download Restrictions[/hilite]

It is possible that when you tried the URL alone you were able to download the file because it has the download key, or because you were logged in to your admin account. Make sure it doesn’t have the download key and you’re logged out, and see if you can download the file then.

Amazon services are not expensive and improve delivery of the files.

These videos may interest you:
Video » s2Member (File Download Options)
Video » s2Member® File Downloads (Amazon S3/CloudFront/JW Player)

Posted: Saturday Mar 23rd, 2013 at 9:18 am #45551

That’s odd. Could you verify that the user account you tried is Level 1? If it is and the replacement code still outputs 0, please try the tips in this article: Knowledge Base » Common Troubleshooting Tips

Posted: Saturday Mar 23rd, 2013 at 9:16 am #45550

No. Only levels can be sold with a subscription, and level 0 can’t be sold because it’s the free level. You’ll have sell level 1 to do that. This would also be best because level 0 is the one users are demoted to when the subscription ends, so the paid content should be at a higher level (e.g. 1).

Posted: Saturday Mar 23rd, 2013 at 9:13 am #45549

headers already sent (output started at /home/detoxing/public_html/wp-content/mu-plugins/s2hacks.php:13)

You seem to have a space or line brake outside the PHP block, make sure the file starts and ends with the PHP tags, and nothing is outside.

By the way, that auto-login hack is old, try the one given here, please: Knowledge Base » Auto-Login Upon Registration

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