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 - 4,851 through 4,875 (of 7,376 total)
Author Replies
Author Replies
Posted: Sunday Jul 22nd, 2012 at 6:55 am #19930

Hi Dimitrios.

You can change that label from here: [hilite path]Dashboard -› s2Member® -› API / List Servers -› Registration Double Opt-In Box -> Double Opt-In Checkbox Label[/hilite].

I hope that helps. :)

Posted: Sunday Jul 22nd, 2012 at 6:52 am #19929

Hi Jordan.

lol, that was a nice way to request a feature. :)

I’ll be honest with you: this is not going to be added to the current s2Member. All development is going to the new s2Member right now, the current one only gets attention if something needs fixing, not new features.

The new s2Member may already have designed into it features that would make possible part or all of what you need, but I can’t say for sure at this point.

Just to be sure I understand your request fully, what is it that you are asking exactly? To know who downloaded what files when?

Posted: Sunday Jul 22nd, 2012 at 6:43 am #19928

Hi Brad.

I emailed Jason asking these.

Posted: Saturday Jul 21st, 2012 at 8:33 am #19896

That’s great! Thanks for confirming it! I’ll email Jason to let him know too. :)

Yeah, PayPal logs are normal, since the other gateway integrations use part of s2Member’s original code for the PayPal integration.

Posted: Saturday Jul 21st, 2012 at 8:30 am #19895

Hi Dean.

Could you post the log entries for the transaction that had the problem? (x’ing out any private info, e.g. email address) [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options -› Account Details -› Logging[/hilite]

It’d be good to test for a plugin conflict somewhere. You can do this deactivating other plugins one by one, and testing after each to see if the problem goes away.

Posted: Saturday Jul 21st, 2012 at 8:24 am #19893

Thanks for the update and sharing how you solved it. I’m glad you found what the problem was.

Many thanks for your continiued support and help

You’re welcome! Glad I could help a bit. :)

Posted: Saturday Jul 21st, 2012 at 8:18 am #19892

Hi Geert.

No, s2Member doesn’t have a user approval feature. What you can do, though, is let him register at a level below the one the protected content is, and upgrade his account manually to that level after approving it.

I hope that helps. :)

Posted: Saturday Jul 21st, 2012 at 8:12 am #19891

Hi Aaron.

Have you configured your Membership Options page? The restrictions won’t work until that is set. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Options Page[/hilite]

If you do have that set up, could you take a screenshot of your restriction for that page you linked to, please? Thanks.

I hope that helps. :)

Posted: Saturday Jul 21st, 2012 at 8:08 am #19890

Hi there.

1. Our sales page is an html page and not on wordpress. Can the paypal button generated by S2 or in Paypal be used outside the wordpress site on our sales page?

If yes, how? We have tried using your free version, it does not work.
If not, is it easily doable with some customization? How?

Shortcodes only work inside WordPress, but in an HTML page outside WordPress you can use a button created over at PayPal, integrated with s2Member so that it works to give the user the access he’s paying for. Knowledge Base » Using PayPal created buttons

2. We want to automatically keep track of ex subscribers. S2 cancels when a subscriber cancels, but does not keep track of the ex subscriber. This is needed for marketing to ex subscribers.

How can this be accomplished?

One work around is to demote the subscriber. However, when an ex subscriber comes back to resubscribe, he is not able to subscribe through paypal because his email is already in s2. Therefore this workaround does not work.

If it is not a standard feature to keep track of ex subscribers, can this be easily accomplished with customization? How?

Right, the user can be demoted to s2Member Level 0 (WP’s Subscriber role). If you don’t let free users register, then you’ll know that all users at that level were paying users before.

Demoted users can upgrade to the paying level again without needing to create a new account, as long as they click the PayPal upgrade button (generated with the shortcode for it in a WP page/post) while they’re logged in to their account. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Membership Level # Buttons[/hilite]

3.When a subsciber cancels, we want him to automatically receive an email asking for reason for cancellation.

Can this be done?

If it is not a standard feature , can this be easily accomplished with customization? How?

You could use the Cancellation Notification to run a script that will email the user. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Cancellation Notifications[/hilite]

4. We offer a trial that is limited to only one time. If a subscriber registers for the trial and they have previously taken a trial, we do not want him to have access to the site and send him an email asking him to subscribe from a NO TRIAL Link.

Can this be done?

If it is not a standard feature , can this be easily accomplished with customization? How?

Well, if you use a special button for demoted users, you can make that one not have the trial option. He can get around that limitation simply logging out and using the regular button for new customers, but then he’ll have to create a new account with another email address.

To avoid users abusing your trial, you’ll need to create some customization that keeps track of them. With cookies, for example, but they can still be removed from the browser or another browser could be used. You could also keep track by IP.

5. Do you offer customization? If yes, what is the cost for what we want?

If no, what dollar amount we should resonable expect to pay someone to do the foregoing customizaions? Is there someone you recommend?

No, we don’t give this service. We usually point to freelancer sites like jobs.wordpress.net, etc. I don’t know what they charge.

Here in the forums I know David Welch has done some jobs in the past, but I don’t know if he’s taking new ones.

6. Please comment on compatibility of customization specified here with future upgrades.

Future maintainance updates of s2Member should not be a problem with the above. In the future, when we release the new s2Member we’re currently developing, some updates may be needed on your customization, depending on what you have.

7. Is phone support available for extra fee? If no, what is the typical time to get an answer?

No, we don’t give phone support. We mostly answer questions in our Customers Forum within the first day they are made.


I hope that helps. :)

Posted: Saturday Jul 21st, 2012 at 7:33 am #19889

Hi Etienne.

I will be using a custom payment gateway so not sure how that would work with the signup forms? (I am getting a developer to integrate the gateway so pls tell me know if I don’t really need to worry about the forms then)

Your developer may find this helpful: http://www.primothemes.com/forums/viewtopic.php?f=36&t=3154

The code for the other gateways in s2Member Pro may also be helpful to your developer to integrate with the one you chose.

1) is free this membership type can post to the site but won’t have access to the post details (so can view the list but not the details – except their own).

You could achieve this with customization, it’s not something s2Member provides.

To let him post, you could give more WP capabilities to the s2Member level roles using a plugin like User Role Editor. http://wordpress.org/extend/plugins/user-role-editor/

To protect the post from being viewed by him, you will need to protect the post with an s2Member Level (the one paying users get) when it’s created, so only only paying users can view them.

2) this would be a paid membership option (monthly payment) with access to the post details, but I want to allow these members a one month trial membership with monthly payments resuming automatically unless they canel.

You can sell the subscription with a 1 month trial. You can see it in the PayPal buttons for subscriptions, for example. You’d need to have your gateway integration support this, of course.

Appologies if these are stupid r questions (just trying to wrap my head around things), and if they are answered in other posts pls direct me to them.

No problem! I hope my answers help you.

Awesome plugin! :)

Thanks for the kudos! :)

Posted: Saturday Jul 21st, 2012 at 7:22 am #19888

Hi Geert.

Customer A organises workshops. If written my own registration system (outside WP) for these workshops
– Can I automatically insert users into s2member with an api that I can integrate in my own registration system?
– Can I specify groups where the customer belongs to (with this api?)

The actual registration and account creation is handled by WordPress, but s2Member Pro does provide an API that makes user creation easier from another application. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Remote Operations API[/hilite]

Click to enlarge
[image_frame style="framed" width="663" height="400" align="center" alt="" title=""]http://d1v41qemfjie0l.cloudfront.net/s2member/uploads/pro-screen-remote-ops-api.jpg[/image_frame]

Here’s the example code from that documentation:
[hilite pre_code] API Scripting -> Remote Operations API`. */
/**/
$op["data"] = array (/**/
"user_login" => "johndoe22", /* Required. A unique Username. Lowercase alphanumerics/underscores. */
"user_email" => "johndoe22@example.com", /* Required. A valid/unique Email Address for the new User. */
"user_pass" => "456DkaIjsd!", /* Optional. Plain text Password. If empty, one will be generated. */
"first_name" => "John", /* Optional. First Name for the new User. */
"last_name" => "Doe", /* Optional. Last Name for the new User. */
"s2member_level" => "2", /* Optional. Defaults to Level #0 ( a Free Subscriber ). */
"s2member_ccaps" => "music,videos", /* Optional. Comma-delimited list of Custom Capabilities. */
"s2member_registration_ip" => "123.456.789.100", /* Optional. User's IP Address. If empty, s2Member will fill this upon first login. */
"s2member_subscr_gateway" => "paypal", /* Optional. User's Paid Subscr. Gateway Code. One of: (paypal|alipay|authnet|ccbill|clickbank|google). */
"s2member_subscr_id" => "I-DJASODJF8933J", /* Optional. User's Paid Subscr. ID. For PayPal®, use their Subscription ID, or Recurring Profile ID. */
"s2member_custom" => "example.com", /* Optional. If provided, should always start with your installation domain name ( i.e. $_SERVER["HTTP_HOST"] ). */
"s2member_auto_eot_time" => "2030-12-25", /* Optional. Can be any value that PHP's ``strtotime()`` function will understand ( i.e. YYYY-MM-DD ). */
"opt_in" => "1", /* Optional. A non-zero value tells s2Member to attempt to process List Servers that you've configured in the Dashboard area. */
"custom_fields" => array ("my_field_id" => "Some value."), /* Optional. An array of Custom Registration Field ID's, with associative values. */
"s2member_notes" => "Administrative notation. Created this User via API call.", /* Optional. Administrative notations. */
"notification" => "1", /* Optional. A non-zero value tells s2Member to email the new User/Member their Username/Password. */
/* The "notification" parameter also tells s2Member to notify the site Administrator about this new account. */
);
/**/
$result = trim (file_get_contents ("http://example.com/?s2member_pro_remote_op=1", false, stream_context_create (array ("http" => array ("method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => "s2member_pro_remote_op=" . urlencode (serialize ($op)))))));
/**/
if (!empty ($result) && !preg_match ("/^Error\:/i", $result) && is_array ($user = @unserialize ($result)))
echo "Success. New User created with ID: " . $user["ID"];
else
echo "API error reads: " . $result;
?>
[/hilite]

Customer B want something more complicated. He runs an electronic goods store and sell both to DIY users and professionals.

– amateur and professional users should be able to subscribe to a newsletter. Amateur users only need to specify their e-mail adres and professional users should provide more info (VAT number, companyname, etc)
– professional users should be validated by the site admin (approve membership)
– professional users will receive an e-mail with a password that they can use to login to the website (part of it)

You can integrate s2Member’s levels with lists in services like MailChimp or AWeber. Video » s2Member (API List Servers)

s2Member doesn’t have an account approval process. What you could do, though, is let the professional user register to a level below where the professional content is, so he won’t be able to see it until an admin reviews his account and upgrades it manually from his profile.

I hope that helps. :)

Posted: Saturday Jul 21st, 2012 at 7:02 am #19886

Hi Roderick.

Well, points 3 and 4 are also something you have to customize. You could protect each post, by default, with a custom capability, so the user will need to purchase the custom capability to view the post after creating it. Video » s2Member (Custom Capabilities)

But, although s2Member will take care of protecting the post from those that don’t have the proper access to it, the automatic assigment of that restriction is something you need to customize.

I hope that helps.

Posted: Saturday Jul 21st, 2012 at 6:49 am #19885

I also tried creating the s2-hacks.php as per http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604 and I received an error message about the header already being sent.

Make sure you don’t have spaces or line breaks outside the PHP tags. The very first and last things in your s2hacks.php file are [hilite mono][/hilite] respectively.

Can somebody please provide the actual code for displaying membership types in a dropdown? Somebody MUST have already done this.

Could you post the code you tried in the form and the hack, please? Thanks. :)

Posted: Saturday Jul 21st, 2012 at 6:44 am #19884

Hi Michael.

The pro-form is not a contact form. Could you explain what email you’re referring to?

Thanks.

Posted: Saturday Jul 21st, 2012 at 6:42 am #19883

Mike, did you read this article? It may have something that helps in your case: Knowledge Base » JW Player sample code not working

Posted: Saturday Jul 21st, 2012 at 6:40 am #19882

Hi Michael.

The affiliate coupons tracking doesn’t go into the user’s profile, it’s just there for you to use with your tracking software, whichever you choose to use, even a custom script coded by you or someone you hire.

Now, most customers won’t even be registered when the coupon is used, so there’s nothing except the user’s IP address to identify him, or you can load a script that’ll cookie the person using the tracking feature for these affiliate coupons.

Now when the person first logs in, if you cookied the person, you can pick this up and store the affiliate’s ID in the user’s profile in the usermeta table.

I hope this gives you some ideas on how to achieve what you want. :)

Posted: Saturday Jul 21st, 2012 at 6:31 am #19881

Yeah, the bbPress integration is not very advanced and still needs more work.

About the search results, are they now not showing results for content the the user doesn’t have access to? If they still do after your change in the Alt View Restriction setting, then try using the query conditional on them. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced Query Conditionals[/hilite]

About restricting access to threads in boards of different levels, the URI restriction would work if you can edit their permalinks to have some indicator of what board the thread is in, like: /community/thread-subject or /customers/thread-subject, then you can restrict /community/ at level 0 and /customers/ at level 1.

I hope that helps. :)

Posted: Saturday Jul 21st, 2012 at 6:20 am #19880

I know the button is being styled by the css, but I don’t see how the stylesheet can generate a button that isn’t set to be there in the plugin files?

That button is not just styled by the theme, it’s put there by the theme. It’s not an image, the whole button is a styled link ([hilite mono].button[/hilite] class). So try using the default theme as a test and see if the button’s still there. After you canfirm it, you can ask the theme developer how to not have it added anymore, I guess.

I hope that helps. :)

Posted: Friday Jul 20th, 2012 at 10:42 pm #19869

Hey, that’s great! You’re welcome. Thanks for the update. :)

I was thinking that something like this in s2hacks.php would be enough:

[hilite pre_code]

[/hilite]

And it’s possible that it may be better to not use [hilite mono]$_GET[/hilite] to avoid someone giving a different value for in the URL.

Posted: Friday Jul 20th, 2012 at 10:13 pm #19868

Ah, got it.

Posted: Friday Jul 20th, 2012 at 7:37 am #19824

Ah okay. But was it the New User email that WP has or the one customized by s2Member?

Anyway, it’s a good thing that you can edit the email, so it’s not the same as other people’s.

And what solution did you find for the “from” header configuration?

Posted: Friday Jul 20th, 2012 at 7:31 am #19822

Hola Miguel.

That error is because the initial and regular period/amount are the same. PayPal doesn’t accept that.

What you can do is not use the initial payment if it’s really the same as the regular payments. Now, if you need it there to make possible a discount to on that initial payment only, and not the rest of the payments, then you can either change the amount by 1 cent so they’re not the same (e.g. instead of 10 say 9.99 or 10.01), or say the term in other words (e.g. instead of 1 year, say 12 months).

I hope that helps. :)

Posted: Friday Jul 20th, 2012 at 7:25 am #19821

Great! Glad you found the problem. Thanks for the update. :)

Posted: Friday Jul 20th, 2012 at 7:24 am #19820

Hi Dean.

p.s. Possible suggestions for future upgrades.
A window to type in pages that I want to show, anything/everything else will be redirected.

You mean a sort of whitelist approach? I.e. “everything is restricted except for…”

If I type in http://www.cheatingsupport.com/aaa I get a “page not found” with my bp page widgets area showing. I need all “page not found” pages to be redirected.

Does /aaa exist in your site or was that just an example of a non-existent page to show us the message? If it’s a 404, then it’s not something s2Member deals with. You’ll need a plugin that lets you customize the 404 message or redirect the user. If it does exist and you get that 404 message, maybe you need to check your permalink settings.

I hope that helps. :)

Posted: Friday Jul 20th, 2012 at 7:17 am #19819

That’s great to know. Thanks for the update. :)

I’ll let Jason know your observation about the description, too.

Thanks!

Viewing 25 replies - 4,851 through 4,875 (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.