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 - 3,951 through 3,975 (of 7,376 total)
Author Replies
Author Replies
Posted: Saturday Sep 22nd, 2012 at 6:25 am #26097

Hi Daniel.

I’m answering your questions below. I’ll try to keep the replies to the point to make them easier to read on your phone.

-group rights are usually independent of others, no hierarchy of different levels, is this supported?

The s2Member Levels do have a hierarchy, but if you need to give access independent of others you can use custom capabilities. Video » s2Member (Custom Capabilities)

It’s not impossible to avoid the hierarchy in Levels, though. One way is checking the user level with conditionals, instead of protecting the whole page at a certain level.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

Another -less common- way is customizing the s2Member Level roles to remove the capabilities that give access to lower levels. http://wordpress.org/extend/plugins/user-role-editor/

– can user be in more than 1 group?

If it’s with levels, no, but with custom capabilities it’s not a problem.

– Restrict page/folder by group?

You can protect pages/posts with custom capabilities. The edit page for each post has an s2Member box where you can enter the ccap(s) you want to require for it. Or you can use conditionals in the post itself, or a hack, to check if the user has the required ccap(s).

By folder, do you mean a directory with files? If so, yes. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Custom Capability and Member Level Files[/hilite]

– restrict part of page by group?

Yes, with conditionals.

– verify username/ pw via web service / mobile app?

Well, the user login is still handled by WP itself, it’s not touched by s2Member.

There’s this video that talkes about remote authorization for podcasts, but I’m not sure if it’s pertinent to what you need: [hilite path]Dashboard -› s2Member® -› Download Options -› Remote Auth/Podcasting[/hilite]

– db table schema, does it use wp user and usermeta tables?

Yes, s2Member uses WP’s tables only so far. In the future this will change to overcome many limitations it creates, though.

– how does reoccurring billing work?

That’s handled by the gateway. You create the button/pro-form for the transaction, and there you specify what the recurring details are (term, amount).
[hilite path]Dashboard -› s2Member® -› PayPal® Buttons[/hilite]
[hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms[/hilite]
[hilite path]Dashboard -› s2Member® -› Other Gateways[/hilite]

– no problem adding other tables and referencing user id?

The user is created the same way by WP, so you can keep using interacting with the WP users as usual in your customizations.


Does that help? Let us know if you have more questions. :)

Posted: Saturday Sep 22nd, 2012 at 5:47 am #26095

Hi Simeon.

It’s not very hard. Right after login, the person will be taken to the Login Welcome page. [hilite path]Dashboard -› s2Member® -› General Options -› Login Welcome Page[/hilite].

In that page, you can have conditionals that checks the status of the user, and based on that can be redirected with JavaScript.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

A bit faster redirection could be done with a hack in the must-use plugins directory, probably using the wp-loaded hook.

I hope that helps. :)

Posted: Saturday Sep 22nd, 2012 at 5:34 am #26094

No problem. Let us know if you have more questions. :)

Posted: Saturday Sep 22nd, 2012 at 5:32 am #26093

Great! :)

Posted: Friday Sep 21st, 2012 at 8:03 am #26041

I have deleted all other entries with the exception of level 1 and level 4 and it still isn’t working with the Tester account. So no it hasn’t helped.

Did you make sure the change was saved before testing again with the Tester account?

Could you submit your site info so I take a look? s2Member® » Private Contact Form

Posted: Friday Sep 21st, 2012 at 8:01 am #26040

What you can do is deactivate the plugins and activate them one by one, looking at what changed after each. s2Member doesn’t add groups, those are probably added by BuddyPress. s2Member adds access management to content. Adding members is a default in WordPress, although slightly modified by s2Member in regards to access (e.g. Levels), and modified by BuddyPress (e.g. account activation).

Posted: Friday Sep 21st, 2012 at 7:57 am #26039

Hi Cody.

Are you trying to get payments on your site? Are you using SSL for the page where the pro-form is?

Are you using the Sandbox? http://www.s2member.com/forums/topic/error-10002-2/#post-13717

This could also be caused by using the wrong credentials or trying to connect to the Sandbox API URL using the Live credentials or vice versa. You should double-check that you’re using the correct API URL + account details.

I hope it helps. :)

Posted: Friday Sep 21st, 2012 at 7:49 am #26038

I see. When you pasted the code into the Visual editor, the code got encoded and wasn’t PHP anymore. Make sure you don’t open that page in the Visual editor anymore or you’ll have the problem again, you need to stick to the HTML editor when you use PHP code in a page.

I’m glad you sorted it out. Thanks for the update. :)

Posted: Friday Sep 21st, 2012 at 7:46 am #26037

Sorry, I hope it’ll be soon, but won’t guesstimate because I could be off by a lot. :P

Posted: Friday Sep 21st, 2012 at 7:43 am #26036

That’s great! I’m glad you sorted it out. Thanks for the update.

Let us know if you need anything else. :)

Posted: Friday Sep 21st, 2012 at 7:40 am #26035

Ah, I also noticed that you’re not using the latest release of s2Member. I’m not sure if it’d solve the problem you’re having, but it’s always good to be up-to-date to avoid problems from previous releases. And always remember to do a backup of your site before updating/changing stuff in it. ;)

Posted: Friday Sep 21st, 2012 at 7:38 am #26034

Thanks!

5 => ‘Signup Confirmation Email sent to: “Jxxxx Kxxxx”.’,
6 => ‘Subscr. Return ( `modification=0` ), a Proxy Return URL is ready.’,
7 => ‘Storing `payment` for Subscription via ( `web_accept` ).’,
8 => ‘Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.’,
9 => ‘Storing IPN signup vars into a Transient Queue. These will be processed on registration.’,

Well, the confirmation email was sent, which would include a registration link for that user, but I’m not sure from the rest of the log if he got cookied to register properly if not using the link in the email. For some reason the vars were stored in the transient queue, which I don’t understand well. I’ll email Jason asking about it.

In the meantime, could you check with the user if when he registered he used his registration link in the confirmation email? Thanks!

Posted: Friday Sep 21st, 2012 at 7:26 am #26033

Question: once I get this sorted out, if she does have to use Payflow (which will probably be the case), should I do away with the API info in the standard panel?

I’m not sure what you mean by “do away”. If she does have the PayFlow Edition of PayPal Pro, you will need to fill out the fields in the PayFlow Account Details panel, as well as the PayPal Account Details ones.
[hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details[/hilite]
[hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayFlow Account Details[/hilite]

Pretty sneaky what Paypal did, adding an “enhanced recurring billing” functionality that costs an additional $30/month on top of the “Paypal Pro” fee.

I agree with you.

Posted: Friday Sep 21st, 2012 at 7:19 am #26032

Cool. :)

Posted: Friday Sep 21st, 2012 at 7:19 am #26031

Okay. :)

Posted: Thursday Sep 20th, 2012 at 8:46 am #25939

:)

Posted: Thursday Sep 20th, 2012 at 8:45 am #25938

Thanks for the kudos!

Let us know if you need help again. :)

Posted: Thursday Sep 20th, 2012 at 8:44 am #25936

Since I updated the user’s account to Level 1 manually, I’ll need to somehow update the database for this user to set a membership end date. I’m not sure what else needs to be updated in the database.

In the user’s profile, enter the gateway and subscr. ID. Leave the EOT time blank, since that’ll be updated when s2Member is told by PayPal about it.

The issue is that the user was set to Level 0 (both in WordPress and AWeber). The Transaction ID was not added to the WordPress account.

I’d need to see the entries from all the log files for this transaction. Could you post those x’ing out private info (e.g. email)? Thanks!

Posted: Thursday Sep 20th, 2012 at 8:39 am #25934

Hi Jan.

am not sure how that will impact my client in the near term since I’m just not familiar enough with Payflow yet.

You mentioned that your client has PayPal Pro, not PayFlow Pro. PayPal Pro has a PayFlow edition, because it uses the PayFlow API. Not every PayPal Pro user has that one, though, since that’s relatively new, PayPal Pro used to just use the PayPal Pro API. I’m sorry for the names mess, it’s confusing.

But your integration won’t be affected by the new PayFlow Pro integration in s2Member when it gets released.

I’ve looked at the old request an api settings at Paypal, but nowhere do they provide an option to request Payflow API credentials.

Check with PayPal if the PayPal Pro account your customer has, is the PayFlow edition or not. If it isn’t, then you don’t need to fill out the fields for it under [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayFlow Account Details[/hilite]

My Client talked to Paypal support and they essentially told her she should have her developer use their Payflow sdk doc to sort things out (she’s got a Paypal Pro account).

If that means she has PayPal Pro (PayFlow Edition), then fill out the fields for it. This video may be useful: http://www.youtube.com/watch?v=A0jOq2MRTVQ


Let me know if that helps. :)

Posted: Thursday Sep 20th, 2012 at 8:25 am #25928

Right, the More tag breaks the shorcodes, as far as I remember. I think you’ll need to use a conditional before and another after the More tag. Have you tried that?

Posted: Thursday Sep 20th, 2012 at 8:22 am #25927

Right, in the Account page he’ll find a link to upgrade the license just paying the difference. :)

Posted: Thursday Sep 20th, 2012 at 8:17 am #25925

That’s right, you need a PHP execution plugin if you use the full HTML code for the button, since it has some PHP code too.

If you don’t want to use PHP, though, you can edit the code to replace those values with the shortcodes for them: [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]

Posted: Thursday Sep 20th, 2012 at 8:15 am #25923

Yeah, this line:

4 => ‘Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet. Or, your ClickBank® API Keys are NOT configured properly under `s2Member -> ClickBank® Options`.’,

Could you double check that you configured the ClickBank integration properly? [hilite path]Dashboard -› s2Member® -› ClickBank® Options[/hilite]

Something must be incorrect if you’re getting that message in the logs. I hope you find the problem. :)

Posted: Thursday Sep 20th, 2012 at 8:04 am #25919

Problem 1 – Custom Profile Field – as you said, you have to save first on the pop up screen and then on the main page save all changes at the bottom of the page – remember to do it twice. Solved.

Great. :)

Problem 2 – Am in s2Members>General Options> Login/Registration Design – I want to change the font size generated by S2 Member

You can customize that page a bit from here: [hilite path]Dashboard -› s2Member® -› General Options -› Login Registration Design[/hilite]. The Overall Font Size would be the setting you want to edit.

Or just edit the CSS from your theme’s styles.css file.

Problem 3 – as stated change footer

Footer for the login/registration page? That’d also be done from [hilite path]Dashboard -› s2Member® -› General Options -› Login Registration Design[/hilite]


I hope that helps. :)

Posted: Thursday Sep 20th, 2012 at 7:58 am #25918

Hi Mary Anne.

The Membership Options Page vars show that the required level for page 48 is Level 3. I see that you entered that page ID to the Page restriction for levels 1, 2 and 3. I’d recommend that you just entered it at the lowest level you want to require for that page, which in this case would be Level 1.

Let me know if that helps. :)

Viewing 25 replies - 3,951 through 3,975 (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.