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,751 through 1,775 (of 7,376 total)
Author Replies
Author Replies
Posted: Tuesday Mar 19th, 2013 at 12:54 am #45125

I took a new look at your site and realized that it’s a multisite network, so I went to the network administration plugins page and noticed many more plugins than I had seen before in the blog I logged into with the credentials you sent.

I was looking for a caching plugin. Noticed Quick Cache, but that one doesn’t cause trouble. Then in the drop-ins I noticed advanced-cache.php, which may be a file left from a previous cache plugin you tried. Try removing that one and see if you have the problem again over the next days.

Posted: Tuesday Mar 19th, 2013 at 12:42 am #45121

Yes, it’s a timestamp. http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

[hilite pre_code]
$s2member_last_payment_time = get_user_field ("s2member_last_payment_time"); # Timestamp. Last time an actual payment was received by s2Member.
[/hilite]
Posted: Tuesday Mar 19th, 2013 at 12:34 am #45117

Hi Eddie.

No, something seems to be wrong, the role should be set properly too.

Please enable logging and do a test checkout for 1 cent, try to reproduce the problem you’re having so we can see what it looks like in the logs. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

When you have the logs for a transaction with that problem, could you submit the site’s info? Let me know when you sent it. s2Member® » Private Contact Form

The 2nd button’s code seems okay, but the 3rd button’s code is not. The theme or another plugin seems to have altered it. You can test following the tips in this article. Knowledge Base » Common Troubleshooting Tips

I see you have Open Registration enabled, and the registration form looks quite customized. Doesn’t look like the default one. It is possible that what you used to customize it, is ignoring s2Member’s cookie, which is set after checkout to tell s2Member what access the new account should get on registration. Again, please follow the tips in the troubleshooting article for this, please.

Posted: Monday Mar 18th, 2013 at 11:23 pm #45111

Thomas, do you have Open Registration enabled?

Could you submit your site’s info? Please let me know when you sent it. s2Member® » Private Contact Form

Posted: Monday Mar 18th, 2013 at 11:19 pm #45110

If you don’t want have users register/login, this may help: Video » s2Member (Specific Posts/Pages).

Posted: Monday Mar 18th, 2013 at 11:15 pm #45109

Somehow members who forget passwords / have trouble logging in get blocked out after 3 tries, so what are the hackers doing to get around this.

They’re most likely using a script that submits login info directly, not loading the login form first.

Posted: Monday Mar 18th, 2013 at 10:31 pm #45105

Hi Jeremy.

Well, you could customize the s2Member Level role you’re selling, to have the capability that would let the user edit that, I guess.

http://wordpress.org/extend/plugins/user-role-editor/
Knowledge Base » Locking s2Member Roles/Capabilities

Posted: Monday Mar 18th, 2013 at 10:29 pm #45104

Any attempt that would trigger the WP action hook [hilite mono]wp_login_failed[/hilite] will count against the user. If you have a plugin which somehow dodges that hook, it could cause a problem. On this installation, though, it seems to be fine, as shown in Jason’s screenshot.

Or maybe your installation has something else allowing logins to the site, which bypasses the normal procedure, which is what s2Member monitors.

I tried logging into your admin area a moment ago but the login info is not valid anymore. What does the login log actually log, though? successful logins or every attempt? They seem to be attempts, otherwise why would someone login so many times in such a short time if they were successful?

Posted: Monday Mar 18th, 2013 at 10:09 pm #45102

Ah, yes, I’ve seen some site owners do something like this in the past. You can customize it dynamically with some PHP in your shortcode. Knowledge Base » Using Variables In A Shortcode

Posted: Monday Mar 18th, 2013 at 10:05 pm #45100

Hi Doni.

1) Is it correct that the content that is restricted to even Level 0 will be blocked from Search Engines?

Yes, if it requires the person to be logged in (e.g. Level 0), then the search engine bot will not have access to that content.

Is there any way to include it in searches to entice people to get to the site for that content, even if when they do land on a Level 0 page they need to create an account? Or is it just like a robots.txt file restriction?

Instead of using the access restriction to protect the whole page, you could instead use conditionals to protect part of the content only.

That way, the page will be loaded instead of redirecting to the Membership Options Page, and you can have some teaser content public while the Level 0 protected part will only be shown to logged in users. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

2) We really haven’t turned on any restricted content yet by page, post, or category ID # (this was to be the last step in the process), so it doesn’t really make sense that the search engines would be blocked at all, until we restrict those very pages or posts. What other settings could be affecting this in S2?

I don’t know, I can only think of the restrictions protecting the whole page/post. Do you have less pages indexed in the search engine now? I think in Google you can do [hilite mono]site:yoursite.com[/hilite] (use your actual domain name).

Posted: Monday Mar 18th, 2013 at 9:28 pm #45098

Not trying to be contrary and I’m sorry for the snippy tone of my previous reply, I was a bit frustrated.

Oh, no problem, I know how that can be.

that may be true for s2Memebr itself in its current state but that is certainly not because of limitations in WordPress itself as far as I can see

I know it’s not impossible, but it does require a plugin/hack because the default behavior is not that, as far as I know.

I would think a powerful membership plugin like s2Member should have this built-in or maybe true a smaller plugin addon one could install on sub sites.

Just food for thought.

I’ll add this to the feature requests list to consider when we look again at the multisite support. Thanks for the feedback! :)

Posted: Monday Mar 18th, 2013 at 9:11 pm #45095

No problem. I also am glad it’s solved. :)

Posted: Monday Mar 18th, 2013 at 9:10 pm #45092

The pro-form seems fine. Llike I said in my previous reply, you’ll need to have the DPRP service enabled in your PayPal Pro account to sell that. That’s what PayPal is requiring you to do in that error message. Or do you have it and you still get that error?

Posted: Monday Mar 18th, 2013 at 7:33 pm #45086

Hi Teresa.

Did you regain access to the admin area?

The s2Member access restrictions don’t apply to the admin account or the admin area, and thus would not redirect to the Membership Options Page.

Only the Brute Force and Unique IP restrictions would affect the admin account to protect it, but you’d have gotten an error, not a redirection to the Membership Options Page.

Maybe something is causing a conflict resulting in this weird behavior. Have you tried the tips in this article? Knowledge Base » Common Troubleshooting Tips

I hope that helps. :)

Posted: Monday Mar 18th, 2013 at 6:50 pm #45081

I can’t seem to solve the issue from that the trouble-shoot unless updating the s2member plug-in worked.

Do you think that’s what could of been the issue?

I’m not sure I understand. So the problem is fixed or you’re still having it?

If still having it, I can take a look at your site. Could you submit the login info? Please include ClickBank’s so I can review the configuration over there. s2Member® » Private Contact Form

Posted: Monday Mar 18th, 2013 at 6:44 pm #45080

Thanks for the email, Lisa. Sorry about the delay to reply.

I logged into the admin are successfully, but there are no s2Member logs, logging is disabled so I can’t see any info related the transaction for that customer.

Could you enable logging, please, and let me know when you see the problem happen again so I can examine the log entries? Thanks! [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Posted: Monday Mar 18th, 2013 at 6:36 pm #45079

I don’t think it’s a bug. Maybe at that point in the script, the user’s account had not been changed to that role yet and thus the condition isn’t true?

Have you tried checking what the user’s role is at that point? Maybe with [hilite mono]S2MEMBER_CURRENT_USER_ACCESS_LEVEL[/hilite]. [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]

Posted: Sunday Mar 17th, 2013 at 11:59 am #44985

The way you could add the cbskin variable would probably be with a str_replace of the URL output of the shortcode. http://php.net/str_replace

I don’t know if the s2Member integration with ClickBank will support cbskins, I haven’t tried it. Please let us know if it works, I hope it does. :)

Posted: Saturday Mar 16th, 2013 at 8:34 am #44922

when it says “punish for 15min”, this just means that they will not be able to log in for 15min. But after the 15 min, does their IP counter reset?

Here’s a detailed explanation Jason gave me:

Jason Caldwell said:

No, it just ends the punishment period; that’s all.
The IPs only reset every 30 days by default.

If you reach the max IPs and a punishment period kicks in; it locks everyone out. If someone else comes in with an existing IP on file, they will get in. If they come in with yet another new IP, it pushes the limit again (because the counter does not reset); and the punishment period kicks in again.

Look at it like this:

Username: johndoe22 (this is what we are guarding)
Max IPs for this Username are set to 5 unique IPs every 30 days.

IP 123.456.789.1 logs in under this Username.
IP 123.456.789.2 logs in under this Username.
IP 123.456.789.3 logs in under this Username.
IP 123.456.789.4 logs in under this Username.
IP 123.456.789.5 logs in under this Username.

Everything is OK so far.

IP 123.456.789.6 logs in under this Username.
~ Now EVERYONE is locked out of the account (this new IP and all previous IPs too).

If the punishment period is 1 hour, after one hour if one of the first five IPs attempts to access; they will get in. If someone new attempts to access this Username; they are ALL locked out for another 1 hour period.

Another important point to make, is that it’s not actually every 30 days (collectively). It’s 30 days per IP. So if IP 123.456.789.1 accesses the site on March 1st, they drop off the list (i.e. they are reset) 30 days later. This works independently for each IP address that is tracked.

In addition, there is a throttle switch connected to this behavior; which will automatically increase or decrease the 30 day drop-off rate; based on the number of abuses we track; or a lack of abuses. There is a behavioral pattern in the code. When we say 30 days; that’s really a baseline which s2Member® throttles from. It is designed to be VERY difficult to circumvent.

Posted: Saturday Mar 16th, 2013 at 7:37 am #44920

Cool. Let me know.

Ah, and could it be that you have a free registration pro-form forgotten somewhere? That one doesn’t care about the Open Registration setting. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]

Posted: Saturday Mar 16th, 2013 at 7:22 am #44917

Ah, I know what you mean. This happened to me too. Normally the link is removed from the login page when I have Open Registrations disabled, but once I had the link be there although registrations were closed. It took me a while before I realized that I had a cookie in the browser from an old signup test, which was letting me register and thus the link was there.

Posted: Saturday Mar 16th, 2013 at 6:34 am #44915

Glad you solved it. Thanks for the update. :)

Posted: Saturday Mar 16th, 2013 at 6:15 am #44913

By the way, here’s what Jason told me a moment ago:

We could ask him to place this in his /wp-config.php file as a quick test; and then remove it after the test is done.

[hilite pre_code]
$_SERVER['HTTP_RANGE'] = NULL;
[/hilite]

http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/ie8-http-range-header-internet-explorer-8-sends/bab46da5-587a-4c09-99fe-4c33fa4f6c18?msgId=58b5bb40-f86c-49e6-9788-d73375a52236

I will investigate this further tomorrow.

Could you please try that?

Posted: Saturday Mar 16th, 2013 at 5:47 am #44912

Hi Dan. Sorry about the delay.

Thanks, got the email. I tried logging in to the dashboard but the credentials you submitted didn’t work. Could you please resubmit that? Please let me know again when you resubmitted it. Thanks! s2Member® » Private Contact Form

By the way, did you try all the suggestions in this guide? Knowledge Base » Common Troubleshooting Tips

Posted: Saturday Mar 16th, 2013 at 5:41 am #44911

Sorry about the delay.

Okay, I found your email and couldn’t login to the admin area, but was able to login to the FTP. I got the log files and searched for the entry you quoted above, but could not find it. What other transactions had this problem? I’ll look them up in the logs to see what may look wrong.

Have you asked PayPal about these failed transactions? After all it’s them processing the payment and failing, s2Member is not in control of that.

Now that I have the logs, I’m also asking Jason about this so he can review them. Could you submit the working login info for the admin area? Let me know when you sent it, please. Thanks.

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