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,276 through 1,300 (of 7,376 total)
Author Replies
Author Replies
Posted: Monday Apr 22nd, 2013 at 11:17 pm #48146

This is what he told me:

Jason said:

This has come up in the past and it continues to be a problem of sorts.

Unfortunately, ccBill does not provide any immediate response to s2Member after checkout. There is no Auto-Return functionality provided by ccBill. The only way s2Member can accurately verify the transaction is to await the IPN communication from ccBill which occurs behind-the-scene (e.g. ccBill® Background Post Integration).

A possible solution to this problem where Open Registration is enabled, is to use a custom Thank-You page to state clearly what the customer should do. s2Member does this by default already, but if he’s having problems, he could use a custom Thank-You page with ccBill and elaborate further to help prevent customers from taking the wrong route to registration.

The default Thank-You page (i.e. ccBill® Approval URL) looks like this:
http://www.example.com/?s2member_pro_ccbill_return=1

But you can use whatever URL you prefer instead. So if you setup a custom Thank-You page of your own, you can swap out the default s2Member handler with your own. Siince this URL does nothing after checkout (other than display a message to the customer), there is no harm in changing it to whatever you like best.

See also: [hilite path]s2Member -› ccBill Options -› ccBill® Approval/Denial URLs[/hilite]

Another thing that you may try, that I just thought, is only sell the paid membership to those already logged in to their free account. This way the purchase will upgrade the existing account and you’ll avoid the issue you’re having.

Posted: Monday Apr 22nd, 2013 at 11:01 pm #48145

This is what Jason said after reviewing this:

Jason said:

I just took a quick look at this. I was unable to reproduce the problem with the details provided. Disabling Alt. Views (Comment Feeds) really should not impact this behavior from what I can see in the source code.

Given that IS though, it actually sounds to me like there could be a custom query somewhere in the underlying theme, or from another plugin that is preventing WordPress Conditional Tags from reporting back to s2Member properly.

See: http://codex.wordpress.org/Function_Reference/wp_reset_query
Also, I would make an attempt to reproduce this on a clean/test installation with only WP/bbPress/s2 running.

Knowledge Base » Common Troubleshooting Tips

Posted: Monday Apr 22nd, 2013 at 10:32 pm #48144

Please make sure that only the .htaccess file is left in the /wp-content/plugins/s2member-logs/ directory. Any log file or archive of them, will cause the badge to not validate.

Posted: Monday Apr 22nd, 2013 at 10:31 pm #48143

Jason reviewed it and found that there is an archive (zip file) of logs still in the /wp-content/plugins/s2member-logs/ directory. I missed it because the viewer didn’t show it (it only shows the .log files), but it’s there if you use the FTP client.

Posted: Monday Apr 22nd, 2013 at 10:21 pm #48141

Jason reviewed your site and he agrees that you have a problem with mod-rewrite in that directory. This is what he said:

Yes, Mod-Rewrite on this site is broken in some way. It appears to be a compatibility problem. I am investigating that. However, you are correct. A standard link with a query string will suffice if rewrite is broken.

It appears that his web server has disabled Mod-Rewrite in this directory for some reason. I don’t see this as an s2Member compatibility issue really, more of a web hosting compatibility issue in my opinion.

It appears that one of the following could be causing the issue with Mod-Rewrite.

His Apache configuration does not FollowSymLinks
This line inside /s2member-files/.htaccess is failing for some reason:

Options +FollowSymLinks -MultiViews -Indexes

See also: http://httpd.apache.org/docs/2.2/mod/core.html#options

The underlying problem is not that s2Member’s .htaccess file is not working, it’s that his web server is not even reading that file. It pretends like it’s not even there. Which also means that any files in that directory (/s2member-files/) are NOT being protected in any way.

He should stick with query string format for his links, and stick with S3 as his storage engine for s2Member.

Or contact the hosting company to resolve this issue with s2Member’s .htaccess file not working.

Or switch hosting providers.


/wp-content/plugins/s2member-files/s2member-file-remote/s2member-file-inline/

That uses the mod-rewrite rules, so it won’t work for you until its resolved. You can use the normal querystring format, though:

http://yoursite.com/?s2member_file_inline=yes&s2member_file_remote=yes&s2member_file_download=pg-20130321.mp3

Posted: Monday Apr 22nd, 2013 at 6:52 pm #48119

Posted: Monday Apr 22nd, 2013 at 8:18 am #48093

I see. Well, this is our refund policy: s2Member® » Terms » Refund Policy.

Posted: Monday Apr 22nd, 2013 at 8:10 am #48092

The tag and category access restrictions work with Levels. [hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]

You could have a hack that checks the category/tag in combination with the custom capabilities, though. Knowledge Base » Hacking s2Member® Via Hooks/Filters

Of course you can have conditionals in the posts/pages themselves. Video » s2Member (Advanced Conditionals)

Have you watched this video? Video » s2Member (Custom Capabilities)

Posted: Monday Apr 22nd, 2013 at 7:45 am #48088

The login is handled by WordPress, so if you can get your app to log the user into WordPress, that should be enough for his access his account has to the content.

Other than that, there are these articles that you may find interesting:
Knowledge Base » Remote User Status (Custom API)
Video » s2Member® File Downloads (Remote Auth/Podcasting)

Posted: Monday Apr 22nd, 2013 at 7:40 am #48085

If you’re giving a free trial, PayPal won’t know if the card worked until it tries to charge it later.

One thing you could probably do is give the trial for a dollar instead of free, that way the card will fail immediately if it’s not good.

Posted: Monday Apr 22nd, 2013 at 7:37 am #48084

Oh, thanks so much! I fixed the code in that post. :)

Posted: Monday Apr 22nd, 2013 at 7:24 am #48083

Okay, let us know how it goes.

Also, are you sure the account you’re testing with, is newer than 10 days? If it’s older, then the condition will be true and you’ll be shown the content.

Posted: Monday Apr 22nd, 2013 at 7:22 am #48082

You could have just one Login Welcome page with a conditional that checks that custom profile field and shows a different message based on its value.

[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants -> S2MEMBER_CURRENT_USER_FIELDS[/hilite]
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

Posted: Monday Apr 22nd, 2013 at 7:02 am #48081

Existing users are not getting their EOT updated. Old EOT remains unchanged

Could you show us the shortcode you’re using for the existing user to extend his EOT?

Are these buy-now transactions? What is your EOT setting for extensions set to? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Auto Extend[/hilite]

Do you have logging enabled? What do the entries for the transactions with this problem say? Any errors? [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Have you tried all the tips here? Knowledge Base » Common Troubleshooting Tips

Posted: Monday Apr 22nd, 2013 at 6:45 am #48080

If you protected the content at Level 1, then General Staff users should be given the s2Member Level 1 role for them to access those pages. Same for Level 2 Managers.

You can edit each user individually from their profile pages, or change their role in bulk from the Users list.

Posted: Monday Apr 22nd, 2013 at 6:40 am #48079

Did you try the rest of the troubleshooting tips or just the plugins one?

I just tried the server check and you had a problem with the checksum for the s2member-pro directory, so there probably was a problem when you uploaded it. I reuploaded it for you and got rid of that warning, but the badge still didn’t validate for your site.

One of the tips in the article is to create a clean WordPress installation in another directory, and add just s2Member to test if you can reproduce the problem with just that and nothing else. Did you try that? If not, please do and that is the login info that I was asking you to submit in my last reply. Let me know when you do so I forward it to Jason to investigate. Thanks! s2Member® » Private Contact Form

Posted: Monday Apr 22nd, 2013 at 6:21 am #48077

You mean you created the custom profile field and want to add a description that says that? Have you tried using the “Field Label/Desc”? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Posted: Sunday Apr 21st, 2013 at 8:56 am #48039

Sorry, I didn’t know you had submitted your site’s info.

I looked at your installation and it seems to comply with the requisites for the badge to turn green.

I see you have a lot of plugins active and it is possible that one may be interfering with the badge. I’ve seen it happen to another site owner once. Have you already tried all the tips in this article? Knowledge Base » Common Troubleshooting Tips

If you tried them all and could even reproduce the problem in a clean WP installation in a directory of your site, please submit the info for it so I can forward it to Jason to investigate. Please let me know with a new reply here if you submit this. s2Member® » Private Contact Form

Posted: Sunday Apr 21st, 2013 at 8:39 am #48038

If you can acknowledge this, and tell me what you need from me: site login, Clickbank login, Clickbank Master login, and ftp login, and where I can send this to you securely, I’ll pass it over.

You can submit all those using our secure contact form, please: s2Member® » Private Contact Form.

Also make sure you have logging enabled, as the logs will help debug this. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Do you get any emails from WordPress? If you register a free account, does the New User email get sent? If not, please read this: Knowledge Base » Troubleshooting Email Delivery Problems

Posted: Sunday Apr 21st, 2013 at 8:35 am #48037
Posted: Sunday Apr 21st, 2013 at 8:33 am #48036

as it doesnt work in my ie either

What IE version and OS are you using?

Have you tried these? Knowledge Base » Common Troubleshooting Tips

Posted: Sunday Apr 21st, 2013 at 8:30 am #48035

Don’t use HTML or multiple lines in the [hilite mono]desc[/hilite] attribute of the shortcode, it’ll most likely cause you trouble. You can have that before/after the shortcode.

The payment pro-form will also register the user if he’s not logged in. So just using the level pro-form will be enough to register him and get paid.

If you don’t have PayPal Pro, you shouldn’t have [hilite mono]visa,mastercard,amex,discover,maestro,solo[/hilite] in the [hilite mono]accept[/hilite] attribute. Leave just PayPal as I told you in the previous reply, that’ll give you a PayPal Express Checkout button to submit the form and start the checkout.

By the way, if you don’t have a particular reason to give an initial term (ta, tp, tt attributes) that’s the same as the regular ones (ra, rp, rt), you could just have the regular payments. See [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes[/hilite]

Here’s your shortcode adjusted a bit:

[[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$39 USD Yearly (recurring charge, for ongoing access)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.immoflorida.com" ta="0" tp="0" tt="D" ra="39" rp="1" rt="Y" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]] 
Posted: Sunday Apr 21st, 2013 at 8:18 am #48034

If you protect the page at Level 0, the user will be required to be logged in. If he isn’t, he won’t have Level 0 access and will be redirected to the Membership Options Page, where you can ask him to login/register.

[hilite path]Dashboard -› s2Member® -› Restriction Options -› Page Access Restrictions[/hilite]
[hilite path]Dashboard -› s2Member® -› General Options -› Membership Options Page[/hilite]

Posted: Sunday Apr 21st, 2013 at 8:16 am #48033

You could use conditionals to give the different prices based on their levels.

These may help:
Knowledge Base » Simple Shortcode Conditionals
Knowledge Base » Using Variables In A Shortcode

Posted: Sunday Apr 21st, 2013 at 8:14 am #48032

You could probably just hide it with CSS. Try

[hilite pre_code]
div.ws-plugin--s2member-pro-login-widget-remember-me {display: none !important;}
[/hilite]

Other than that, you’d have to edit the PHP file for the pro login widget. If you do, work on a copy in the must-use plugins directory so it doesn’t get replaced when you update s2Member. /wp-content/mu-plugins/

I hope that helps.

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