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,126 through 1,150 (of 7,376 total)
Author Replies
Author Replies
Posted: Thursday May 2nd, 2013 at 6:58 pm #49063

Try the API one.

I don’t know exactly what they need that for, though. But you can look for the entry that matches the info they sent, and forward it to them, I guess.

Did they answer the question regarding the accounts being tied or separate?

Posted: Thursday May 2nd, 2013 at 6:48 pm #49057

Essentially, what I want there is then award the Custom Capabilities, instead of upgrading their Membership Level.

Sure. It’s explained in the article I linked to. Here’s an example from it:

[hilite pre_code]
add_cap("access_s2member_ccap_videos");
$user->remove_cap("access_s2member_level2");
?>
[/hilite]

So in the code you had, change the line that sets the role, to the one that adds the capabilitiy.

However! The one issue this system did have, was that the Administrator Account was also constantly being promoted, demoted, and moved around. Is there anyway we could code in so that the Administrator Account is ignored, or set as Administrator every time this is run?

Of course. The conditionaly you had should not have been true for an administrator, because [hilite mono]current_user_is('s2member_level1')[/hilite] checks if the user has the role s2member_level1, which is not the role administrator. To be sure, though, you can add to your conditional a check that makes sure that the user isn’t an administrator.

Posted: Thursday May 2nd, 2013 at 6:28 pm #49050

Sort of. So you want one forum protected at Level 0 for everyone logged in, another for Level 1 users only, and another for Level 2 users only?

Now, you’ll still need to do something to the topic permalinks so they include the board’s slug in them, or it won’t be possible to use the URI restriction to protect all topics in a forum. Please see the documentation for what s2Member can do with bbPress. [hilite path]Dashboard -› s2Member® -› Other Integrations -› bbPress®[/hilite]

You can protect individual Forum Topics/Posts/Replies at different Levels with s2Member, or even with Custom Capabilities. Forum Topics/Posts/Replies are integrated by bbPress® internally as “Custom Post Types”, which can be protected by s2Member either through Post Level Access Restrictions, or through URI Level Access Restrictions (recommended). If you choose to use Post Level Access Restrictions, please remember that s2Member will provide you with drop-down menus whenever you add or edit Forum Topics/Posts/Replies to make things easier for you.

Regarding s2Member’s Post Level Access Restrictions with bbPress®. Before you decide to use Post Level Access Restrictions, please take a look at: s2Member -› Restriction Options -› URI Access Restrictions and consider the following limitations in the current release of s2Member. It is currently NOT possible to protect a Forum, and have all Topics inside that Forum protected automatically. In order to accomplish that, you’ll need to use s2Member’s URI Access Restrictions. Also, s2Member is currently NOT capable of protecting Topic Tags; but you can use URI Restrictions for these also.

Posted: Thursday May 2nd, 2013 at 6:22 pm #49047

s2Member Pro doesn’t change what the free version does, only adds new things. You can have the Pro add-on installed and still use PayPal Standard buttons as you were before.

If you have Open Registration disabled, the user won’t be allowed to register free. Only after having paid using the button generated with the s2Member shortcode, will he be allowed to register.

Also, when testing, remember to log out of your admin account and to clear the cookies in your browser, so it behaves as it would with a normal visitor.

Posted: Thursday May 2nd, 2013 at 6:17 pm #49046

Ah ok… Well, the elements I told you about may still help with your customization.

Posted: Thursday May 2nd, 2013 at 11:14 am #49019

Excellent! Thanks for the update. :)

Posted: Thursday May 2nd, 2013 at 11:12 am #49017

Could you try these, please? Knowledge Base » Common Troubleshooting Tips

Are you using your own reCAPTCHA keys? Did you verify they’re correct? [hilite path]Dashboard -› s2Member® -› General Options -› CAPTCHA Anti-Spam Security[/hilite]

Posted: Thursday May 2nd, 2013 at 11:07 am #49016

Do you have a cancellation button/form that the user may have used? s2Member would not originate a cancellation on its own.

He says an API from s2Member, is there something in the PayPal API log about it?

Posted: Thursday May 2nd, 2013 at 11:04 am #49013

No, we don’t have a date for it yet, sorry.

About hacking it, you could probably do it with a must-use plugin that checks if the page loaded has the ID of the exceptions and if so, bypass the s2Member restriction… I don’t have the code for it, but it’d be doable. Knowledge Base » Hacking s2Member® Via Hooks/Filters

Posted: Thursday May 2nd, 2013 at 10:56 am #49011

So, if I add a Level #4 form, it will recognize that he is a current member and not display the entire form?

If the user is logged in when the page with the pro-form is loaded, then the pro-form won’t also be a registration form, it’ll just be to purchase the access.

Also, lets say the member has 1 month left on he 1 year membership. If he renews using the buy now form, will it extend from his current EOT date or start over at that date?

With buy-nows, you can have the access time be extended with the new purchase. You’ll find the setting for that in the EOT panel. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Fixed-Term Extensions[/hilite]

Posted: Thursday May 2nd, 2013 at 9:39 am #49008

I don’t know how it’s going between Jason and PayPal yet, but I wanted to ask something based on a recent experience I just had with another PayPal Pro PayFlow Edition account: Are your PayPal Pro and regular PayPal accounts tied together? http://www.s2member.com/forums/topic/paypal-errors/#post-48864

Posted: Thursday May 2nd, 2013 at 1:36 am #48995

Thanks.

The ClickBank button’s shortcode in that page looks okay. I tried viewing the page while logged out for a test purchase, but it kept sending me to the “expired offer” page. So I ended up copying the shortcode to a new temporary test page, generated a CB test card and made a purchase.

Everything went fine. I got the ClickBank receipt email, the s2Member signup confirmation email, and the WP new user email. I logged in as the admin again and looked at the new user profile, and it includes the ccaps.

I couldn’t reproduce your problem. Maybe you were logged in when you tested? Or you changed something since the last failed test? Could you try again the way I described it and see if you succeed too? If you have trouble, please enable logging and run a new test purchase to get more info to help find the cause of the problem.

Posted: Thursday May 2nd, 2013 at 1:02 am #48993

Yeah, the code looks okay.

So you tried everything I said in my other reply? Even the troubleshooting tip of testing in a clean test installation of WP with just s2Member?

Posted: Wednesday May 1st, 2013 at 11:27 pm #48981

So, with those two concerns, I’m looking for a system that pretty much does this (on a Cron Job, if needed):

If Paid Member for 1 Day
{Give CCAP #1}

You can combine the conditionals approach with some code that’ll add those ccaps instead of showing the content. See: Knowledge Base » Changing Roles/Capabilities via PHP

I’ve run a hack before that promoted people automatically over time, with the same parameters that I want, but we changed our design intention from membership levels, to Custom Capabilities. The problem is when I tried to convert it myself, it didn’t function.

So I’m guessing you based it on the above article’s tip. It’d be pretty much the same but adding capabilities instead of changing roles.

Show me your code, please. You can post it inside <code></code> tags.

Posted: Wednesday May 1st, 2013 at 10:23 pm #48974

Well, if you want to remove the incremental access and you don’t mind it being that way in the whole website, then removing the capabilities from the roles would be the way.

Posted: Wednesday May 1st, 2013 at 8:37 pm #48957

Are you making sure not to use the Visual editor? Posts with PHP code should only be opened in the Text editor tab.

Now, the added space isn’t explained by the editor you use. There must be something in your theme or another plugin doing it. Did you test these? Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday May 1st, 2013 at 8:34 pm #48956

No need to apologize, we weren’t born knowing it either.

There are many videos online that describe how to FTP or use FileZilla: http://google.com/search?q=using+filezilla&num=100l&tbm=vid

Posted: Wednesday May 1st, 2013 at 8:29 pm #48954

This article may help you with that: Knowledge Base » Levels without incremental access

Posted: Wednesday May 1st, 2013 at 8:26 pm #48952

That’s wonderful, Lori! Thank you so much for the update and sharing your findings. :)

I’ll suggest adding a comment on this in the documentation in s2Member’s PayFlow panel.

Posted: Wednesday May 1st, 2013 at 8:21 pm #48951

So after paying and registering, you want to bring the person back to the page that originally took him to the Membership Options page?

That’s a bit tricky, although not impossible. I haven’t tried it, but you could use the Membership Options Page variables, add the page ID as custom value in the button’s shortcode, and then on first login redirect the user to that page ID. Here are some things that you could use:

[hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]
[hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> custom[/hilite]
[hilite path]Dashboard -› s2Member® -› General Options -› One-Time Offers (Upon Login)[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants -> S2MEMBER_CURRENT_USER_CUSTOM[/hilite]

Posted: Wednesday May 1st, 2013 at 7:54 pm #48950

I don’t know why they wouldn’t work. So you tried with the default theme and deactivating the other plugins and still nothing?

Are you using must-use plugins? Have you tried deactivating them too for the tests? /wp-content/mu-plugins/

Does the PHP version of those work?

When you tried the server scanner, did it mention any problems with the s2Member directory checksums? Are the directories complete and without any alterations?

Could you try the other tips in this article? Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday May 1st, 2013 at 4:30 pm #48944

I’m just a support rep, I can’t approve a refund. I can only show you the policy and forward the request, which I did. I also gave the reply I can give as a support rep, which is advice on how to resolve what you had trouble with.

Posted: Wednesday May 1st, 2013 at 12:24 pm #48932

Thanks for the updates.

About the email error, is the user logged in when he loads the page with the form?

By the way, you’re selling buy-now, so why are you using a subscription modification pro-form? Did they user purchase a buy-now before too? If so, just sell with a Level 4 pro-form.

Posted: Wednesday May 1st, 2013 at 12:12 pm #48928

An incorrect PDT Token can cause the POST vars error. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration[/hilite]

Posted: Wednesday May 1st, 2013 at 11:41 am #48927

From what you said about the automatic update, does it mean that you had s2Member Pro active before? It can’t be updated automatically if it wasn’t installed already, or if you uploaded version older than the framework’s. I thought you said you couldn’t install it before and that you verified that the versions matched?

Anyway, you mean in the [hilite path]WP Admin -> Plugins[/hilite] right? s2Member Pro won’t show as a plugin, it’ll be mentioned in the description of the s2Member Framework as an add-on when active. If the s2member-pro directory is correctly uploaded to the /wp-content/plugins/ directory and it matches the version of the framework, then it’ll be activated automatically.

If the s2Member Pro version is older than the framework’s, then in [hilite path]WP Admin -> Plugins[/hilite] you will get a message at the top where you can enter your s2member.com credentials to attempt an automatic update. This normally works fine, but some servers don’t have enough memory for this to succeed and the update needs to be done via FTP as the installation was. s2Member® » Pro » Install/Upgrade Instructions

The refund policy is that we don’t give refunds: “All sales are final. You cannot cancel a purchase or receive a refund for a purchase.” You agreed to this when you purchased the license. The policy also says we will consider exceptions “if you are unable to install a Product” and continues to say “And, you HAVE already worked with, and followed all advice presented by our support team, in an effort to resolve these issues.” s2Member® » Terms » Refund Policy

In your other thread I asked for some things to be done, but they weren’t, so I can’t verify that s2Member Pro is not working despite everything being correct. http://www.s2member.com/forums/topic/s2-pro-not-recognized/

I understand you don’t want me to take a look at the installation, but how can I tell if everything is in order then? Could you show me a screenshot of your FTP client with the s2member-pro directory files listed and the path to it? Can you also give me a link to the server scanner script uploaded to your WP directory (where wp-config.php is)? Knowledge Base » s2Member® Server Scanner

You can use the contact form to submit those privately if you don’t want to post them here. s2Member® » Private Contact Form

I will also forward your refund demand, although the threats are not appreciated.

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