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.

Home Forums Bruce

Bruce

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 1,176 through 1,200 (of 2,703 total)
Author Replies
Author Replies
Posted: Friday Apr 26th, 2013 at 1:19 am #48427
Bruce
Username: Bruce
Staff Member

how long will it be until the next release of S2 member?

We don’t have a solid release date for this at the current time, sorry. It would be best to start your project using the current release of s2Member.

Posted: Friday Apr 26th, 2013 at 1:17 am #48426
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Do you have s2Member Pro installed? If you do and it’s still not working, then please send us a Dashboard Login so we can take a look.

You can send that information here: s2Member® » Private Contact Form

Posted: Friday Apr 26th, 2013 at 1:15 am #48425
Bruce
Username: Bruce
Staff Member

generated the button on ‘Button Code Generator For Specific Post/Page Buttons’. Where I have to paste this code?

This should go on your Membership Options Page. s2Member blocks access to the whole post when you use Specific Post/Page Restrictions, and redirects to the Membership Options Page.

Posted: Friday Apr 26th, 2013 at 1:13 am #48424
Bruce
Username: Bruce
Staff Member

Could short codes be used to return the value true (1) for
a. every member – list of names
b. all members – aggregate, no names just a total number

Yes. If you use the s2Get shortcode, or alternatively the get_user_field() function, s2Member will return 1 if a checkbox is checked.

See: Knowledge Base » Simple Shortcode Conditionals

See Also: http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field()

Posted: Friday Apr 26th, 2013 at 1:02 am #48423
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

From my experience with s2Member freelance work, as well as my work with s2Member support, I can tell you that s2Member provides a very good basis for running a band website. I will note that s2Member does not come with a Profile system, so if you’re hoping to have your Users mingle on your site you’ll want to install BuddyPress with s2Member.

See: http://buddypress.org/

s2Member has a file downloads system that works with .mp3 and other audio file types, as well as native support for JW Player, which will allow you to have your Users play these files. You can sell access to download links to specific songs or albums and limit the number of files a User can download during a specific amount of time.

See: Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions

If you’d like more specific information regarding this, let us know what you want to know. :-)

Posted: Friday Apr 26th, 2013 at 12:56 am #48422
Bruce
Username: Bruce
Staff Member

Thank you for your thoughts.

We will take these into account in future version of s2Member. :-)

2. Doesn’t seem to delete the user from Mailchimp if an account is deleted
3. Turning off the “show subscribe checkbox” still sends out a Mailchimp confirmation email to the user and (if memory serves), user still has to double-opt in. I’m assuming that shouldn’t happen.

MailChimp won’t tell s2Member when a User is deleted, so there’s no way for s2Member to do that. As far as double opt-in goes, s2Member can only control the box that is displayed on your site. You can’t disable the opt-in message MailChimp sends through s2Member. I believe there is an option for this in MailChimp, though.

1. Just awful, looks simple enough to setup but doesn’t work. Currently using alternative $0.01 debit card method which isn’t ideal for lots of testing but works — I understand this is a PayPal issue and not a S2 Member one.

We normally suggest this method. PayPal Sandbox was just recently changed and it’s a bit different now. I think they’re still working on changing some things around, but last time I tried it (maybe a month ago) it still worked properly.

3. On the pro forms, when “Paypal” is selected, the credit card details still show? Maybe I’m doing something wrong but I would expect it to dynamically change to “sign into PayPal” or something.

It is supposed to change to a PayPal button when you select PayPal. Sounds like there is a JavaScript error on this page. Could you send us a link to your Pro Form?

Posted: Friday Apr 26th, 2013 at 12:52 am #48421
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

When user updates their profile a webhook is generated so we can run a script
As there is no webhook, how would we capture this action when form is filled and output as JSON?

As you mentioned, there are no API Notifications for Profile Edits, due to the fact that there are no WordPress hooks for Profile Edits. The closest you can get to a WordPress hook for profile edits is edit_user_profile_update, but that hook is only going to work for edits done within the WordPress Dashboard (so not at all).

I’d say the best way to handle this would be to use the s2Member Profile Modifications shortcode, and use the ws_plugin__s2member_during_handle_profile_modifications hook to see when a User changes something in their profile through the s2Member shortcode.

However, in order to make sure things run smoothly we’ll have to disable users from changing their email addresses so Mailchimp doesn’t freak out. How can we do this? (I guess you could hardcode the main profile form and disable input that way, but not particulary graceful).

You noted that email addresses could be used as Usernames. If you did it that way, WordPress won’t allow you to change it.

Is there an advised way of editing the signup/profile forms or are the only options to hardcode or use the defaults?
For instance, a basic thing may be: some custom user data on signup, but not have it display or editable in a users profile

You can use CSS, or you can overwrite this file that powers the Profile Modifications Pro Form:

/s2member/includes/classes/profile-mods-in.inc.php

Can we edit or add on validation rules that won’t be mess up the plugin’s default forms?
For instance, we want to only allow emails as usernames, clone the username in the email form, and validate both as emails

Yes, s2Member uses a JavaScript file (with PHP bits and pieces intermingled for security) to handle validations here:

/s2member/includes/s2member-min.js

The unminified file is in that directory as well.

Bulk update all user info manually or automatically, including all custom fields
Call 3rd party APIs, check what is out of sync (or not yet added), notify user, sync data

You can use s2Member’s Remote Operations API to change things about Users. You can find that here:

Dashboard -› s2Member® -› API / Scripting -› Remote Operations API

Outgoing information needs to be done through API Notifications.

See: Dashboard -› s2Member® -› API / Notifications
See Also: Knowledge Base » Building An API Notification Handler

I’m also considering using Zapier which looks like a great service to hook up different APIs, bit pricey but accepts webhooks. If we can get the profile form working, it could then be processed to any third party service.

It looks like you could set up s2Member with Zapier from the surface. I haven’t ever worked with it, though, so I can’t tell you for sure. If you’re going to work with it you’ll be working with s2Member’s API Notifications.

Posted: Wednesday Apr 24th, 2013 at 11:16 pm #48329
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

The best information for setting up Coupon Codes is in the documentation here:

Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File

This file controls coupons for both PayPal and Authorize.net Pro Forms. What do you have set up in your Configuration File? There may be an error in syntax we can help you with if you’re having issues.

Posted: Wednesday Apr 24th, 2013 at 11:12 pm #48328
Bruce
Username: Bruce
Staff Member

So, can someone tell me how to set up a simple renewal page for existing members? I’d also like to place a button on their profile that links to the renewal page but only show the button when they are within 2 weeks of the expiration (which is 13 months from the last date they paid).

You can have Users renew using these Pro Forms:

Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms

Depending on what you have set up in your Automatic End of Term settings, this will either extend your User’s End of Term date, or set it to 1 year after they paid, if you have them renew for 1 year.

See: Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior

Posted: Wednesday Apr 24th, 2013 at 11:09 pm #48327
Bruce
Username: Bruce
Staff Member

Does that go into the s2-hacks.php file? I assume I would need to update the “return ‘/absolute/path/to/my/custom/logs/dir’;” information with my information, correct?

Yes, this is where that code goes. You’ll also want to ensure that all files (excluding the .htaccess file) in your /s2member-files/ directory are gone from the directory for your security badge to turn green.

Posted: Wednesday Apr 24th, 2013 at 11:07 pm #48326
Bruce
Username: Bruce
Staff Member

2. I have a column of dates e.g. 11/14/09 – do those also need quotes? And if so how can I add the quotes to the dates column. If I try and convert like I did the text, it bungs up the dates. I’ve looked around for an answer online but none seem to work. I’m really hoping they just don’t need quotes!

To import Users you should ensure that all data fields are properly encapsulated by double-quotes, and separated by commas, as detailed here:

Knowledge Base » Import (or Mass Update) Users

That being said, s2Member should be able to parse non-encapsulated values, as long as they do not contain commas. I just tried this in a test installation and it seems to work just fine, but you may run into issues with this if you try anything too fancy. I’d recommend using quotes whenever possible.

Posted: Wednesday Apr 24th, 2013 at 11:01 pm #48324
Bruce
Username: Bruce
Staff Member

output=”anchor” Output Type. Possible values: anchor = ClickBank® Button ( anchor tag ) URL w/ ?query string, url = raw URL w/ ?query string.

am I on the right tracks?

This shouldn’t be necessary. You’re only going to send Users to your Register/Membership Options Page. So you’ll just need to set up your affiliate program to redirect to this URL after an affiliate directs a User to your site. You shouldn’t need anything fancy with your ClickBank buttons.

Posted: Wednesday Apr 24th, 2013 at 10:57 pm #48323
Bruce
Username: Bruce
Staff Member

I suppose system allow client login/redirect to Paypal then settle the payment. If I am wrong, please let me know how the paypal form integrate paypal account.

Yes, s2Member is supposed to redirect to PayPal when you choose PayPal to check out with with PayPal Pro Forms. Could you send us a Dashboard login so we can take a look? You can send it here:

s2Member® » Private Contact Form

Let us know here when you send the information. :-)

Posted: Wednesday Apr 24th, 2013 at 10:48 pm #48322
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member does not create profiles for Users, as s2Member’s meant more as a eCommerce platform for WordPress, and less as a social plugin. That being said, it sounds like you could use the integration of s2Member and BuddyPress to accomplish what you’re looking for. s2Member provides full integration with BuddyPress, and BuddyPress should be able to handle most everything you’ve listed above.

See: http://buddypress.org/

Posted: Wednesday Apr 24th, 2013 at 10:45 pm #48320
Bruce
Username: Bruce
Staff Member

…. yes it does. The attribute is for a lightbox script. I also set the inline extensions to alway play this type of video inline (webm)….. but s2m still pops-up the download conf mssg.

Thanks for the info. It sounds like your player might be clipping some information off of the URL or something wonky is going on between your lightbox and s2Member. I’d recommend trying to use the mod-rewrite version of the file URLs, which you can find here:

Dashboard -› s2Member® -› Download Options -› Advanced Mod-Rewrite Linkage

If it still does not work then, post a link to the page where this is happening and I’ll see if I can point out what’s causing this exactly.

Posted: Wednesday Apr 24th, 2013 at 10:42 pm #48319
Bruce
Username: Bruce
Staff Member

If i make the field blank, it will come up with the message, yet fill the field with the previous data (so it is not saving the new field anyway).

Yes, this is the method s2Member normally takes. This is to prevent an accidental deletion of data, as well as keeping Users from deleting required fields.

For the groupon issue. Here is what I assume we need to do:
1) import a coupon code batch that should give 100% discount. We can maintain the coupon codes ourselves if it is easy enough to do
2) Thanks for the link. There it mentions 2 options, and give the solution to the easier option, but mentions it is not so secure as the link can be passed around. It is also likely that a potential hacker can get access to those codes and be able to generate the URLs themselves? How would we know?

It is as insecure as having a coupon in your Pro Form that is usable by anyone. It accomplishes the same thing, as if you create a coupon it will be available to anyone as well.

If a coupon has been used, how do we prevent it from being used again?

s2Member doesn’t have this capability built in. It instead uses time-based coupon expiration. I’ve already talked with our development team about adding the capability to only have a coupon usable so many times, but we’re focused on working on the next major version of s2Member first. In this version we’ll work on this functionality later. In the mean time (for your free registration coupon code), you’ll have to have a database entry that tracks your used coupons, and disables coupons after they are used.

Posted: Wednesday Apr 24th, 2013 at 10:36 pm #48318
Bruce
Username: Bruce
Staff Member

Thanks I added this and seemed to have fixed. Not sure why it displayed with such gap but I guess this is the workaround?

This is different for different themes, so if that works for you you should be fine. :-)

Posted: Wednesday Apr 24th, 2013 at 10:34 pm #48317
Bruce
Username: Bruce
Staff Member

Thanks for the update.

Let us know if the problem comes back, and we’ll take a look.

Posted: Wednesday Apr 24th, 2013 at 10:33 pm #48316
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

No, s2Member’s Pro Forms don’t have the capablity to create blogs on signup. s2Member instead gives the ability to create a specified number of blogs based on the User’s role/level. You’ll have to have Users sign up first, then create their blog.

Posted: Tuesday Apr 23rd, 2013 at 7:41 pm #48230
Bruce
Username: Bruce
Staff Member

i know in http://www.s2member.com/forums/topic/is-ccbill-supported-or-not/ it says its still supported, but its an old post and still i am not able to find anything about CCbill being part of the free or the pro version.
Is it still part of any of them ?

ccBill is supported with s2Member Pro. We don’t advertise this integration too much, as we’re not actively expanding the integration with ccBill, and the integration does not support some of the features that s2Member makes possible with other payment gateways.

That being said, you can still turn on ccBill support with s2Member Pro here:

Dashboard -› s2Member® -› Other Gateways

Posted: Tuesday Apr 23rd, 2013 at 7:38 pm #48229
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

We can’t debug custom code, but I’d say the portion of this code you’re looking to edit is this line:

if (!is_page_permitted_by_s2member($int)) { // this is an s2member function. Check if the current user can access the $first_parent, via the stored page/post ID in the $int variable

You should need to replace the call to is_page_permitted_by_s2member() with something from this section of the docs:

Dashboard -› s2Member® -› API / Scripting -› Content Dripping

Could you please help? (I’ll be happy to pay someone to customize this code for me, I just don’t know anyone to do it)

That’s about as far as we can go with custom code. If you need further assistance, we recommend http://jobs.wordpress.net, http://elance.com/, http://odesk.com/, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.
Posted: Tuesday Apr 23rd, 2013 at 7:34 pm #48228
Bruce
Username: Bruce
Staff Member

1) Can i have different forms (and subscribe button) for the same membership level?

Absoultely. You can make as many different forms as you want, and s2Member can’t tell. s2Member only checks to see if the payment came from an s2Member form (or in the same format as expected from s2Member), and that the subscription is real. You could have one User sign up for $0.01 and one sign up for $999 and s2Member would not care.

2) Can I send automatic reminders when someones membership is due for renewal?

Not by default. I did write a little extension for s2Member that makes this possible for non-recurring subscriptions and Buy-Now transactions. It depends on s2Member setting the End of Term (EOT) date, so it doesn’t work for PayPal recurring subscriptions.

See: http://www.s2member.com/forums/topic/setting-up-eot-notifications/

3) Is there a shortcode to show the following info on a page for members: Date of registration, Date of membership expiration

You can use the s2Get Shortcode for this.

See: Knowledge Base » Simple Shortcode Conditionals

4) If we do increase pricing, how best to do it without inconveniencing members? I don’t want to say that we’ve increased our pricing, please unsubscribe and join again on the join-up page. Is there a way to create a button which unsubscribes the old membership and adds them to a new subscription – or one that upgrades the pricing of membership?

You can use these:

Dashboard -› s2Member® -› PayPal® Buttons -› Subscr. Modification Buttons
or these:
Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms

5) Can we integrate Groupon with subscription memberships?

s2Member doesn’t have an integration with Groupon. Sorry.

6) I’ve created custom profile fields on join up form. Some fields are required, so I’ve set this up. When a user is logged in, he is able to delete the contents of the required field and still able to save. Is this how it should work?

I believe s2Member checks for empty responses and saves the old value if it’s empty when you’re using the profile shortcode. Are you using the Shortcode here?

Dashboard -› s2Member® -› API / Scripting -› Member Profile Modifications

1) There is a one-off joining fee, and a yearly membership fee
2) In 2013, to promote more sales there is no membership fee, just a one-off joining fee..

In 2013, if people but through groupon, they should be able to join the site without needing to go through any checkout (I have seen this is possible through some customisation)

In 2014, if people use groupon, they should be able to register on the site but will checkout, having to pay the membership fee (either full or discounted rate – haven’t decided).

s2Member doesn’t have any integrations with Groupon at all, and I’m not familiar with its API. I can tell you that if you do integrate, then you can use the info here to allow Users to sign up without checkout.

See: Knowledge Base » Offering a Free Coupon Code (100% Discount)

Posted: Tuesday Apr 23rd, 2013 at 7:13 pm #48224
Bruce
Username: Bruce
Staff Member

I wonder if we get our merchant account switched from a EUR account to a USD account would it work?

No, I would say that’s probably not going to solve your issue. s2Member doesn’t integrate with Authorize.Net UK at all. We are working on looking at this, but I can’t give any specifics at this time, sorry. :-\

Posted: Tuesday Apr 23rd, 2013 at 7:10 pm #48223
Bruce
Username: Bruce
Staff Member

Could you give me some orientation on what you mean by custom code? Are you aware of any plugin or add-on that will do the trick?

I’m sorry but I’m not aware of any plugins or add-ons that would make this possible. I can tell you that if you decide to go with the custom code route you’re looking at using an edited version of this file:

/s2member/includes/classes/files-in.inc.php

I’d imagine the first thing you’d do is create the authentication routines for your Libsyn integration, and have s2Member grab the file if they pass the checks s2Member does in the first Function in this PHP Class. If you’re dealing with big files, you might need to have something done with chunked downloads, or maybe Libsyn handles this. I’m not experienced with Libsyn so I’m not sure what will be needed totally, but I imagine a developer familiar with Libsyn or s2Member would not have many problems integrating s2Member with Libsyn here.

Posted: Monday Apr 22nd, 2013 at 8:16 pm #48138
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member does not currently have the functionality you’re looking for built-in, but you could try having a developer set up a link with s2Member’s API Notifications and Remote Operations API.

s2Member’s API Notifications send data when things happen to Users, and Remote Operations do things based on information that’s sent to it.

See: Dashboard -› s2Member® -› API / Notifications -› Signup Notifications & Dashboard -› s2Member® -› API / Notifications -› Modification Notifications

See Also: Dashboard -› s2Member® -› API / Scripting -› Remote Operations API

Viewing 25 replies - 1,176 through 1,200 (of 2,703 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.